Author Topic: missing lib  (Read 6091 times)

pegasus

  • Guest
missing lib
« on: November 11, 2006, 03:33:05 pm »
hi everyone

i'm using the codeblocks:build Nov 10 2006 wx2.6.3 (windows unicode).

downloaded the mingw and wxWdigets 2.6.2 version and complied described here:

http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.2_to_develop_Code::Blocks_%28MSW%29

after that i compiled it with codeblocks. no problem till the point he tries to compile the scintilla ... parts. it says:

cannot find -lwxmsw26u

so, i looked for that lib in the wx project and it isn't there, but i did the steps described in the link i mentioned. could some help me?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: missing lib
« Reply #1 on: November 11, 2006, 05:13:53 pm »
It is under <wxfolder>/lib/<prefix>/, so for example D:\wxWidgets-2.6.3\lib\gcc_dll on my machine.
You may need to add that path to linker paths, and you will have to copy the dll to the executable folder after building (or to the Windows folder, or modify PATH).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

pegasus

  • Guest
Re: missing lib
« Reply #2 on: November 11, 2006, 07:10:22 pm »
i know :) i did that but the lib is not in that folder. i compiled wxWidgets like discribed in the link i gave, but after the compiling there isn't the library,  :shock: so, i don't know. any other ideas?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: missing lib
« Reply #3 on: November 11, 2006, 07:28:14 pm »
Well, that suggest that compiling wxWidgets was not successful (for whatever reason). I see no other possible explanation -- after a succesful build, it is there.

Have you looked at the compiler output after building wxWidgets? There are usually about 200,000 warnings, that's normal. However, if there is an error, then it should break and the error be visible as the last entry.
Did you make sure you have the requisites, in particular a recent enough make version?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

pegasus

  • Guest
Re: missing lib
« Reply #4 on: November 11, 2006, 07:51:15 pm »
no, there was no error, and a loooot of warnigs? and there was no error message at the end. all things looked good. so, i realy don't know what the problem is. maybe the makefile? but i don't think so, because you guys all work with them :). hmm i'm realy sad about that, because i want begin to develop for codeblock. i love that peace of program. it's great.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: missing lib
« Reply #5 on: November 11, 2006, 09:33:03 pm »
I have no idea if the following will help you, since you did not get an error.

I had to add dx80_mgw.zip to my MinGW directory
From http://www.mame.net/downmain.html
over wise I got this error.

../../src/msw/display.cpp:235: error: 'struct DDPIXELFORMAT' has no member named 'dwRGBBitCount'
mingw32-make: *** [gcc_mswudll\monodll_display.o] Error 1

Tim S


C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org