I am able to cross-compile using 64-bit toolchain successfully now. However, I am not able to verify the build result as I am still not able to get my hand on the RPI4 board locally yet. I would appreciate if someone who has the board now can help me to verify.
In order to get the 64-bit binary, checkout from “upgrade-toolchains” branch and build it like so:
I’ve been using Urho3D on Raspberry Pi 4 for awhile now using Raspbian Buster, works great, but I’ve only tried basic example code due to time constraints etc… Most of the samples work great.
Some things don’t work such as shadows and I do get segmentation faults when trying the Ninja Demo but that’s not such a big deal at the moment, apart from those minor issues there is no reason why you can’t create something.
I can’t quite remember everything I did but I didn’t change anything, followed the build tutorials using the Native build process.
[EDIT]
I tried again, the build now works, but I had to comment out line 43, 44, 45 of Urho3D/Source/ThirdParty/SDL/src/video/SDL_video.c due to a conflict.
I did not have to use any build scripts, I created a build folder and used cmake within the build folder followed by make and all seems to have built successfully.
Just placed an order for RPI4 8GB model B from a local store. I am looking forward to test the 64-bit build myself this weekend when the delivery is on time. I hope I will be able to lift the bone limit that I set for original RPI port many years ago.
EDIT: I have to put this on back burner. My local store just informed me they run out of stock.
Hello,
For the ones challenging this,
I would recommend taking a look at patches 002, 005 & 006 in:
My understanding is that newer RPi ecosystems already have the GPU support integrated in in Linux in a more standard way. Therefore no need to link to specific libraries.