Author Topic: Building C::B svn r11039 failure nativeparser undefined reference TiXmlNode  (Read 365 times)

Offline zaleksf

  • Single posting newcomer
  • *
  • Posts: 8
Hello:

I am running an up-to-date Debian Stretch x64 system. I have compiled wxWidgets 3.1.0 from source (after including the wxComboCtrl fix cee3188), configuring --with-gtk=3 and installed to /usr/local/ - all went well.

I downloaded the C::B svn trunk repos; ../configure --with-wx-config=/usr/local/bin/wx-config; and make. The compilation fails when attempting to link the nativeparser =>

---snip---
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/6/crtbeginS.o  .libs/ccoptionsdlg.o .libs/ccoptionsprjdlg.o .libs/cctreectrl.o .libs/classbrowser.o .libs/classbrowserbuilderthread.o .libs/codecompletion.o .libs/coderefactoring.o .libs/doxygen_parser.o .libs/gotofunctiondlg.o .libs/insertclassmethoddlg.o .libs/nativeparser.o .libs/nativeparser_base.o .libs/selectincludefile.o .libs/systemheadersthread.o parser/.libs/ccdebuginfo.o parser/.libs/cclogger.o parser/.libs/parser.o parser/.libs/parser_base.o parser/.libs/parserthread.o parser/.libs/parserthreadedtask.o parser/.libs/profiletimer.o parser/.libs/token.o parser/.libs/tokenizer.o parser/.libs/tokentree.o parser/.libs/searchtree.o parser/.libs/expression.o   -Wl,-rpath -Wl,/home/zaleksf/Apps/Development/CodeBlocks/build/src/sdk/.libs ../../sdk/.libs/libcodeblocks.so -L/usr/local/lib -lwx_gtk3u_aui-3.1 -lwx_gtk3u_propgrid-3.1 -lwx_gtk3u_richtext-3.1 -lwx_gtk3u_xrc-3.1 -lwx_gtk3u_html-3.1 -lwx_gtk3u_qa-3.1 -lwx_gtk3u_adv-3.1 -lwx_gtk3u_core-3.1 -lwx_baseu_xml-3.1 -lwx_baseu_net-3.1 -lwx_baseu-3.1 -lpthread -ldl -L/usr/lib/gcc/x86_64-linux-gnu/6 -L/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/6/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/6/crtfastmath.o /usr/lib/gcc/x86_64-linux-gnu/6/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crtn.o  -O2 -Wl,--no-undefined -pthread   -pthread -Wl,-soname -Wl,libcodecompletion.so -o .libs/libcodecompletion.so
.libs/nativeparser.o: In function `NativeParser::OnProjectLoadingHook(cbProject*, TiXmlElement*, bool)':
nativeparser.cpp:(.text+0xe93f): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
...more undefined reference failures...
---snip---

This seems to be related to tinyxml, which is installed (C::B configure does recognize it). Any thoughts on what I am missing are much appreciated.

Thanks in advance.

EDIT-UPDATE: I attempted to compile C::B using the standard Debian wxWigdets libraries (v3.0.2) and the exact same failure occurred.
« Last Edit: April 03, 2017, 12:59:07 pm by zaleksf »

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1414

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10118
bluehazzard: He is probably the same person.
<debugger plugin maintainer>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1414
oBFusCATed: I guessed it, i posted it so a other person can find this ;)