Closed enthus1ast closed 2 years ago
The problem is not present on arch linux. Further investigation is needed.
EDIT: lol the problem is with windows.h, it's not linux for sure
If you need me for testing let me know
@enthus1ast I invited you as a collaborator to the project. So here you would want to read a bit about HACKING. I made a PR https://github.com/greenfork/nimraylib_now/pull/51 that does name mangling for more names, you would want to get this branch and add more names as needed, then run nimble convert
to regenerate all the files and try to compile your example again. Eventually all conflicting symbols will be resolved.
You would also want to run nimble develop
in the project root to avoid reinstalling this package everytime.
Let me know if you need any help with that.
Another flavour of:
49
12
main.nim
moduler.nim
compile with:
nim c --threads:on main.nim
as soon a proc from raymath.h is used in the main.nim the c includes are in the wrong order (windows.h is moved above the raymath.h include):