Code::Blocks Forums

User forums => Help => Topic started by: kenv202 on November 21, 2012, 05:55:07 am

Title: WxWidgets Compiling Errors
Post by: kenv202 on November 21, 2012, 05:55:07 am
Hi I was following a simple wxWidgets tutorials and when i tried to compile this is my build logs error:


-------------- Build: Release in gui3 ---------------

Precompiling header: wx_pch.h
Compiling: resource.rc
Compiling: gui3Main.cpp
Compiling: gui3App.cpp
Linking executable: bin\Release\gui3.exe
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28u
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 4 seconds)
1 errors, 0 warnings
Title: Re: WxWidgets Compiling Errors
Post by: stahta01 on November 21, 2012, 07:00:21 am
Read link
http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef)

Most likely cause is you never compiled the wxWidgets library.

I strongly suggest turning on full compiler logging.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)

Tim S.  
Title: Re: WxWidgets Compiling Errors
Post by: kenv202 on November 21, 2012, 03:23:54 pm
problems resolved. than you

i just used wxpack