Raspberry Pi 4

For new and upcoming OpenMW branches and ports; move fast and break things!
langest
Posts: 7
Joined: 28 Jul 2019, 21:34

Re: Raspberry Pi 4

Post by langest » 25 Aug 2019, 16:39

Capostrophic wrote:
24 Aug 2019, 14:48
You're using upstream master OSG
Yes, ok.
I tried all of the suggestions
Capostrophic wrote:
24 Aug 2019, 14:48
OpenSceneGraph-3.6 branch or OpenMW/osg 3.4 branch (fork of 3.4.1) or the official 3.4.1 stable release
https://github.com/OpenMW/osg/tree/3.4
https://github.com/openscenegraph/OpenS ... raph-3.4.1
https://github.com/openscenegraph/OpenS ... eGraph-3.6

But I still get the same error.

Code: Select all

Linking CXX executable ../../openmw
/usr/bin/ld: ../../components/libcomponents.a(navmeshtilescache.cpp.o): undefined reference to symbol '[email protected]@LIBATOMIC_1.0'
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libatomic.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [apps/openmw/CMakeFiles/openmw.dir/build.make:3947: openmw] Error 1
make[1]: *** [CMakeFiles/Makefile2:699: apps/openmw/CMakeFiles/openmw.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

salvalie
Posts: 10
Joined: 15 Feb 2019, 17:31

Re: Raspberry Pi 4

Post by salvalie » 13 Sep 2019, 04:12

This is my test guys.

Advices

1 compile open scenograph because the default one on the repo havent opengl enabled
2 use the rpi4 flags because raspbian gcc has retrocompatilibily with rpi1..or use another gcc from other distro.
3 update mesa, but dont install it on your system... use a home prefix and just preload the libgl lib, because it creates some troubles installing it on the system... it will break your system and put you on software renderer.

https://youtu.be/uXyjlZFEJuY

salvalie
Posts: 10
Joined: 15 Feb 2019, 17:31

Re: Raspberry Pi 4

Post by salvalie » 13 Sep 2019, 14:25

The atomic thing tha you see on that error its related to retrocompatibility with armv6 rpi1, not openscenograph. Hope you achieve it to compioe! Set the rpi4 flags on cmake!

silentthief
Posts: 397
Joined: 18 Apr 2013, 01:20
Location: Currently traversing the Ascadian Isles

Re: Raspberry Pi 4

Post by silentthief » 13 Sep 2019, 14:46

We have another user who was compiling on Pi4, and they got it working.

Perhaps this thread can help? viewtopic.php?f=8&t=6134

ST the hopeful helper
"Hurry, hurry! Last boat to Solstheim! Until the next one. Hah-ha-hah."

Post Reply