User forums > Using Code::Blocks

Problem linking wxwidgets project

(1/1)

cyberkoa:
I try to create a wxWidget project , and try to compile to test .
I do not able to compile because could not find the wx/<files> .
Later , I add configure the compiler plugin and add in the compiler lib to my wxwidgets directory .
This time I try to compile , I get the following messenge, I am quite confirm that is the link library configuration problem.


--------------------------------------------------------------------------------
Switching to target: default
Compiling: main.cpp
Linking executable: C:\gui\wxWindows.exe
C:\MinGW\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw242
Process terminated with status 1 (0 minutes, 8 seconds)
0 errors, 0 warnings

If it is really the link library problem , how do I configure and how should I configure the link library .

cyberkoa:
sorry , I think I post to the wrong section.

I think I have got the answer from the troubleshooting section .

Navigation

[0] Message Index

Go to full version