Closed samfromcadott closed 2 years ago
It seems like removing -static --target=x86_64-w64-windows-gnu
gets rid of these errors, but also prevents cross compilation.
Hi, I get the same error in the following environment:
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: arm64-apple-darwin20.5.0
The m1 seems to make some problems it was necessary to add __aarch64__
:
From: #if defined(__x86_64__) || defined(__ppc64__)
To: #if defined(__x86_64__) || defined(__ppc64__) || defined(__aarch64__)
Would you be able to push up a Pull Request? Idd be happy to fix the upstream for this too.
Hi, also does the use of #define NK_INCLUDE_FIXED_TYPES
solve this problem.
With INCLUDE_FIXED_TYPES, I'm getting some conflicts when compiling the demos.
I've tweaked some of the defines. Mind having another look?
@RobLoach do you mean @samfromcadott ? Because I don't see relevant changes after my commit.
Moved some of the defines to above the header: https://github.com/RobLoach/raylib-nuklear/blob/master/include/raylib-nuklear.h#L43-L53
it works fine on my system
Thanks for checking!
I'm attempting to compile the example in the read me. I'm using Clang in Ubuntu (in WSL) and cross compiling to Windows. I get these errors when compiling: