Game Development Community

Mingw and 1.4

by kc_0045 · in Torque Game Engine · 12/17/2005 (8:46 pm) · 16 replies

For some reason when I try to compile torque with Mingw i get the following error

Quote:

ompiling ljpeg/jquant1.c
--> Compiling ljpeg/jquant2.c
--> Compiling ljpeg/jutils.c
--> Compiling ljpeg/jmemmgr.c
--> Compiling ljpeg/jmemnobs.c
Creating library out.GCC3.RELEASE/ljpeg.a
--> Compiling lungif/dgif_lib.c
--> Compiling lungif/egif_lib.c
--> Compiling lungif/gif_err.c
--> Compiling lungif/gifalloc.c
Creating library out.GCC3.RELEASE/lungif.a
mkdir: cannot create directory 'out.GCC3.RELEASE/gui/containers': No such file or directory
make[1]: *** [out.GCC3.RELEASE/gui/containers] Error 1
make: *** [default] Error 2


I tryed downloading a clear copy of the source code and it still ends up the same, why is this? I cant figure it out.

#1
12/17/2005 (9:29 pm)
Have you tried the version in CVS?
#2
12/17/2005 (10:06 pm)
Yep, just downloaded it and it gives the same thing
#3
12/17/2005 (11:30 pm)
Tried making the desired directory and seeing if that eases it along? ;)
#4
12/18/2005 (12:47 am)
That seemed to have worked ^^ Thanks
#5
12/18/2005 (12:55 am)
Ok, Another error...how about this

Quote:

$ make
--> Compiling platformWin32/winCPUInfo.cc
In file included from platformWin32/winCPUInfo.cc:7:
platformWin32/platformWin32.h:12:7: #error "ERROR: You must have UNICODE defined in your preprocessor settings (ie, /DUNICODE) if you have TORQUE_UNICODE enabled in torqueConfig.h!"
make[1]: *** [out.GCC3.RELEASE/platformWin32/winCPUInfo.obj] Error 1
make: *** [default] Error 2



Edit: Nevermind...it seems to be working now... :P
Edit2:Ok...nevermind that last edit...any ideas?
#6
12/18/2005 (3:57 am)
...
#7
12/28/2005 (12:25 pm)
Allright, Just about got it all working...Just...How do I "Recompile the Theora, Vorbis, and Ogg libraries and place them (the *.a files) in the directory ../lib/xiph/win32/" ?? Im still rather shakey when it comes to using compilers, And how they work.
Thanks
#8
12/28/2005 (5:59 pm)
...
#9
12/28/2005 (7:50 pm)
Ok, one problem...Getting an error with the last one, libtheora-1.0alpha5
then i call the make function, it gives the following...

Quote:



C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2a8a):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:840: undefined reference to 'vorbis_info_cle ar'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2aa1):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:753: undefined reference to 'ogg_stream_flus h'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2b2f):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:722: undefined reference to 'vorbis_analysis _headerout'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2b45):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:723: undefined reference to 'ogg_stream_pack etin'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2b4e):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:725: undefined reference to 'ogg_stream_page out'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2ba8):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:733: undefined reference to 'ogg_stream_pack etin'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2bb1):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:734: undefined reference to 'ogg_stream_pack etin'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2bc8):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:682: undefined reference to 'vorbis_info_ini t'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2bfc):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:684: undefined reference to 'vorbis_encode_i nit_vbr'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2c12):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:693: undefined reference to 'vorbis_comment_ init'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2c27):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:694: undefined reference to 'vorbis_analysis _init'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2c36):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:695: undefined reference to 'vorbis_block_in it'
C:/DOCUME~1/wobs/LOCALS~1/Temp/ccWUbaaa.o(.text+0x2c7f):c:/temp_comp/libtheora-1 .0alpha5/examples/encoder_example.c:686: undefined reference to 'vorbis_encode_i nit'
make[2]: *** [encoder_example] Error 1
make[2]: Leaving directory '/c/temp_comp/libtheora-1.0alpha5/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/c/temp_comp/libtheora-1.0alpha5'
make: *** [all] Error 2





any ideas? thoose are just the last lines, Since there is Tons of other lines
#10
12/28/2005 (8:18 pm)
...
#11
12/28/2005 (9:09 pm)
Hmm, Allright now im getting things like

Quote:

reference to 'theora_decode_header'
out.GCC3.RELEASE/core/theoraPlayer.obj(.text+0x179b):theoraPlayer.cc: undefined reference to 'theora_decode_YUVout'
out.GCC3.RELEASE/core/theoraPlayer.obj(.text+0x1f2f):theoraPlayer.cc: undefined reference to 'theora_decode_packetin'
out.GCC3.RELEASE/core/theoraPlayer.obj(.text+0x1f46):theoraPlayer.cc: undefined reference to 'theora_granule_time'
make[1]: *** [out.GCC3.RELEASE/torqueDemo.exe] Error 1
make: *** [default] Error 2

is that cause of that error?, Ill try with an earily verson, If i can find one.
#12
12/28/2005 (9:18 pm)
...
#13
12/28/2005 (10:59 pm)
Odd...the libtheora-1.0alpha4 is still giving me problems....If you have them, could you email them to me?:P unless there huge...then dont bother.
#14
12/28/2005 (11:06 pm)
...
#15
12/29/2005 (12:27 am)
...
#16
12/29/2005 (9:08 am)
This would be a great TDN write-up!