Compile error

90 views
Skip to first unread message

Diogo Leal

unread,
May 12, 2013, 9:11:57 AM5/12/13
to viole...@googlegroups.com

Hello,

I'm
having trouble compiling Violetland, anyone know fix this problem?


[root@Almarem build]#  cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DDATA_INSTALL_DIR=/usr/share/games/violetland ..
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Configuring done
-- Generating done
-- Build files have been written to: /home/diogo/Downloads/violetland-v0.4.3/build
[root@Almarem build]# make install
Scanning dependencies of target violetland
[  2%] Building CXX object CMakeFiles/violetland.dir/src/program.cpp.o
In file included from /usr/include/boost/filesystem.hpp:15:0,
                 from /home/diogo/Downloads/violetland-v0.4.3/src/program.cpp:32:
/usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
 #   error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
     ^
make[2]: *** [CMakeFiles/violetland.dir/src/program.cpp.o] Error 1
make[1]: *** [CMakeFiles/violetland.dir/all] Error 2
make: *** [all] Error 2


Толл Свириденко

unread,
May 12, 2013, 9:58:49 AM5/12/13
to viole...@googlegroups.com
Hi,

I don't know exectly, but I could guess that violetland require old boost version with BOOST_FILESYSTEM_VERSION = 2. See this link: http://www.boost.org/doc/libs/1_46_0/libs/filesystem/v3/doc/index.htm.

Regards,
Anatoliy


2013/5/12 Diogo Leal <m...@diogoleal.com>



--
 
---
You received this message because you are subscribed to the Google Groups "Violetland" group.
To unsubscribe from this group and stop receiving emails from it, send an email to violetland+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Adrián Chaves Fernández

unread,
May 12, 2013, 11:15:10 AM5/12/13
to viole...@googlegroups.com, Diogo Leal
Reply all
Reply to author
Forward
0 new messages