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

All examples currently require xgu source tweaking to compile #6

Open
Voxel9 opened this issue Jun 29, 2020 · 1 comment
Open

All examples currently require xgu source tweaking to compile #6

Voxel9 opened this issue Jun 29, 2020 · 1 comment

Comments

@Voxel9
Copy link
Owner

Voxel9 commented Jun 29, 2020

Since recent xgu changes (namely this commit), which removes inlining from xgu functions, some small source changes had to be manually added to both xgu header files before any example here could be compiled.

I've detailed the workaround in the readme, but as far as I can tell there's no way around this until the xgu functions are moved to proper .c source files.

@JayFoxRox
Copy link

JayFoxRox commented Jun 30, 2020

I assume this is about duplicated symbols from math.h (which includes xgu.h, in addition to each samples main.c).

It should work fine, as long as you only use/include XGU in one of the source files. This is my recommended workaround, because it will still work, even when XGU is improved.

This should hold true for most samples; it even holds true for my larger projects like Neverball.

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

2 participants