libtinyxml-dev TinyXml library - header and static library
.libs/nativeparser.o: In function `NativeParser::OnProjectLoadingHook(cbProject*, TiXmlElement*, bool)':
nativeparser.cpp:(.text+0xe81f): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
nativeparser.cpp:(.text+0xe837): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
nativeparser.cpp:(.text+0xe87f): undefined reference to `TiXmlNode::NextSiblingElement(char const*) const'
nativeparser.cpp:(.text+0xe896): undefined reference to `TiXmlElement::Attribute(char const*) const'
nativeparser.cpp:(.text+0xe8a6): undefined reference to `TiXmlElement::Attribute(char const*) const'
nativeparser.cpp:(.text+0xe8f3): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
nativeparser.cpp:(.text+0xe90d): undefined reference to `TiXmlElement::TiXmlElement(char const*)'
nativeparser.cpp:(.text+0xe918): undefined reference to `TiXmlNode::InsertEndChild(TiXmlNode const&)'
nativeparser.cpp:(.text+0xe92c): undefined reference to `TiXmlElement::~TiXmlElement()'
nativeparser.cpp:(.text+0xe954): undefined reference to `TiXmlNode::Clear()'
nativeparser.cpp:(.text+0xe996): undefined reference to `TiXmlElement::SetAttribute(char const*, char const*)'
nativeparser.cpp:(.text+0xe9e8): undefined reference to `TiXmlElement::TiXmlElement(char const*)'
nativeparser.cpp:(.text+0xe9f3): undefined reference to `TiXmlNode::InsertEndChild(TiXmlNode const&)'
nativeparser.cpp:(.text+0xea07): undefined reference to `TiXmlElement::~TiXmlElement()'
nativeparser.cpp:(.text+0xea85): undefined reference to `TiXmlElement::~TiXmlElement()'
Trying to get past this error by using "--disable-code-completion" in configuration.
$ uname -a
Linux debian 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64 GNU/Linux
Tim S.
I had to disable three core plugins for the same issue.
--disable-code-completion --disable-debugger --disable-projects-importer
.libs/envvars.o: In function `EnvVars::OnProjectLoadingHook(cbProject*, TiXmlElement*, bool)':
envvars.cpp:(.text+0x1f7f): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
envvars.cpp:(.text+0x1fa0): undefined reference to `TiXmlElement::Attribute(char const*) const'
envvars.cpp:(.text+0x2109): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
envvars.cpp:(.text+0x2121): undefined reference to `TiXmlNode::Clear()'
envvars.cpp:(.text+0x2261): undefined reference to `TiXmlElement::SetAttribute(char const*, char const*)'
envvars.cpp:(.text+0x22c0): undefined reference to `TiXmlElement::TiXmlElement(char const*)'
envvars.cpp:(.text+0x22cb): undefined reference to `TiXmlNode::InsertEndChild(TiXmlNode const&)'
envvars.cpp:(.text+0x22df): undefined reference to `TiXmlElement::~TiXmlElement()'
envvars.cpp:(.text+0x2391): undefined reference to `TiXmlElement::~TiXmlElement()'
Looks like I am going to uninstall libtinyxml-dev because I need the envvars plugin.
Tim S.
Still has the make error.
make[4]: Entering directory '/home/stahta01/devel/open_source_code/version_control/codeblocks_https_metadata-git/src/plugins/codecompletion'
/bin/bash ../../../libtool --tag=CXX --mode=link g++ -O2 -ffast-math -Winvalid-pch -fPIC -fexceptions -module -shared -version-info 0:1:0 -no-undefined -avoid-version -Wl,--no-undefined -o libcodecompletion.la -rpath /opt/codeblocks-git/lib/codeblocks/plugins ccoptionsdlg.lo ccoptionsprjdlg.lo cctreectrl.lo classbrowser.lo classbrowserbuilderthread.lo codecompletion.lo coderefactoring.lo doxygen_parser.lo gotofunctiondlg.lo insertclassmethoddlg.lo nativeparser.lo nativeparser_base.lo selectincludefile.lo systemheadersthread.lo parser/ccdebuginfo.lo parser/cclogger.lo parser/parser.lo parser/parser_base.lo parser/parserthread.lo parser/parserthreadedtask.lo parser/profiletimer.lo parser/token.lo parser/tokenizer.lo parser/tokentree.lo parser/searchtree.lo parser/expression.lo ../../sdk/libcodeblocks.la -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_aui-3.0 -lwx_gtk2u_propgrid-3.0 -lwx_gtk2u_richtext-3.0 -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lpthread -ldl
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/stahta01/devel/open_source_code/version_control/codeblocks_https_metadata-git/src/sdk/.libs -Wl,-rpath -Wl,/opt/codeblocks-git/lib ../../sdk/.libs/libcodeblocks.so -L/usr/lib/x86_64-linux-gnu -lwx_gtk2u_aui-3.0 -lwx_gtk2u_propgrid-3.0 -lwx_gtk2u_richtext-3.0 -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -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/../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+0xe81f): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
nativeparser.cpp:(.text+0xe837): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
nativeparser.cpp:(.text+0xe87f): undefined reference to `TiXmlNode::NextSiblingElement(char const*) const'
nativeparser.cpp:(.text+0xe896): undefined reference to `TiXmlElement::Attribute(char const*) const'
nativeparser.cpp:(.text+0xe8a6): undefined reference to `TiXmlElement::Attribute(char const*) const'
nativeparser.cpp:(.text+0xe8f3): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
nativeparser.cpp:(.text+0xe90d): undefined reference to `TiXmlElement::TiXmlElement(char const*)'
nativeparser.cpp:(.text+0xe918): undefined reference to `TiXmlNode::InsertEndChild(TiXmlNode const&)'
nativeparser.cpp:(.text+0xe92c): undefined reference to `TiXmlElement::~TiXmlElement()'
nativeparser.cpp:(.text+0xe954): undefined reference to `TiXmlNode::Clear()'
nativeparser.cpp:(.text+0xe996): undefined reference to `TiXmlElement::SetAttribute(char const*, char const*)'
nativeparser.cpp:(.text+0xe9e8): undefined reference to `TiXmlElement::TiXmlElement(char const*)'
nativeparser.cpp:(.text+0xe9f3): undefined reference to `TiXmlNode::InsertEndChild(TiXmlNode const&)'
nativeparser.cpp:(.text+0xea07): undefined reference to `TiXmlElement::~TiXmlElement()'
nativeparser.cpp:(.text+0xea85): undefined reference to `TiXmlElement::~TiXmlElement()'
collect2: error: ld returned 1 exit status
Makefile:684: recipe for target 'libcodecompletion.la' failed
make[4]: *** [libcodecompletion.la] Error 1
Tim S.
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/openfileslistplugin.o -Wl,-rpath -Wl,/home/stahta01/devel/open_source_code/version_control/codeblocks_https_metadata-git/src/sdk/.libs -Wl,-rpath -Wl,/opt/codeblocks-git/lib ../../sdk/.libs/libcodeblocks.so -L/usr/lib/x86_64-linux-gnu -lwx_gtk2u_aui-3.0 -lwx_gtk2u_propgrid-3.0 -lwx_gtk2u_richtext-3.0 -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -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/../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,libopenfileslist.so -o .libs/libopenfileslist.so
.libs/openfileslistplugin.o: In function `OpenFilesListPlugin::OnProjectOpened(CodeBlocksEvent&)':
openfileslistplugin.cpp:(.text+0x3e7c): undefined reference to `TiXmlDocument::TiXmlDocument()'
openfileslistplugin.cpp:(.text+0x402b): undefined reference to `vtable for TiXmlDocument'
openfileslistplugin.cpp:(.text+0x405e): undefined reference to `TiXmlNode::~TiXmlNode()'
openfileslistplugin.cpp:(.text+0x410c): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
openfileslistplugin.cpp:(.text+0x4124): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
openfileslistplugin.cpp:(.text+0x416a): undefined reference to `TiXmlElement::Attribute(char const*) const'
openfileslistplugin.cpp:(.text+0x4184): undefined reference to `TiXmlElement::Attribute(char const*) const'
openfileslistplugin.cpp:(.text+0x4255): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
openfileslistplugin.cpp:(.text+0x4293): undefined reference to `TiXmlElement::Attribute(char const*) const'
openfileslistplugin.cpp:(.text+0x4366): undefined reference to `TiXmlNode::NextSiblingElement() const'
openfileslistplugin.cpp:(.text+0x439f): undefined reference to `TiXmlNode::NextSiblingElement() const'
openfileslistplugin.cpp:(.text+0x447f): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
.libs/openfileslistplugin.o: In function `OpenFilesListPlugin::OnProjectClosed(CodeBlocksEvent&)':
openfileslistplugin.cpp:(.text+0x66e4): undefined reference to `TiXmlDocument::TiXmlDocument()'
openfileslistplugin.cpp:(.text+0x66eb): undefined reference to `TiXmlBase::condenseWhiteSpace'
openfileslistplugin.cpp:(.text+0x6757): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
openfileslistplugin.cpp:(.text+0x67e0): undefined reference to `TiXmlElement::TiXmlElement(char const*)'
openfileslistplugin.cpp:(.text+0x67ef): undefined reference to `TiXmlNode::InsertEndChild(TiXmlNode const&)'
openfileslistplugin.cpp:(.text+0x6801): undefined reference to `TiXmlElement::~TiXmlElement()'
openfileslistplugin.cpp:(.text+0x6825): undefined reference to `TiXmlElement::SetAttribute(char const*, char const*)'
openfileslistplugin.cpp:(.text+0x68a3): undefined reference to `TiXmlElement::SetAttribute(char const*, char const*)'
openfileslistplugin.cpp:(.text+0x6948): undefined reference to `TiXmlElement::TiXmlElement(char const*)'
openfileslistplugin.cpp:(.text+0x695a): undefined reference to `TiXmlNode::InsertEndChild(TiXmlNode const&)'
openfileslistplugin.cpp:(.text+0x6969): undefined reference to `TiXmlElement::~TiXmlElement()'
openfileslistplugin.cpp:(.text+0x6995): undefined reference to `TiXmlElement::SetAttribute(char const*, char const*)'
openfileslistplugin.cpp:(.text+0x6ab9): undefined reference to `vtable for TiXmlDocument'
openfileslistplugin.cpp:(.text+0x6aec): undefined reference to `TiXmlNode::~TiXmlNode()'
openfileslistplugin.cpp:(.text+0x6c43): undefined reference to `TiXmlElement::SetAttribute(char const*, char const*)'
openfileslistplugin.cpp:(.text+0x6e13): undefined reference to `TiXmlElement::~TiXmlElement()'
openfileslistplugin.cpp:(.text+0x6e46): undefined reference to `TiXmlElement::~TiXmlElement()'
.libs/openfileslistplugin.o: In function `TiXmlDocument::~TiXmlDocument()':
openfileslistplugin.cpp:(.text._ZN13TiXmlDocumentD2Ev[_ZN13TiXmlDocumentD5Ev]+0x3): undefined reference to `vtable for TiXmlDocument'
openfileslistplugin.cpp:(.text._ZN13TiXmlDocumentD2Ev[_ZN13TiXmlDocumentD5Ev]+0x2c): undefined reference to `TiXmlNode::~TiXmlNode()'
.libs/openfileslistplugin.o: In function `TiXmlDocument::~TiXmlDocument()':
openfileslistplugin.cpp:(.text._ZN13TiXmlDocumentD0Ev[_ZN13TiXmlDocumentD5Ev]+0x3): undefined reference to `vtable for TiXmlDocument'
openfileslistplugin.cpp:(.text._ZN13TiXmlDocumentD0Ev[_ZN13TiXmlDocumentD5Ev]+0x2b): undefined reference to `TiXmlNode::~TiXmlNode()'
collect2: error: ld returned 1 exit status
Makefile:544: recipe for target 'libopenfileslist.la' failed
make[3]: *** [libopenfileslist.la] Error 1
Tim S.
Now building Revision: 11063.
With
./configure --prefix=/opt/codeblocks-git --disable-open-files-list --with-contrib-plugins=all
Made it past the core plugins.
Edit: No idea why open-files-list failed; posted the error in prior post.
Edit2: Finished making all the contrib plugins without error.
Tim S.