Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: huzhongshan on December 01, 2006, 08:47:34 am

Title: problem: cannot find -lwxmsw26
Post by: huzhongshan on December 01, 2006, 08:47:34 am
i am newbie and just download ver svn3315.  I create a wxsmith project , and set some directory for wxwidgets. I use wxwidgets2.8. but in link step , it complains cannot find -lwxmsw26. I cannot find how to set the correct lib. in project->build options->linker->linker library , there is nothing. I add  libwxbase28.a etc in the linker library .
i want to know where can i change the -lwxmsw26?
Title: Re: problem: cannot find -lwxmsw26
Post by: dje on December 01, 2006, 09:49:12 am
Hi,

Quote
I cannot find how to set the correct lib. in project->build options->linker->linker library , there is nothing

Did you check the project and the target options ??

I did not test/know the impact but to add libraries, I put wxbase28 instead of libwxbase28.a

Dje
Title: Re: problem: cannot find -lwxmsw26
Post by: huzhongshan on December 04, 2006, 01:46:24 pm
I just want to NOT to use libwxmsw26. I donot know where to replace libwxmsw26 with  wxmsw28.
In link option , there is nothing in the listbox.
Title: Re: problem: cannot find -lwxmsw26
Post by: dje on December 04, 2006, 02:18:21 pm
On the Build options left, you have a tree.
At the top, you find the project build options and just below, you have the target specific build options such as debug.

That is why I said
Quote
project and the target

Did you check both project and target build options ?
By default, the first target is selected but if you select the project (tree root), you may see the guilty wxmsw26.

If you do not find the info on IHMs, you may search in the project cbp file.
It is a simple XML file that is quite simple to understand...

Dje