Author Topic: I've a problem when compile wxWidgets in windows.  (Read 3776 times)

jirawat

  • Guest
I've a problem when compile wxWidgets in windows.
« 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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: I've a problem when compile wxWidgets in windows.
« Reply #1 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.
Be a part of the solution, not a part of the problem.

jirawat

  • Guest
Re: I've a problem when compile wxWidgets in windows.
« Reply #2 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.