src Posted January 6, 2020 Report Share Posted January 6, 2020 Hello, I am trying to compile master branch cloned today but I get the Following error. I am on Debian latest release. This error appear only when the cmake option -DWITH_COREDEBUG is set at TRUE. Otherwise no problem if the debug mode is disabled the compilation is done correctly. Here my cmake configuration : git clone -b master https://github.com/trinitycore/trinitycore.git && mkdir build && cd build && declare -x CXXFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g3 -ggdb3 -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers -rdynamic" && declare -x CFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g3 -ggdb3 -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers -rdynamic" && cmake ../ -DSCRIPTS="dynamic" -DTOOLS=false -DWITH_COREDEBUG=true -DCMAKE_BUILD_TYPE=RelWithDebug -DCMAKE_CXX_FLAGS="-std=c++11 -O0" -DCMAKE_C_FLAGS="-msse3 -O3" && make install -j 40 Link to comment Share on other sites More sharing options...
Aokromes Posted January 6, 2020 Report Share Posted January 6, 2020 7 hours ago, src said: Hello, I am trying to compile master branch cloned today but I get the Following error. I am on Debian latest release. This error appear only when the cmake option -DWITH_COREDEBUG is set at TRUE. Otherwise no problem if the debug mode is disabled the compilation is done correctly. Here my cmake configuration : git clone -b master https://github.com/trinitycore/trinitycore.git && mkdir build && cd build && declare -x CXXFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g3 -ggdb3 -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers -rdynamic" && declare -x CFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g3 -ggdb3 -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers -rdynamic" && cmake ../ -DSCRIPTS="dynamic" -DTOOLS=false -DWITH_COREDEBUG=true -DCMAKE_BUILD_TYPE=RelWithDebug -DCMAKE_CXX_FLAGS="-std=c++11 -O0" -DCMAKE_C_FLAGS="-msse3 -O3" && make install -j 40 you don't compile on debug mode with DWITH_COREDEBUG Link to comment Share on other sites More sharing options...
src Posted January 7, 2020 Author Report Share Posted January 7, 2020 13 hours ago, Aokromes said: you don't compile on debug mode with DWITH_COREDEBUG Ok but is it normal than we can't compile with DWITH_COREDEBUG option set at true ? Link to comment Share on other sites More sharing options...
Recommended Posts