Citro2d is not being included?

Post Reply
iiCrazyQueenn
Posts: 2
Joined: Sun Feb 09, 2025 6:32 am

Citro2d is not being included?

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.

- Evelyn


User avatar
fincs
( ͡° ͜ʖ ͡°)
Posts: 107
Joined: Mon Jul 12, 2010 9:45 pm
Location: Seville, Spain
Contact:

Re: Citro2d is not being included?

Post by fincs » Sun Feb 09, 2025 12:36 pm

Do you have citro2d installed?

Code: Select all

pacman -S citro2d

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.

Donate to devkitPro - help us stay alive!

iiCrazyQueenn
Posts: 2
Joined: Sun Feb 09, 2025 6:32 am

Re: Citro2d is not being included?

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.

- Evelyn


User avatar
fincs
( ͡° ͜ʖ ͡°)
Posts: 107
Joined: Mon Jul 12, 2010 9:45 pm
Location: Seville, Spain
Contact:

Re: Citro2d is not being included?

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?

Donate to devkitPro - help us stay alive!

iiCrazyQueenn
Posts: 2
Joined: Sun Feb 09, 2025 6:32 am

Re: Citro2d is not being included?

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

Code: Select all

c:\devkitPro\msys2\usr\bin

, and

Code: Select all

C:\devkitPro\devkitARM\bin

. DEVKITPRO has

Code: Select all

/opt/devkitpro

and DEVKITARM has

Code: Select all

/opt/devkitpro/devkitARM

. Also idk if its relevant but theres also

Code: Select all

/opt/devkitpro/devkitPPC

under DEVKITPPC that was added when I intalled it.

- Evelyn


Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests