Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
TiXmlText causes auto-import linker errors
artoj:
--- Quote from: thomas on August 09, 2006, 09:46:01 pm ---I don't know what makes it fail for your plugin, but if you look at configmanager.cpp, line 992, you'll see that it does work fine for the main app. Hmm... no idea what to say really. :?
--- End quote ---
This works on the main DLL library i.e. libcodeblocks but it doesn't work in the main application. I just tested it. If I add "TiXmlDocument doc;" anywhere on the app.cpp the linker phase fails.
If I add the same line to any plugin (contrib/non-contrib) the linker phase fails.
I've tested it with GCC 3.4.2 and GCC 4.1.1 and they both fail.
If I use "TiXmlElement element("test");" the linking phase is passed without any errors.
I'm really lost here; I have no idea what is happening. :?
Could someone please try to reproduce this (on Windows).
Navigation
[0] Message Index
[*] Previous page
Go to full version