udoprog / c10t

A minecraft cartography tool
Other
226 stars 50 forks source link

CentOS w/ boost 1.41 fails #265

Closed uncovery closed 12 years ago

uncovery commented 12 years ago

I updated the CMakeLists.txt as instructed while having boost 1.41 installed, but I get the following:

[ 22%] Building CXX object src/engine/CMakeFiles/c10t-engine.dir/isometric_base.cpp.o In file included from /usr/include/boost141/boost/detail/lcast_precision.hpp:16, from /usr/include/boost141/boost/lexical_cast.hpp:31, from /home/minecraft/server/c10t/c10t/src/image/color.hpp:13, from /home/minecraft/server/c10t/c10t/src/image/image_operations.hpp:12, from /home/minecraft/server/c10t/c10t/src/engine/engine_core.hpp:8, from /home/minecraft/server/c10t/c10t/src/engine/engine_base.hpp:5, from /home/minecraft/server/c10t/c10t/src/engine/isometric_base.hpp:4, from /home/minecraft/server/c10t/c10t/src/engine/isometric_base.cpp:1: /usr/include/boost141/boost/integer_traits.hpp:164:66: warning: use of C99 long long integer constant /usr/include/boost141/boost/integer_traits.hpp:164:77: warning: use of C99 long long integer constant /usr/include/boost141/boost/integer_traits.hpp:170:70: warning: use of C99 long long integer constant /usr/include/boost141/boost/integer_traits.hpp:170:70: warning: use of C99 long long integer constant /home/minecraft/server/c10t/c10t/src/engine/engine_core.hpp:14: warning: ‘class engine_core’ has virtual functions but non-virtual destructor /home/minecraft/server/c10t/c10t/src/fileutils.hpp: In function ‘std::string path_string(boost::filesystem::path)’: /home/minecraft/server/c10t/c10t/src/fileutils.hpp:17: error: conversion from ‘boost::filesystem::path’ to non-scalar type ‘std::string’ requested /usr/include/boost141/boost/system/error_code.hpp: At global scope: /usr/include/boost141/boost/system/error_code.hpp:208: warning: ‘boost::system::system_category’ defined but not used /usr/include/boost141/boost/system/error_code.hpp:209: warning: ‘boost::system::generic_category’ defined but not used /usr/include/boost141/boost/system/error_code.hpp:214: warning: ‘boost::system::posix_category’ defined but not used /usr/include/boost141/boost/system/error_code.hpp:215: warning: ‘boost::system::errno_ecat’ defined but not used /usr/include/boost141/boost/system/error_code.hpp:216: warning: ‘boost::system::native_ecat’ defined but not used make[2]: * [src/engine/CMakeFiles/c10t-engine.dir/isometric_base.cpp.o] Error 1 make[1]: * [src/engine/CMakeFiles/c10t-engine.dir/all] Error 2 make: *\ [all] Error 2

Sworddragon commented 12 years ago

c10t requires libboost 1.46 or higher.

uncovery commented 12 years ago

good to know. Maybe the readme should be updated then.

Sworddragon commented 12 years ago

This info is already in the README.md.

uncovery commented 12 years ago

Sorry, I read it here: https://github.com/udoprog/c10t/wiki/Building-on-linux

No in the readme.