User forums > Help

wxWidgets 2.6 (MSW, GCC) installation instructions

<< < (15/29) > >>

David Perfors:
it is possible to compile with msys, but than you have to use the linux method: ./configure && make
But it is easier to use the command prompt of windows.

S_O:
I read the wiki and I used command prompt.
But normal command prompt gives me exactly the same error message as msys:

--- Code: ---C:\wxWidgets-2.6.2\build\msw>C:\msys\1.0\bin\make -f makefile.gcc USE_XRC=1 SHAR
ED=1 MONOLITHIC=1 BUILD=release UNICODE=1 clean
if exist gcc_mswudll\*.o del gcc_mswudll\*.o
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist gcc_mswudll\*.d del gcc_mswudll\*.d
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxregexu.a del ..\..\lib\gcc_dll\libwxregexu.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxzlib.a del ..\..\lib\gcc_dll\libwxzlib.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxpng.a del ..\..\lib\gcc_dll\libwxpng.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxjpeg.a del ..\..\lib\gcc_dll\libwxjpeg.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxtiff.a del ..\..\lib\gcc_dll\libwxtiff.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxexpat.a del ..\..\lib\gcc_dll\libwxexpat.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxmsw26u_gcc_custom.dll del ..\..\lib\gcc_dll\wxmsw26
u_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u.a del ..\..\lib\gcc_dll\libwxmsw26u.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u.a del ..\..\lib\gcc_dll\libwxmsw26u.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxbase26u_gcc_custom.dll del ..\..\lib\gcc_dll\wxbase
26u_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxbase26u.a del ..\..\lib\gcc_dll\libwxbase26u.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxbase26u.a del ..\..\lib\gcc_dll\libwxbase26u.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxbase26u_net_gcc_custom.dll del ..\..\lib\gcc_dll\wx
base26u_net_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxbase26u_net.a del ..\..\lib\gcc_dll\libwxbase26u
_net.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxbase26u_net.a del ..\..\lib\gcc_dll\libwxbase26u
_net.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxmsw26u_core_gcc_custom.dll del ..\..\lib\gcc_dll\wx
msw26u_core_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_core.a del ..\..\lib\gcc_dll\libwxmsw26u_
core.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_core.a del ..\..\lib\gcc_dll\libwxmsw26u_
core.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxmsw26u_adv_gcc_custom.dll del ..\..\lib\gcc_dll\wxm
sw26u_adv_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_adv.a del ..\..\lib\gcc_dll\libwxmsw26u_a
dv.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_adv.a del ..\..\lib\gcc_dll\libwxmsw26u_a
dv.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxmsw26u_media_gcc_custom.dll del ..\..\lib\gcc_dll\w
xmsw26u_media_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_media.a del ..\..\lib\gcc_dll\libwxmsw26u
_media.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_media.a del ..\..\lib\gcc_dll\libwxmsw26u
_media.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxbase26u_odbc_gcc_custom.dll del ..\..\lib\gcc_dll\w
xbase26u_odbc_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxbase26u_odbc.a del ..\..\lib\gcc_dll\libwxbase26
u_odbc.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxbase26u_odbc.a del ..\..\lib\gcc_dll\libwxbase26
u_odbc.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxmsw26u_dbgrid_gcc_custom.dll del ..\..\lib\gcc_dll\
wxmsw26u_dbgrid_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_dbgrid.a del ..\..\lib\gcc_dll\libwxmsw26
u_dbgrid.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_dbgrid.a del ..\..\lib\gcc_dll\libwxmsw26
u_dbgrid.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxmsw26u_html_gcc_custom.dll del ..\..\lib\gcc_dll\wx
msw26u_html_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_html.a del ..\..\lib\gcc_dll\libwxmsw26u_
html.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_html.a del ..\..\lib\gcc_dll\libwxmsw26u_
html.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxmsw26u_qa_gcc_custom.dll del ..\..\lib\gcc_dll\wxms
w26u_qa_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_qa.a del ..\..\lib\gcc_dll\libwxmsw26u_qa
.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_qa.a del ..\..\lib\gcc_dll\libwxmsw26u_qa
.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxbase26u_xml_gcc_custom.dll del ..\..\lib\gcc_dll\wx
base26u_xml_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxbase26u_xml.a del ..\..\lib\gcc_dll\libwxbase26u
_xml.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxbase26u_xml.a del ..\..\lib\gcc_dll\libwxbase26u
_xml.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxmsw26u_xrc_gcc_custom.dll del ..\..\lib\gcc_dll\wxm
sw26u_xrc_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_xrc.a del ..\..\lib\gcc_dll\libwxmsw26u_x
rc.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_xrc.a del ..\..\lib\gcc_dll\libwxmsw26u_x
rc.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\wxmsw26u_gl_gcc_custom.dll del ..\..\lib\gcc_dll\wxms
w26u_gl_gcc_custom.dll
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_gl.a del ..\..\lib\gcc_dll\libwxmsw26u_gl
.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
if exist ..\..\lib\gcc_dll\libwxmsw26u_gl.a del ..\..\lib\gcc_dll\libwxmsw26u_gl
.a
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [clean] Error 2 (ignored)
/usr/bin/make -C ..\..\samples -f makefile.gcc CC="gcc" CXX="g++" CFLAGS="" CXXF
LAGS="" CPPFLAGS="" LDFLAGS="" SHARED="1" WXUNIV="0" UNICODE="1" MSLU="0" BUILD=
"release" DEBUG_INFO="default" DEBUG_FLAG="default" MONOLITHIC="1" USE_GUI="1" U
SE_HTML="1" USE_XRC="1" USE_OPENGL="0" USE_ODBC="0" USE_QA="0" USE_EXCEPTIONS="1
" USE_RTTI="1" USE_THREADS="1" OFFICIAL_BUILD="0" VENDOR="custom" WX_FLAVOUR=""
WX_LIB_FLAVOUR="" CFG="" CPPUNIT_CFLAGS="" CPPUNIT_LIBS="" RUNTIME_LIBS="dynamic
" GCC_VERSION="3" clean
make: *** ....samples: No such file or directory.  Stop.
make: *** [clean] Error 2

