User forums > Using Code::Blocks

ld.exe cannot find -lwxmsw28u

(1/1)

mico:
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

Jenna:
Did you also add "$(#wx)\lib\gcc_dll" as search-directory for linker ?

dmsundaram:
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!!!

Jenna:

--- Quote from: dmsundaram on September 30, 2008, 12:49:15 pm ---Hi jens!
mico already completed your suggestion in step 3. Right?..

--- End quote ---
No, he did not.

--- Quote from: dmsundaram on September 30, 2008, 12:49:15 pm ---Your suggestion is for linker too. Am I right?

--- End quote ---
Not for linker too, but for linker.

--- Quote from: dmsundaram on September 30, 2008, 12:49:15 pm ---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!!!

--- End quote ---
No.
Read carefully, what I have posted and do it.

And if it really does not work, post again.

dmsundaram:
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.

Navigation

[0] Message Index

Go to full version