-
iiCrazyQueenn
- Posts: 3
- Joined: Sun Feb 09, 2025 6:32 am
Post
by iiCrazyQueenn » Sun Feb 09, 2025 6:54 am
(Beginner here) When I try to make the gpusprites examples, I get the error
Code: Select all
C:/devkitpro/examples/3ds/graphics/gpu/gpusprites/source/main.c:4:10: fatal error: citro2d.h: No such file or directory
Am I missing a step to set up citro2d? All of the examples from the "printing" folder I have tried have been working so far.
-
fincs
- ( ͡° ͜ʖ ͡°)
- Posts: 108
- Joined: Mon Jul 12, 2010 9:45 pm
- Location: Seville, Spain
-
Contact:
Post
by fincs » Sun Feb 09, 2025 12:36 pm
Do you have citro2d installed?
Also, you should not build the examples directly in the devkitPro folder, since that folder is managed by pacman and that can cause issues while updating our tools and libraries. You should copy the examples you want to build somewhere else, like your documents folder, and then build it from there.
-
iiCrazyQueenn
- Posts: 3
- Joined: Sun Feb 09, 2025 6:32 am
Post
by iiCrazyQueenn » Sun Feb 09, 2025 8:32 pm
It's telling me citro2D is up too date.
Code: Select all
warning: citro2d-1.6.0-1 is up to date -- reinstalling
I've tried reinstalling citro2d (and citro3d) and it still gives me the same error message.
Also thank you for the info, I'll build the projects using copies instead.
Last edited by
iiCrazyQueenn on Sun Feb 09, 2025 8:34 pm, edited 1 time in total.
-
fincs
- ( ͡° ͜ʖ ͡°)
- Posts: 108
- Joined: Mon Jul 12, 2010 9:45 pm
- Location: Seville, Spain
-
Contact:
Post
by fincs » Sun Feb 09, 2025 11:41 pm
How are you invoking make
, msys2 shell or some other shell? What do you have in your PATH
, DEVKITPRO
, DEVKITARM
environment variables when running make
?
-
iiCrazyQueenn
- Posts: 3
- Joined: Sun Feb 09, 2025 6:32 am
Post
by iiCrazyQueenn » Tue Feb 11, 2025 12:03 am
I'm invoking make with the windows command terminal. In my path environment variable, there's
, and
. DEVKITPRO has
and DEVKITARM has
. Also idk if its relevant but theres also
under DEVKITPPC that was added when I intalled it.
-
iiCrazyQueenn
- Posts: 3
- Joined: Sun Feb 09, 2025 6:32 am
Post
by iiCrazyQueenn » Sun Mar 16, 2025 9:39 pm
Does anyone have any ideas or fixes for this or am I just out of luck? Still have the same error, I've tried fully uninstalling the tools and reinstalling, I get the same issue still :/
-
WinterMute
- Site Admin
- Posts: 2052
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
-
Contact:
Post
by WinterMute » Mon May 26, 2025 3:10 pm
Show us the output of
and also the output of
Code: Select all
ls -al /opt/devkitpro/libctru/include
Who is online
Users browsing this forum: No registered users and 2 guests