Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Compile CB 25.03 from Source with tinyxml Problem
(1/1)
hesti:
Compiling Codeblocks 25.03 from source.
My system is a current MX Linux, so Debian at its core.
Unpack -> bootstrap -> configure -> make
Runs fine, but then the plugins in "contrib" aren't included.
./configure --with-contrib-plugins="all" --prefix=/usr
make
Runs fine, but stops because many error messages during linking look something like this:
AutoVersioning.cpp:(.text+0x81d3): undefined reference to `TiXmlElement::~TiXmlElement()'
make stops at some point. This could be a problem for me. The normal plugins and src/plugins
run normally, but not under src/plugins/contrib. The exact cause was that tinyxml wasn't linked during linking. Everything is fine with plugins. Not in plugins/contrib.
I'm sure this can only be my fault. If you have the same problem, feel free to use my workaround script. As usual, it's provided without any warranty.
Perhaps someone knows more about it and can share it.
Hesti
wtfisgoingoff:
./configure --with-contrib-plugins=all (I used this in Ubuntu. There are no quotation marks on both sides of all. I don't know if this is relevant. )
./configure --with-contrib-plugins="all" (yours)
stahta01:
Wild guess is the "tinyxml" package installed? Does it have an devel package?
I have no idea if it is better to have the package(s) installed or not installed!
Tim S.
hesti:
--- Quote from: wtfisgoingoff on April 14, 2025, 06:13:36 pm ---./configure --with-contrib-plugins=all (I used this in Ubuntu. There are no quotation marks on both sides of all. I don't know if this is relevant. )
./configure --with-contrib-plugins="all" (yours)
--- End quote ---
That's more or less the same thing. You can also specify individual packages there, like:
./configure --with-contrib-plugins="byogames AutoVersioning"
Besides, the packages (plugins) are compiled, otherwise there wouldn't be an error message. I imagine there's a switch that triggers this. It only affects the plugins under "src/plugins/contrib."
hesti:
--- Quote from: stahta01 on April 14, 2025, 07:37:02 pm ---Wild guess is the "tinyxml" package installed? Does it have an devel package?
I have no idea if it is better to have the package(s) installed or not installed!
Tim S.
--- End quote ---
Yes, tinyxml is already installed. The developer package is included. And others are using it. The plugins under "src/plugins" already use the package and compile flawlessly. After my mini-patch, everything runs smoothly. Only the -ltinyxml library specification is missing when linking.
Hesti
Navigation
[0] Message Index
Go to full version