Game Development Community

Mingw not compiling

by kc_0045 · in Technical Issues · 10/08/2003 (4:38 pm) · 15 replies

Ok i followed the tut at http://www.garagegames.com/mg/forums/result.thread.php?qt=7526 but when i use the make cmd i get this

$ make
Makefile:17: ../mk/conf.GCC3.WIN32.mk: No such file or directory
../mk/conf.common.mk:30: warning: overriding commands for target 'out.GCC3.DEBUG/ljpeg'
targets.ljpeg.mk:62: warning: ignoring old commands for target 'out.GCC3.DEBUG/ljpeg'
../mk/conf.common.mk:30: warning: overriding commands for target 'out.GCC3.DEBUG/lpng'
targets.lpng.mk:30: warning: ignoring old commands for target 'out.GCC3.DEBUG/lpng'
../mk/conf.common.mk:30: warning: overriding commands for target 'out.GCC3.DEBUG/lungif'
targets.lungif.mk:18: warning: ignoring old commands for target 'out.GCC3.DEBUG/lungif'
../mk/conf.common.mk:30: warning: overriding commands for target 'out.GCC3.DEBUG/opengl2d3d'
targets.opengl2d3d.mk:39: warning: ignoring old commands for target 'out.GCC3.DEBUG/opengl2d3d'
../mk/conf.common.mk:30: warning: overriding commands for target 'out.GCC3.DEBUG/zlib'
targets.zlib.mk:27: warning: ignoring old commands for target 'out.GCC3.DEBUG/zlib'
--> Compiling lungif/gifalloc.c
make[1]: I.: Command not found
--> Compiling lungif/gif_err.c
make[1]: I.: Command not found
--> Compiling lungif/egif_lib.c
make[1]: I.: Command not found
--> Compiling lungif/dgif_lib.c
make[1]: I.: Command not found
--> Compiling ljpeg/jmemnobs.c
make[1]: I.: Command not found
--> Compiling ljpeg/jmemmgr.c
make[1]: I.: Command not found
--> Compiling ljpeg/jutils.c
make[1]: I.: Command not found
--> Compiling ljpeg/jquant2.c
make[1]: I.: Command not found
--> Compiling ljpeg/jquant1.c


and then the comping cmd errors go on for a while and at the very end i get
make[1]: I.: Command not found
--> Compiling lpng/pngerror.c
make[1]: I.: Command not found
--> Compiling lpng/png.c
make[1]: I.: Command not found
--> Compiling opengl2d3d/glu2d3d.cc
make[1]: I.: Command not found
--> Compiling opengl2d3d/opengl2d3d.cc
make[1]: I.: Command not found
make[1]: *** No rule to make target '../mk/conf.GCC3.WIN32.mk'. Stop.
make: *** [default] Error 2

any one no why? any thing well be help full,, thanks
kc_144

#1
10/15/2003 (3:15 pm)
Make[1]: I.: Command not found
#2
10/15/2003 (7:19 pm)
Well i was looking for more of a answer not just some words
#3
10/15/2003 (7:25 pm)
Kc, please type gcc -v and let me know the output. From the looks of things Mingw is not setup in your path.
#4
10/15/2003 (7:27 pm)
$ gcc -v
Reading specs from /mingw/lib/gcc-lib/mingw32/3.2.3/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c++,f77,objc --disable-win32-registry --disable-shared --enable-sjlj-exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)
thats it
#5
06/15/2004 (5:23 pm)
Im useing mingw and MSYS

ok i had this working a while ago then i reformatted now i cant get it running again :( when i try to compile i get this:

--> Compiling lpng/png.c
make[1]: gcc: Command not found
make[1]: *** [out.GCC2.DEBUG/lpng/png.obj] Error 127
make: *** [default] Error 2

Any ideas?
#6
06/15/2004 (5:39 pm)
Ya, I get this all the time, basically the MSYS installer sucks. To verify that it's the same issue - cd into /mingw, ls and see if it's empty. If so you'll need to manually change /etc/fstab to read something like this 'C:\MinGW /mingw' (obviously change the mingw path to where ever you've installed it).

-John
#7
06/15/2004 (6:41 pm)
All right its there hmm would it be that i installed msys before mingw? idk if this well help but heres what i got for runing dir in the mingw folder.

C:\MinGW>dir
Volume in drive C has no label.
Volume Serial Number is CC83-C70A

Directory of C:\MinGW

15/06/2004 06:14 PM .
15/06/2004 06:14 PM ..
15/06/2004 06:13 PM bin
15/06/2004 06:14 PM doc
15/06/2004 06:14 PM include
15/06/2004 06:14 PM lib
15/06/2004 06:13 PM mingw
15/06/2004 06:14 PM mingw32
15/06/2004 06:13 PM uninstall
0 File(s) 0 bytes
9 Dir(s) 10,835,361,792 bytes free
#8
06/15/2004 (7:23 pm)
Uninstall MinGW and MSYS

Install MinGW first, then install MSYS.. during the post install MSYS will find MinGW, answer YES to the question on making the link for you
#9
06/15/2004 (7:51 pm)
I've got to ask the obvious question: Did you run

make -f mk/configure.mk OS=WIN32 BUILD=RELEASE COMPILER=GCC3

in the torque top directory *before* you ran make? Looks like the compiler is following old configuration directives...

Ahhh, do you have any "old" TGE source trees in your path?
#10
06/15/2004 (8:37 pm)
Ya i did. im on win xp

"Ahhh, do you have any "old" TGE source trees in your path?" no i just downloading a clean head.

ib done this lots before just have problems seting it up again
#11
06/16/2004 (4:46 am)
I don't think you're following me. Try this:

-Open MSYS console.
-Type 'cd /mingw' (hit enter)
-You should now be in the /mingw directory
-Type 'ls' (hit enter)

If the ls command returns nothing then your mount is wrong. I get this every time I install MSYS regardless of the install order. When I check /etc/fstab the mingw mount is:

C\MinGW /mingw

Instead of:

C:\MinGW /mingw
-^

This happens consistently on Win2k.

-John
#12
06/26/2004 (12:19 am)
Thanks John, I had the same problem (except missing the "\") and that cleared it right up!

Any idea on how to get debugging to work in eclipse? eveytime I run the exe through the debugger, I get an error stating that the exe can't find main.cs, even though it is in the same dir.
#13
06/26/2004 (12:41 am)
Whelp, I got it to run properly. I had to set the debug working directory in the debugger properties. However, the engine will break on main(), but it won't break on breakpoints I set. Any ideas? If you can provide a link or two for this type of thing, I could probably keep from bothering you any more. ;) I simply don't know where to begin looking.
#14
05/24/2007 (10:56 am)
I get an error talking about Korean something

UTF16 cannot convert to WCONST* in winWindow.cc

hrmmmm?
#15
05/24/2007 (3:09 pm)
I get this error:

Error I get:

platformWin32/winWindow.cc:1527: warning: invalid conversion from 'const UTF16*' to 'const WCHAR*'
make[1]: ***[out.GCC2.RELEASE/platformWin32/winWindow.obj] Error 1
make exited with status 2

Stuff I had to do to get that far:

Fixes I did to compile

I made gui/containers folder



added #define UNICODE to platformWin32.h in
C:\Torque\SDK\engine\platform



changed MIXERCONTROL volumeControl; in
C:\Torque\SDK\engine\platformWin32\winRedbook.css to
tagMIXERCONTROLW volumeContro


Also, wth is head? >.<