User forums > Help
WxWidgets Project in Code::Blocks - ld.exe cannot find -lwxmsw30d
DarthVega7:
Hello,
I'm getting the error: ld.exe cannot find -lwxmsw30d when I try to build and run a wxwidgets project in code::blocks.
Please help?
Thanks,
- DV
stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
Post a build log or I will ignore you.
Edit: Link to wx info on CB wiki http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef
Tim S.
DarthVega7:
--- Code: ----------------- Build: Debug in wxTest (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -LC:\SourceCode\Libraries\wxWidgets3.0\lib\gcc_dll -o bin\Debug\wxTest.exe obj\Debug\wxTestApp.o obj\Debug\wxTestMain.o obj\Debug\resource.res -mthreads -lwxmsw30d -mwindows
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw30d
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
--- End code ---
stahta01:
Does the library exist inside your folder C:\SourceCode\Libraries\wxWidgets3.0\lib\gcc_dll ?
If not, then you need to change the project options or you need to build the missing library.
Tim S.
DarthVega7:
I'm sorry, I'm such a newb... How do I build the missing library?
Navigation
[0] Message Index
[#] Next page
Go to full version