Building 3ds physic example
Posted: Fri Jun 17, 2022 1:59 am
Hi !
I've been trying to build the physic 3ds example based on box2d.
I'll try to explain my train of thought.
It requires box2d so I cloned it from this repo.
I compiled it with the provided script, but it creates libs for my machine and not for 3ds hardware. (Adding the include folder and the generated libbox2d.a to the example Makefile result in an error.)
So I tried tinkering with the CMakeList.txt to force the use of arm-none-eabi-g++, but it (obviously) does't work and seems super hacky (pretty close to black magic).
What's the intended way to build this example ?
I've been trying to build the physic 3ds example based on box2d.
I'll try to explain my train of thought.
It requires box2d so I cloned it from this repo.
I compiled it with the provided script, but it creates libs for my machine and not for 3ds hardware. (Adding the include folder and the generated libbox2d.a to the example Makefile result in an error.)
So I tried tinkering with the CMakeList.txt to force the use of arm-none-eabi-g++, but it (obviously) does't work and seems super hacky (pretty close to black magic).
What's the intended way to build this example ?