Code::Blocks Forums

User forums => Help => Topic started by: bensoussan.michael on June 14, 2007, 11:58:46 am

Title: compile wxSmith
Post by: bensoussan.michael on June 14, 2007, 11:58:46 am
I i would like to compile wxSmith for C::B, but i've the following errors :

:: === wxSmith (Unix), wxSmith ===
ld:: cannot find -ltxml
:: === Build finished: 1 errors, 0 warnings ===


annyone has an idea ?

thx.
Title: Re: compile wxSmith
Post by: byo on June 14, 2007, 12:42:00 pm
You have to give some more informations: what OS, what revision ?
Title: Re: compile wxSmith
Post by: bensoussan.michael on June 14, 2007, 04:57:55 pm
i'm on ubuntu feisty
revision 4093

i opened the .cbp at the wxSmith directory and try to compile it from C::B (with gcc)
Title: Re: compile wxSmith
Post by: byo on June 15, 2007, 11:09:11 am
You may compile it using make, it works much better on Linux than through .cbp.

I haven't checked .cbp files on linux lately so they may be little bit outdated. And it may be little bit harder to run Code::Blocks built from .cbp than built using makefiles. But when you really want to use .cbp, make sure that you've compiled main codeblocks-unix.cbp first

Regards
   BYO
Title: Re: compile wxSmith
Post by: Biplab on June 15, 2007, 11:25:14 am
:: === wxSmith (Unix), wxSmith ===
ld:: cannot find -ltxml
:: === Build finished: 1 errors, 0 warnings ===

It is complaining about missing TinyXML library. Either it isn't built or linker can't find it. :)