Author Topic: ld.exe cannot find -lwxmsw28u  (Read 8006 times)

mico

  • Guest
ld.exe cannot find -lwxmsw28u
« 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: ld.exe cannot find -lwxmsw28u
« Reply #1 on: September 28, 2008, 12:26:01 am »
Did you also add "$(#wx)\lib\gcc_dll" as search-directory for linker ?

Offline dmsundaram

  • Single posting newcomer
  • *
  • Posts: 4
Re: ld.exe cannot find -lwxmsw28u
« Reply #2 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!!!
« Last Edit: September 30, 2008, 02:16:10 pm by dmsundaram »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: ld.exe cannot find -lwxmsw28u
« Reply #3 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.

Offline dmsundaram

  • Single posting newcomer
  • *
  • Posts: 4
Re: ld.exe cannot find -lwxmsw28u
« Reply #4 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.