Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Problem using TiXml inside Plugin

<< < (2/2)

byo:
This error has already been fixed ans all needed should be inside CVS :). It works fine with default .cbp project,  wx 2.6 has missing compiler dedfines for TiXml target but these can be easily taken from default project. After this change You have timl library just insided codeblocks.dll ready to use outside :)

DreadNot:
Yeah, I just got it and recompiled everything wx2.6.0.   The static lib seems to link with wxSmith just fine.

riban:
This is causing a problem. We use tinyxml in a wxsmith control plugin. The problem is that the compiler complains of multiple definitions of tinyxml references. The reason is that both codeblocks.dll and wxsmithlib.dll bind to tinyxml static libraries. I have found that, removing txml static library from the wxsmith project then compiling it (and wxsmith contrib) wxsmith compiles and works fine. This then allows us to link to both wxsmithlib.dll and codeblocks.dll without the errors. The problem became evident when we started to use tinyxpath (which we include the source in our project but exclude tinyxml source). However, we believe the problem was also present less obviously in that different modules were using the different calls to pass data and failing.

May I suggest that we lose the linking to txml static library in wxsmith?

We are using codeblocks 8.04 release and same source code.

Navigation

[0] Message Index

[*] Previous page

Go to full version