User forums > Help
Can't build wxWidgets 2.8.3
raph:
Please give us the exact commands you used and the error message.
Since if you haven't cygwin or msys installed, the error message should be different.
Furthermore it would be helpful to post the output of the
--- Code: ---path
--- End code ---
command.
Just for the case you don't know how to copy from the cmd.exe console:
Right click->Select Mark, mark the text with the left mouse button, press enter then the text is in the clipboard.
Regards
raph
David Perfors:
if you don't have msys or cygwin installed, you have to use mingw32-make instead of make
Outis:
Thanks for helping.
MSYS is installed (but shouldn't be in path), Cygwin isn't.
--- Code: ---D:\wxWidgets-2.8.4\build\msw>mingw32-make -f makefile.gcc
if not exist gcc_mswd mkdir gcc_mswd
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
mingw32-make: [gcc_mswd] Error 258 (ignored)
if not exist ..\..\lib\gcc_lib mkdir ..\..\lib\gcc_lib
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
mingw32-make: *** [..\..\lib\gcc_lib] Error 258
D:\wxWidgets-2.8.4\build\msw>
--- End code ---
--- Code: ---D:\wxWidgets-2.8.4\build\msw>path
PATH=c:\programme\imagemagick-6.3.0-q16;C:\Programme\Ctrl\WinAVR\bin;C:\Programm
e\Ctrl\WinAVR\utils\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
C:\Programme\Gemeinsame Dateien\Ulead Systems\MPEG;C:\Programme\Gemeinsame Datei
en\Ulead Systems\DVD;C:\Programme\Executive Software\DiskeeperLite\;"D:\program
files\";"c:\Programme\Ctrl\WinAVR\avrdude\avrdude.exe";C:\Programme\ATI Technolo
gies\ATI.ACE\;D:\Mingw\bin;E:\Programme\Wormux 0.7\bin <-- ;-)
--- End code ---
--- Quote ---Just for the case you don't know how to copy from the cmd.exe console:
Right click->Select Mark, mark the text with the left mouse button, press enter then the text is in the clipboard.
--- End quote ---
I know I since yesterday :)
stahta01:
--- Quote from: Outis on May 16, 2007, 04:47:22 pm ---Thanks for helping.
MSYS is installed (but shouldn't be in path), Cygwin isn't.
--- Code: ---D:\wxWidgets-2.8.4\build\msw>mingw32-make -f makefile.gcc
if not exist gcc_mswd mkdir gcc_mswd
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
mingw32-make: [gcc_mswd] Error 258 (ignored)
if not exist ..\..\lib\gcc_lib mkdir ..\..\lib\gcc_lib
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
mingw32-make: *** [..\..\lib\gcc_lib] Error 258
D:\wxWidgets-2.8.4\build\msw>
--- End code ---
--- Code: ---D:\wxWidgets-2.8.4\build\msw>path
PATH=c:\programme\imagemagick-6.3.0-q16;C:\Programme\Ctrl\WinAVR\bin;C:\Programm
e\Ctrl\WinAVR\utils\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
C:\Programme\Gemeinsame Dateien\Ulead Systems\MPEG;C:\Programme\Gemeinsame Datei
en\Ulead Systems\DVD;C:\Programme\Executive Software\DiskeeperLite\;"D:\program
files\";"c:\Programme\Ctrl\WinAVR\avrdude\avrdude.exe";C:\Programme\ATI Technolo
gies\ATI.ACE\;D:\Mingw\bin;E:\Programme\Wormux 0.7\bin <-- ;-)
--- End code ---
--- Quote ---Just for the case you don't know how to copy from the cmd.exe console:
Right click->Select Mark, mark the text with the left mouse button, press enter then the text is in the clipboard.
--- End quote ---
I know I since yesterday :)
--- End quote ---
Try the following commands in CMD window, note I am assuming wxWidgets in "D:\wxWidgets-2.8.4" and minGW in "D:\Mingw"
Tim S
--- Code: ---CD D:\wxWidgets-2.8.4\build\msw
SET PATH=D:\Mingw\bin;D:\Mingw\mingw32\bin
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 clean
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1
--- End code ---
Outis:
Well, it builds now, but:
--- Code: ---../../src/msw/version.rc:12:24: wx/version.h: No such file or directory
windres: gcc exited with status 1
mingw32-make: *** [gcc_mswudll\monodll_version_rc.o] Error 1
--- End code ---
wxWidgets can be annoying :(
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version