User forums > General (but related to Code::Blocks)

Differnet wxWidgets problem

<< < (2/3) > >>

TeddyKrulewich:
I found out where most of the errors were coming from before I moved them. So i put everything back how it was before I moved the files, then I coppied setup.h to C:/wxWidgets-2.6.3/include/wx , but I still get the cannot fine -lwxmsw26 error.

sethjackson:

--- Quote from: TeddyKrulewich on June 09, 2006, 03:00:21 am ---I found out where most of the errors were coming from before I moved them. So i put everything back how it was before I moved the files, then I coppied setup.h to C:/wxWidgets-2.6.3/include/wx , but I still get the cannot fine -lwxmsw26 error.

--- End quote ---

Hmm could you post what you have in your project linker options?

They can be found here:

Project -> Build options -> Directories -> Linker

TeddyKrulewich:
This is what it says:
wxmsw26

Edit:
Also, you helped me yesterday, and I told you I was using dev-cpp's compiler. I am not anymore I downloaded mingw.
The version is
GNU Make 3.80

And one more thing I'm not using them, but I have visual toolkit 2003 and ms vc++ express edition 2005. They work great with code::blocks.

TeddyKrulewich:
I got the wxWidget project to compile when I used the wizard. I was using the other thing instead before. That's strange isn't it? Only the wizard works. One question though. Is the program supposed to do nothing.

b2:
You may be use -lwxmsw instead.

There are libwxmsw26.a in my C:\wxWidgets-2.6.2\lib\gcc_lib directory,
but if it's name is libwxmsw.a you have to link with -lwxmsw not -lwxmsw26

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version