Code::Blocks Forums

User forums => Help => Topic started by: jirawat on June 11, 2007, 06:01:35 am

Title: I've a problem when compile wxWidgets in windows.
Post by: jirawat on June 11, 2007, 06:01:35 am
I read instructions from
http://wiki.codeblocks.org/index.php/Compiling_wxWidgets_2.6.1_to_develop_Code::Blocks_%28MSW%29
and do it step by step, but error has occured when I compile wxWidgets.

C:\wxWidgets-2.8.4\build\msw>mingw32-make -f makefile.gcc  MONOLITHIC=1 SHARED=1
 UNICODE=1 BUILD=release
if not exist gcc_mswudll mkdir gcc_mswudll
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
mingw32-make: [gcc_mswudll] Error 258 (ignored)
if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
mingw32-make: *** [..\..\lib\gcc_dll] Error 258

Anybody help me please.
Title: Re: I've a problem when compile wxWidgets in windows.
Post by: Biplab on June 11, 2007, 07:19:27 am
Remove any reference of MSYS from your system's PATH variable. Also use cmd.exe to compile wxWidgets.
Title: Re: I've a problem when compile wxWidgets in windows.
Post by: jirawat on June 11, 2007, 08:08:04 am
Thank Biplab, I'm not install MSYS but a problem is occur because WINAVR.
I've install WINAVR on my PC, WINAVR is AVR GCC compiler for atmel AVR mcu.
After I remove WINAVR from my system's PATH I can compile wxWidgets.

Thank again.