Latest GIT Version of CL does not build (Indexer specificall
Posted: Mon Jul 01, 2013 3:10 pm
I get this Linker error:
I use latest GIT on Ubuntu machine with wxWidgets repo version!
Code: Select all
Linking CXX executable ../../bin/codelite_indexer
CMakeFiles/codelite_indexer.dir/utils.cpp.o: In function `wxArrayString::Item(unsigned int)':
utils.cpp:(.text._ZN13wxArrayString4ItemEj[_ZN13wxArrayString4ItemEj]+0x49): undefined reference to `wxTrapInAssert'
utils.cpp:(.text._ZN13wxArrayString4ItemEj[_ZN13wxArrayString4ItemEj]+0x63): undefined reference to `wxTrapInAssert'
CMakeFiles/codelite_indexer.dir/pptable.cpp.o: In function `wxString::SubstrBufFromType<wchar_t const*>::SubstrBufFromType(wchar_t const* const&, unsigned int)':
pptable.cpp:(.text._ZN8wxString17SubstrBufFromTypeIPKwEC2ERKS2_j[_ZN8wxString17SubstrBufFromTypeIPKwEC5ERKS2_j]+0x60): undefined reference to `wxTrapInAssert'
pptable.cpp:(.text._ZN8wxString17SubstrBufFromTypeIPKwEC2ERKS2_j[_ZN8wxString17SubstrBufFromTypeIPKwEC5ERKS2_j]+0x7a): undefined reference to `wxTrapInAssert'
CMakeFiles/codelite_indexer.dir/pptable.cpp.o: In function `wxArgNormalizer<int>::wxArgNormalizer(int, wxFormatString const*, unsigned int)':
pptable.cpp:(.text._ZN15wxArgNormalizerIiEC2EiPK14wxFormatStringj[_ZN15wxArgNormalizerIiEC5EiPK14wxFormatStringj]+0x6c): undefined reference to `wxTrapInAssert'
CMakeFiles/codelite_indexer.dir/pptable.cpp.o:pptable.cpp:(.text._ZN15wxArgNormalizerIiEC2EiPK14wxFormatStringj[_ZN15wxArgNormalizerIiEC5EiPK14wxFormatStringj]+0x86): more undefined references to `wxTrapInAssert' follow
collect2: error: ld returned 1 exit status
make[2]: *** [bin/codelite_indexer] Error 1
make[1]: *** [sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/all] Error 2
make: *** [all] Error 2