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

Differnet wxWidgets problem

(1/3) > >>

TeddyKrulewich:
I think I got wxWidgets to compile, but I can't gett code::blocks to work with it. I fixed some of the problems by copying the include and lib files to my compiler directory, but I still get one error it says:
cannot find -lwxmsw26

Thanks.

sethjackson:

--- Quote from: TeddyKrulewich on June 09, 2006, 02:36:18 am ---I think I got wxWidgets to compile, but I can't gett code::blocks to work with it. I fixed some of the problems by copying the include and lib files to my compiler directory, but I still get one error it says:
cannot find -lwxmsw26

Thanks.

--- End quote ---

You don't need to copy those lib, and include files to your compiler directory.  :shock:

Put them back, and then tell C::B where you installed wxWidgets. :D

Oh BTW you really should try a nightly build if you haven't already done so.


TeddyKrulewich:
I got errors before I copied them. I had defined the global variable wx and set it to C:\wxWidgets-2.6.3
I also tried going into the compiler sttings and adding the paths of the include and
lib path, but it didn't work.
Am I doing this wrong?
Oh and also. I am currently using a nightly build.

sethjackson:

--- Quote from: TeddyKrulewich on June 09, 2006, 02:44:22 am ---I got errors before I copied them. I had defined the global variable wx and set it to C:\wxWidgets-2.6.3
Oh and also. I am currently using a nightly build.

--- End quote ---

Well I know it won't work after you copy them because C::B will be look in C:\wxWidgets-2.6.3 (or wherever you told C::B to look), and the files aren't there (because you moved them) so it won't be able to compile or link.

Anyways could you post the errors you get, and your project file (*.cbp)?

TeddyKrulewich:
I said it didn't work before I copied them not after. I am using the built in wxWidgets project, and I already posted the error, but I will post it again:
cannot find -lwxmsw26

Navigation

[0] Message Index

[#] Next page

Go to full version