Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: fix32.h: no such file or directory when trying to build the 3DS version #128

Closed
Awheelbarrow opened this issue May 24, 2022 · 3 comments

Comments

@Awheelbarrow
Copy link

I've been trying to get Fake-08 on my homebrewed 3DS and I managed to get real far as to building it from source. I installed pacman on my Pop!_OS machine and managed to set my devkitpro and devkitARM paths but make 3ds halts with the error:

Git_clones/fake-08/platform/3ds/../../source/graphics.h:7:10: fatal error: fix32.h: No such file or directory

7 | #include <fix32.h>

| ^~~~~~~~~

How can I go about fixing this? Where can I get this file and how can I configure it to have this library be included?

@jtothebell
Copy link
Owner

You need to clone the submodules as well: https://stackoverflow.com/a/4438292

@DPS2004
Copy link
Contributor

DPS2004 commented May 24, 2022

If you are building it yourself for 3ds, make sure use citro2d 1.5 instead of latest to avoid a screen tearing bug

@Awheelbarrow
Copy link
Author

Awheelbarrow commented May 24, 2022

If you are building it yourself for 3ds, make sure use citro2d 1.5 instead of latest to avoid a #106 (comment)

I installed citro2d 1.6 through pacman. I'm new to GitHub and building from source in general and I'm asking because I don't want to screw up.
Which is the more convenient way to downgrade my citro2d installation? Found some — from what I can tell — citro related files in /opt/devkitpro/libctru/lib and /opt/devkitpro/libctru/include. Do I have to remove them and get the 1.5 version from citro2d's GitHub repo or is there a simpler way to do it?
Thank you for your patience.

Edit: After intensive searching, I managed to find a mirror to the citro2d 1.5 version here: https://ddl.homebrew.cloud/devkitPro%20Mirror/other-stuff/citro3d-1.5.0-1-any.pkg.tar.xz
I simply replace the files in my opt folder with these. The code managed to get compiled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants