Report Compile or cmake problems in Help and Support Posted January 23, 2016 · Edited January 23, 2016 by Delirus Hi hope someone can help me out with a problem I got. Everytime I try to compile trinitycore on Debian 7.9 I got this error during boost check: Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed This is the full log of configuration: cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/server -DWITH_WARNINGS=1 -- Detected 64-bit platform -- UNIX: Using jemalloc -- UNIX: Using default configuration directory -- UNIX: Using default library directory -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/bin/gcc -- GCC: Enabled c++11 support -- GCC: Enabled C99 support -- GCC: SFMT enabled, SSE2 flags forced -- GCC: All warnings enabled -- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so -- Found OpenSSL headers: /usr/include -- Using mysql-config: /usr/bin/mysql_config -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so -- Found MySQL headers: /usr/include/mysql -- Found MySQL executable: /usr/bin/mysql -- Boost version: 1.51.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- program_options -- iostreams -- regex -- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM -- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed -- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so -- Include dir is: /usr/include -- Found git binary : /usr/bin/git * TrinityCore revision : f5bd7b903ccd 2016-01-23 13:30:07 +0100 (3.3.5 branch) * TrinityCore buildtype : Release * Install core to : /home/trinity/server * Install libraries to : /home/trinity/server/lib * Install configs to : /home/trinity/server/etc * Build world/auth : Yes (default) * Build with scripts : Yes (default) * Build map/vmap tools : No (default) * Build core w/PCH : Yes (default) * Build scripts w/PCH : Yes (default) * Show all warnings : Yes * Use coreside debug : No (default) * Show source tree : No (default) * Use GIT revision hash : Yes -- Using mysql-config: /usr/bin/mysql_config -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so -- Found MySQL headers: /usr/include/mysql -- Found MySQL executable: /usr/bin/mysql -- SCRIPT PREPARATIONS -> Prepared: Spells -> Prepared: Commands -> Prepared: Custom -> Prepared: World -> Prepared: Outdoor PVP Zones -> Prepared: Eastern Kingdoms -> Prepared: Kalimdor -> Prepared: Outland -> Prepared: Northrend -> Prepared: Events -> Prepared: Pet -- SCRIPT PREPARATION COMPLETE -- Configuring done -- Generating done -- Build files have been written to: /home/trinity/TrinityCore/build --------------------------------------------------------------------------------------------------------------------- This error and some before appears within compiling procress : UpdateFetcher.cpp:(.text._ZNSt8_Rb_treeISt4pairIN5boost10filesystem4pathEN13UpdateFetcher5StateEES6_St9_IdentityIS6_ENS4_11PathCompareESaIS6_EE16_M_insert_uniqueIRKS6_EES0_ISt17_Rb_tree_iteratorIS6_EbEOT_[_ZNSt8_Rb_treeISt4pairIN5boost10filesystem4pathEN13UpdateFetcher5StateEES6_St9_IdentityIS6_ENS4_11PathCompareESaIS6_EE16_M_insert_uniqueIRKS6_EES0_ISt17_Rb_tree_iteratorIS6_EbEOT_]+0x48): undefined reference to `boost::filesystem::path::filename() const' collect2: error: ld returned 1 exit status make[2]: *** [src/server/authserver/authserver] Error 1 make[1]: *** [src/server/authserver/CMakeFiles/authserver.dir/all] Error 2 I also have tryed to use other versions of boost 1.49 and 1.55 but I still got the same error Hope someone could help me there. Thank you
Compile or cmake problems
in Help and Support
Posted · Edited by Delirus
Hi hope someone can help me out with a problem I got.
Everytime I try to compile trinitycore on Debian 7.9 I got this error during boost check:
Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed
This is the full log of configuration:
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/server -DWITH_WARNINGS=1
-- Detected 64-bit platform
-- UNIX: Using jemalloc
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/bin/gcc
-- GCC: Enabled c++11 support
-- GCC: Enabled C99 support
-- GCC: SFMT enabled, SSE2 flags forced
-- GCC: All warnings enabled
-- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so
-- Found OpenSSL headers: /usr/include
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so
-- Found MySQL headers: /usr/include/mysql
-- Found MySQL executable: /usr/bin/mysql
-- Boost version: 1.51.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- program_options
-- iostreams
-- regex
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed
-- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so
-- Include dir is: /usr/include
-- Found git binary : /usr/bin/git
* TrinityCore revision : f5bd7b903ccd 2016-01-23 13:30:07 +0100 (3.3.5 branch)
* TrinityCore buildtype : Release
* Install core to : /home/trinity/server
* Install libraries to : /home/trinity/server/lib
* Install configs to : /home/trinity/server/etc
* Build world/auth : Yes (default)
* Build with scripts : Yes (default)
* Build map/vmap tools : No (default)
* Build core w/PCH : Yes (default)
* Build scripts w/PCH : Yes (default)
* Show all warnings : Yes
* Use coreside debug : No (default)
* Show source tree : No (default)
* Use GIT revision hash : Yes
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so
-- Found MySQL headers: /usr/include/mysql
-- Found MySQL executable: /usr/bin/mysql
-- SCRIPT PREPARATIONS
-> Prepared: Spells
-> Prepared: Commands
-> Prepared: Custom
-> Prepared: World
-> Prepared: Outdoor PVP Zones
-> Prepared: Eastern Kingdoms
-> Prepared: Kalimdor
-> Prepared: Outland
-> Prepared: Northrend
-> Prepared: Events
-> Prepared: Pet
-- SCRIPT PREPARATION COMPLETE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/trinity/TrinityCore/build
---------------------------------------------------------------------------------------------------------------------
This error and some before appears within compiling procress :
UpdateFetcher.cpp:(.text._ZNSt8_Rb_treeISt4pairIN5boost10filesystem4pathEN13UpdateFetcher5StateEES6_St9_IdentityIS6_ENS4_11PathCompareESaIS6_EE16_M_insert_uniqueIRKS6_EES0_ISt17_Rb_tree_iteratorIS6_EbEOT_[_ZNSt8_Rb_treeISt4pairIN5boost10filesystem4pathEN13UpdateFetcher5StateEES6_St9_IdentityIS6_ENS4_11PathCompareESaIS6_EE16_M_insert_uniqueIRKS6_EES0_ISt17_Rb_tree_iteratorIS6_EbEOT_]+0x48): undefined reference to `boost::filesystem::path::filename() const'
collect2: error: ld returned 1 exit status
make[2]: *** [src/server/authserver/authserver] Error 1
make[1]: *** [src/server/authserver/CMakeFiles/authserver.dir/all] Error 2
I also have tryed to use other versions of boost 1.49 and 1.55 but I still got the same error
Hope someone could help me there. Thank you