Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mico on September 27, 2008, 11:29:39 pm

Title: ld.exe cannot find -lwxmsw28u
Post by: mico on September 27, 2008, 11:29:39 pm
Hi,

I am new in using CB. I tried to use CB to make wxWidgets application.
1. I compiled wxWidgets. The directory of wxWidgets: c:\wxWidgets
2. Put wxWidgets directory as $(#wx)
3. Put $(#wx)\lib\gcc_dll\mswu as additional compiler search directories (so compiler can find wx/setup.h)
4. Create New Project, wxWidgets project
5. Then try to build
6. Got build error messages: ld.exe   cannot find -lwxmsw28u

how to solve this? I am using Windows XP Home, wxWidgets-2.8.8

regards,

Mico
Title: Re: ld.exe cannot find -lwxmsw28u
Post by: Jenna on September 28, 2008, 12:26:01 am
Did you also add "$(#wx)\lib\gcc_dll" as search-directory for linker ?
Title: Re: ld.exe cannot find -lwxmsw28u
Post by: dmsundaram on September 30, 2008, 12:49:15 pm
Hi jens!
mico almost follow correct thing which is mentioned in step 3.
Your suggestion is for linker too. Am I right?
I did the settings for both compiler and linker. But still I have the same issue.
Jens!..could you please explain little bit more!!!
Thanks a lot!!!
Title: Re: ld.exe cannot find -lwxmsw28u
Post by: Jenna on September 30, 2008, 01:13:11 pm
Hi jens!
mico already completed your suggestion in step 3. Right?..
No, he did not.
Your suggestion is for linker too. Am I right?
Not for linker too, but for linker.
I did the settings for both compiler and linker. But still I have the same issue.
Jens!..could you please explain little bit more!!!
Thanks a lot!!!
No.
Read carefully, what I have posted and do it.

And if it really does not work, post again.
Title: Re: ld.exe cannot find -lwxmsw28u
Post by: dmsundaram on September 30, 2008, 02:22:05 pm
ok. I try my best!!
And, Jens! I am newer to this C::B and widget platform so that I am asking this kind of base question.
Please bare with me. :(
Thanks for immediate reply.