0.27.0 on Arch doesn't build

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Locked
User avatar
Okulo
Posts: 672
Joined: 05 Feb 2012, 16:11

0.27.0 on Arch doesn't build

Post by Okulo »

Using yaourt to download OpenMW 0.27.0 from the AUR is going well, but it breaks during the building process:

Here's the last buncha lines I got from my terminal:

Code: Select all

[ 57%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/mwmechanics/repair.cpp.o
[ 58%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/mwmechanics/enchanting.cpp.o
[ 58%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/mwmechanics/pathfinding.cpp.o
[ 58%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/mwmechanics/security.cpp.o
[ 58%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/mwbase/environment.cpp.o
[ 58%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/main.cpp.o
[ 58%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/engine.cpp.o
In file included from /usr/include/bullet/LinearMath/btVector3.h:21:0,
                 from /usr/include/bullet/LinearMath/btMatrix3x3.h:19,
                 from /usr/include/bullet/LinearMath/btTransform.h:21,
                 from /usr/include/bullet/BulletCollision/CollisionShapes/btCollisionShape.h:19,
                 from /usr/include/bullet/BulletCollision/CollisionShapes/btConcaveShape.h:19,
                 from /usr/include/bullet/BulletCollision/CollisionShapes/btTriangleMeshShape.h:19,
                 from /usr/include/bullet/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h:19,
                 from /tmp/yaourt-tmp-tomk/aur-openmw/src/openmw-openmw-0.27.0/./components/nifbullet/bulletnifloader.hpp:29,
                 from /tmp/yaourt-tmp-tomk/aur-openmw/src/openmw-openmw-0.27.0/apps/openmw/engine.cpp:18:
/usr/include/bullet/LinearMath/btScalar.h:337:14: warning: ‘btInfinityMask’ defined but not used [-Wunused-variable]
  static  int btInfinityMask = 0x7F800000;
              ^
Linking CXX executable ../../openmw
/usr/bin/ld: cannot find -lMyGUI.OgrePlatform
collect2: error: ld returned 1 exit status
apps/openmw/CMakeFiles/openmw.dir/build.make:5344: recipe for target 'openmw' failed
make[2]: *** [openmw] Error 1
CMakeFiles/Makefile2:349: recipe for target 'apps/openmw/CMakeFiles/openmw.dir/all' failed
make[1]: *** [apps/openmw/CMakeFiles/openmw.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build openmw.
==> Restart building openmw ? [y/N]
==> -------------------------------

"/usr/bin/ld: cannot find -lMyGUI.OgrePlatform"? Yaourt should be taking care of the dependencies and both myGUI and Ogre are installed. Is it that -l in front of MyGUI.OgrePlatform?
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: 0.27.0 on Arch doesn't build

Post by scrawl »

There is currently a bug in Arch's MyGUI package. https://bugs.archlinux.org/task/37935?p ... ring=mygui
You could work around it by building mygui yourself.
User avatar
Okulo
Posts: 672
Joined: 05 Feb 2012, 16:11

Re: 0.27.0 on Arch doesn't build

Post by Okulo »

Will try that, thank you very much.
Locked