--- End code ---

Urxae:

--- Quote from: S_O on December 03, 2005, 01:03:22 am ---I read the wiki and I used command prompt.
But normal command prompt gives me exactly the same error message as msys:

--- Code: ---C:\wxWidgets-2.6.2\build\msw>C:\msys\1.0\bin\make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 clean
[...]

--- End code ---

--- End quote ---

You're still using the MSYS make. Don't do that, use the one that comes with MinGW (mingw32-make).

S_O:

--- Quote from: Urxae on December 03, 2005, 01:17:39 am ---You're still using the MSYS make. Don't do that, use the one that comes with MinGW (mingw32-make).

--- End quote ---
I yust downloaded mingw32-make (http://prdownloads.sf.net/mingw/mingw32-make-3.80.0-3.exe?download) and tried again, now the error is a little bit different:

--- Code: ---C:\wxWidgets-2.6.2\build\msw>c:\mingw\bin\mingw32-make -f makefile.gcc USE_XRC=1
 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 clean
if exist gcc_mswudll\*.o del gcc_mswudll\*.o
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
c:\mingw\bin\mingw32-make: [clean] Error 258 (ignored)
if exist gcc_mswudll\*.d del gcc_mswudll\*.d
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
c:\mingw\bin\mingw32-make: [clean] Error 258 (ignored)
if exist ..\..\lib\gcc_dll\libwxregexu.a del ..\..\lib\gcc_dll\libwxregexu.a
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
c:\mingw\bin\mingw32-make: [clean] Error 258 (ignored)
if exist ..\..\lib\gcc_dll\libwxzlib.a del ..\..\lib\gcc_dll\libwxzlib.a

....

c:/mingw/bin/mingw32-make -C ..\..\samples -f makefile.gcc CC="gcc" CXX="g++" CF
LAGS="" CXXFLAGS="" CPPFLAGS="" LDFLAGS="" SHARED="1" WXUNIV="0" UNICODE="1" MSL
U="0" BUILD="release" DEBUG_INFO="default" DEBUG_FLAG="default" MONOLITHIC="1" U
SE_GUI="1" USE_HTML="1" USE_XRC="1" USE_OPENGL="0" USE_ODBC="0" USE_QA="0" USE_E
XCEPTIONS="1" USE_RTTI="1" USE_THREADS="1" OFFICIAL_BUILD="0" VENDOR="custom" WX
_FLAVOUR="" WX_LIB_FLAVOUR="" CFG="" CPPUNIT_CFLAGS="" CPPUNIT_LIBS="" RUNTIME_L
IBS="dynamic" GCC_VERSION="3" clean
c:\mingw\bin\mingw32-make.exe: *** ....samples: No such file or directory.  Stop
.
c:\mingw\bin\mingw32-make: *** [clean] Error 2
--- End code ---

mandrav:
People here are trying to tell you that you must not use MSYS at all.
Downloading only make, is not going to help you. You 're still using GCC from MSYS...

If you want to use makefiles to build it, you *must* not use MSYS.
To use MSYS, try the "./configure" approach.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version