[2.8.10, Windows XP/cygwin, gcc] error making dialogs sample

4 views
Skip to first unread message

Daniel

unread,
Nov 7, 2009, 4:47:52 PM11/7/09
to wx-users
I used the gcc makefile when trying to make an example and I got some
errors:


Daniel@DANSHOME /cygdrive/c/wxWidgets-2.8.10/samples/dialogs
$ make
if not exist gcc_mswd mkdir gcc_mswd
make: C:WINDOWSsystem32cmd.exe: Command not found
make: [gcc_mswd] Error 127 (ignored)
g++ -c -o gcc_mswd\dialogs_dialogs.o -g -O0 -mthreads -DHAVE_W32API_H
-D__WXMSW
__ -D__WXDEBUG__ -I.\..\..\lib\gcc_lib\mswd -I.\..\..\include -
W -Wall -I
. -I.\..\..\samples -DNOPCH -Wno-ctor-dtor-privacy -MTgcc_mswd
\dialogs_dial
ogs.o -MFgcc_mswd\dialogs_dialogs.o.d -MD -MP dialogs.cpp
make: C:WINDOWSsystem32cmd.exe: Command not found
make: *** [gcc_mswd\dialogs_dialogs.o] Error 127


Thanks.

Vadim Zeitlin

unread,
Nov 7, 2009, 5:17:04 PM11/7/09
to wx-u...@googlegroups.com
On Sat, 7 Nov 2009 13:47:52 -0800 (PST) Daniel <danw...@gmail.com> wrote:

D> I used the gcc makefile when trying to make an example and I got some
D> errors:

You shouldn't use gcc makefiles which are meant to be used with DOS
command shell (command.com/cmd.exe) under Cygwin. You must use the usual
Unix way i.e. configure + make (recommended) or makefile.unx.

Please see the archives for many, many past discussions of this.

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/

Reply all
Reply to author
Forward
0 new messages