Jump to content
TrinityCore

Compilation with debug mode is impossible


src
 Share

Recommended Posts

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.

image.thumb.png.ade9be08a867633fc09058bf268a6fb4.png

 

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

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.

image.thumb.png.ade9be08a867633fc09058bf268a6fb4.png

 

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

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...