Page 1 of 1
Citro2d is not being included?
Posted: Sun Feb 09, 2025 6:54 am
by iiCrazyQueenn
(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.
Re: Citro2d is not being included?
Posted: Sun Feb 09, 2025 12:36 pm
by fincs
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.
Re: Citro2d is not being included?
Posted: Sun Feb 09, 2025 8:32 pm
by iiCrazyQueenn
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.
Re: Citro2d is not being included?
Posted: Sun Feb 09, 2025 11:41 pm
by fincs
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
?
Re: Citro2d is not being included?
Posted: Tue Feb 11, 2025 12:03 am
by iiCrazyQueenn
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.