So im trying to get wxwidgets up and running with codeblocks. I have installed mingw I also compiled widgets My environment PATH variables have also been set up correctly
but whenever I try to build a wxWidgets project from code blocks i get the error
||=== Build: Release in test (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lwxmsw_core|
ld.exe||cannot find -lwxbase|
ld.exe||cannot find -lwxpng|
ld.exe||cannot find -lwxzlib|
||error: ld returned 1 exit status|
||=== Build failed: 5 error(s), 0 warning(s) (0 minute(s), 9 second(s)) ===|
You seem to have improperly configured the Linker.
You can get the linker settings using MSYS. Go to your wxwidgets folder and type this in MSYS: wx-config --libs > /c/settings.txt
. This will generate a text file in the C: drive with the linker settings. You can also use --cxxflags
to get the compiler settings.