Game Development Community

Hows our HEAD?

by Dreamer · in Torque Game Engine · 11/29/2005 (3:55 am) · 25 replies

Just wanted to start a single deffinitive (I hope) threadspace for getting 1.4 working under the various GCC versions in the wild at the moment.

As for me I'm all but giving up hope for awhile on getting 1.4 to compile on my SuSE linux box, under GCC4.
I would like to get this to at least compile on my Gentoo box which is running a much more modest.

gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

That said, this thing still doesn't compile off from a clean CVS.

Here is my first compile time error and I think the source of everything that follows
In file included from ../lib/xiph/include/ogg/ogg.h:24,
                 from ../lib/xiph/include/vorbis/codec.h:26,
                 from audio/vorbisStream.h:25,
                 from audio/audioBuffer.h:21,
                 from audio/audioDataBlock.h:13,
                 from audio/audio.h:13,
                 from audio/audio.cc:6:
../lib/xiph/include/ogg/os_types.h:123:32: ogg/config_types.h: No such file or directory

Here is the rest for posterity
In file included from ../lib/xiph/include/vorbis/codec.h:26,
                 from audio/vorbisStream.h:25,
                 from audio/audioBuffer.h:21,
                 from audio/audioDataBlock.h:13,
                 from audio/audio.h:13,
                 from audio/audio.cc:6:
../lib/xiph/include/ogg/ogg.h:55: error: syntax error before '*' token
../lib/xiph/include/ogg/ogg.h:72: error: 'ogg_int64_t' is used as a type, but
   is not defined as a type.
../lib/xiph/include/ogg/ogg.h:77: error: 'ogg_int64_t' is used as a type, but
   is not defined as a type.
../lib/xiph/include/ogg/ogg.h:90: error: 'ogg_int64_t' is used as a type, but
   is not defined as a type.
../lib/xiph/include/ogg/ogg.h:92: error: 'ogg_int64_t' is used as a type, but
   is not defined as a type.
../lib/xiph/include/ogg/ogg.h:184: error: syntax error before '(' token
In file included from audio/vorbisStream.h:25,
                 from audio/audioBuffer.h:21,
                 from audio/audioDataBlock.h:13,
                 from audio/audio.h:13,
                 from audio/audio.cc:6:
../lib/xiph/include/vorbis/codec.h:77: error: 'ogg_int64_t' is used as a type,
   but is not defined as a type.
../lib/xiph/include/vorbis/codec.h:78: error: 'ogg_int64_t' is used as a type,
   but is not defined as a type.
../lib/xiph/include/vorbis/codec.h:80: error: 'ogg_int64_t' is used as a type,
   but is not defined as a type.
../lib/xiph/include/vorbis/codec.h:81: error: 'ogg_int64_t' is used as a type,
   but is not defined as a type.
../lib/xiph/include/vorbis/codec.h:82: error: 'ogg_int64_t' is used as a type,
   but is not defined as a type.
../lib/xiph/include/vorbis/codec.h:83: error: 'ogg_int64_t' is used as a type,
   but is not defined as a type.
../lib/xiph/include/vorbis/codec.h:100: error: 'ogg_int64_t' is used as a type,
   but is not defined as a type.
../lib/xiph/include/vorbis/codec.h:101: error: 'ogg_int64_t' is used as a type,
   but is not defined as a type.
../lib/xiph/include/vorbis/codec.h:180: error: type specifier omitted for
   parameter 'ogg_int64_t'
../lib/xiph/include/vorbis/codec.h:180: error: syntax error before ')' token

Ok, so lets get this puppy rollin!
Page«First 1 2 Next»
#21
01/19/2007 (11:32 am)
Yeah Gary that's what you could conclude ;) But I have used winmerge for like eight times to compare my copy against the stock engine... So that's why I'm bit out of ideas here. :)
I can only think of few addional files that my copy has but they are only windows .exe's and the .svn directories.
But I guess I have just have to keep comparing...
#22
01/19/2007 (12:14 pm)
Well, I suspect you're working this backwards.

If your goal is to have your project the same as 1.5... why not just extract 1.5? Check that that works, before trying anything else :-)

Gary (-;
#23
01/20/2007 (1:08 am)
Gary, I actually said that fresh copy of 1.5 does build without problems. But my copy has only these additional files which are not listed in the make sources list.
But I guess I just have to build it up from 1.5 to avoid/find the problem, what ever that is. :)

Thanks for the support.
#24
01/22/2007 (11:22 am)
Ok I found the problem! basgram.cc was changed to BASgram.cc and the compiler didn't find it on linux because of that, causing all the errors. That's also why winmerge didnt find the difference between the files. :)
#25
01/22/2007 (12:40 pm)
Three cheers for case sensitivity!

Gary (-;
Page«First 1 2 Next»