Compiling for ARM/Raspberry Pi
Posted: Wed Dec 23, 2020 5:59 pm
Hey everyone
I am currently using bullet for a game engine in C++. I am attempting to cross compile it for the rpi. I found some older discussions on here about doing it but they were 6 years ago and gave fairly vague answers as to how to do it.
I have bullet working on my current Ubuntu machine. I compiled Bullet from source and I am linking to the shared library files that were produced in the output and they are statically linked. There is probably a better way to do the build, I am not the most experienced with make or cmake so any advice in that area is appreciated as well.
My plan was to do a similar thing with a pi build, compile bullet using the arm g++ compiler, and statically link the shared library files when I compiled the engine. I am just not sure where to start with it. Like I said earlier, I am not super experienced with cmake and more complex building strategies for large C++ projects.
Thanks!
I am currently using bullet for a game engine in C++. I am attempting to cross compile it for the rpi. I found some older discussions on here about doing it but they were 6 years ago and gave fairly vague answers as to how to do it.
I have bullet working on my current Ubuntu machine. I compiled Bullet from source and I am linking to the shared library files that were produced in the output and they are statically linked. There is probably a better way to do the build, I am not the most experienced with make or cmake so any advice in that area is appreciated as well.
My plan was to do a similar thing with a pi build, compile bullet using the arm g++ compiler, and statically link the shared library files when I compiled the engine. I am just not sure where to start with it. Like I said earlier, I am not super experienced with cmake and more complex building strategies for large C++ projects.
Thanks!