Author Topic: compile wxSmith  (Read 3737 times)

bensoussan.michael

  • Guest
compile wxSmith
« 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.

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: compile wxSmith
« Reply #1 on: June 14, 2007, 12:42:00 pm »
You have to give some more informations: what OS, what revision ?

bensoussan.michael

  • Guest
Re: compile wxSmith
« Reply #2 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)

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: compile wxSmith
« Reply #3 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

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: compile wxSmith
« Reply #4 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. :)
Be a part of the solution, not a part of the problem.