I'm trying to compile PolyVox from
the GIT repository on BitBucket. I ran cmake and it generated the configuration without errors or warnings. Building however doesn't work when I run "make", and I get the following output:
Code:
mircea@linux-qz0r:/windows/D/OGRE/Polyvox_GIT/build> make
Scanning dependencies of target PolyVoxCore
[ 1%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/ArraySizes.cpp.o
[ 3%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/AStarPathfinder.cpp.o
[ 4%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/Log.cpp.o
[ 6%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/MeshDecimator.cpp.o
[ 7%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/Region.cpp.o
[ 9%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/SimpleInterface.cpp.o
[ 10%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/VertexTypes.cpp.o
[ 12%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/Impl/MarchingCubesTables.cpp.o
[ 13%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/Impl/RandomUnitVectors.cpp.o
[ 15%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/Impl/RandomVectors.cpp.o
[ 16%] Building CXX object library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/source/Impl/Utility.cpp.o
Linking CXX shared library libPolyVoxCore.so
c++: error: SONAME_FLAGlibPolyVoxCore.so.0: No such file or directory
make[2]: *** [library/PolyVoxCore/libPolyVoxCore.so.0.2.1] Error 1
make[1]: *** [library/PolyVoxCore/CMakeFiles/PolyVoxCore.dir/all] Error 2
make: *** [all] Error 2
mircea@linux-qz0r:/windows/D/OGRE/Polyvox_GIT/build>
This only happens if I set LIBRARY_TYPE to DYNAMIC in cmake, if I use STATIC everything compiles fine. But I need dynamic libraries for what I'm doing. This seems like an error in GIT so I'm posting it in the Bugs thread... if it's something on my end let me know what I did wrong.