Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie: How-to build Vdrift on Mac OS X (Leopard) from SVN?
04-04-2008, 08:44 AM,
#1
Newbie: How-to build Vdrift on Mac OS X (Leopard) from SVN?
Hi *,

I want to build a recent Vdrift from source on my Mac OS X (Leopard). This is what I did:

- checked out the source according to http://wiki.vdrift.net/Getting_the_development_version (got the revision 1975)
- found the README under vdrift/docs
- according to the instructions mentioned in the README opened vdrift/tools/osx/vdrift.xcodeproj in Xcode
- pressed the build button

result:
- building Vdrift fails with 12 errors:

Code:
Building target “vdrift” of project “vdrift” with configuration “Debug” — (12 errors)
        cd /Users/hjochim/Desktop/vdrift/tools/osx
    /Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -mdynamic-no-pic -DDEBUG=1 -DVERSION="development" -fmessage-length=0 -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.4 -gdwarf-2 -I/Users/hjochim/Desktop/vdrift/tools/osx/build/vdrift.build/Debug/vdrift.build/vdrift.hmap -F/Users/hjochim/Desktop/vdrift/tools/osx/build/Debug -F/Users/hjochim/Desktop/vdrift/tools/osx -I/Users/hjochim/Desktop/vdrift/tools/osx/build/Debug/include -I../../bullet-2.66/src -I../../include -ISDL.framework/Headers -I/Users/hjochim/Desktop/vdrift/tools/osx/build/vdrift.build/Debug/vdrift.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/pch-gtyotvboedjmxjbredyxwsrawsgp/pch.h -c /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp -o /Users/hjochim/Desktop/vdrift/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/i386/sound.o
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:10:31: error: vorbis/vorbisfile.h: No such file or directory
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp: In member function 'void SOUNDBUFFER::LoadOGG(const std::string&, const SOUNDINFO&)':
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:802: error: 'vorbis_info' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:802: error: 'pInfo' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:803: error: 'OggVorbis_File' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:803: error: expected `;' before 'oggFile'
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:805: error: 'oggFile' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:805: error: 'ov_open' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:807: error: 'ov_info' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:810: error: 'ov_pcm_total' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:824: error: 'ov_clear' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:840: error: 'ov_read' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:848: error: 'ov_clear' was not declared in this scope
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:10:31: error: vorbis/vorbisfile.h: No such file or directory
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:802: error: 'vorbis_info' was not declared in this scope
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:802: error: 'pInfo' was not declared in this scope
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:803: error: 'OggVorbis_File' was not declared in this scope
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:803: error: expected `;' before 'oggFile'
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:805: error: 'oggFile' was not declared in this scope
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:805: error: 'ov_open' was not declared in this scope
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:807: error: 'ov_info' was not declared in this scope
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:810: error: 'ov_pcm_total' was not declared in this scope
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:824: error: 'ov_clear' was not declared in this scope
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:840: error: 'ov_read' was not declared in this scope
        /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:848: error: 'ov_clear' was not declared in this scope
Build failed (12 errors)

Any hints for a newbie?
Thanks

hjochim
Reply
04-04-2008, 10:18 AM,
#2
 
It looks like you're missing the vorbis libraries. I'm not an OSX expert and don't know what to do to get them... I thought at one point they were included with the OSX project, but I dunno.
Reply
04-04-2008, 11:21 AM,
#3
 
joevenzon Wrote:I thought at one point they were included with the OSX project, but I dunno.

yes they are

hjochim Wrote:Any hints for a newbie?

do you by any chance have downloaded vdrift to a case sensitive filesystem (Case Sensitive HFS+ or UFS)?
if so does the problem go away when changing line 10 in sound.cpp from
#include <vorbis/vorbisfile.h>
to
#include <Vorbis/vorbisfile.h>
?
Reply
04-05-2008, 09:14 AM,
#4
 
abs1nth Wrote:do you by any chance have downloaded vdrift to a case sensitive filesystem (Case Sensitive HFS+ or UFS)?
if so does the problem go away when changing line 10 in sound.cpp from
#include <vorbis>
to
#include <Vorbis>
?

Yes, I use Leopard with case-sensitive HFS+ and I actually guessed you might suggest this one - as this kind of solution fixed my Audacity installation ;-)

So I tried this one prior to asking here in the forum. The result: It does not work - it produces even more errors:

Quote:Building target “vdrift” of project “vdrift” with configuration “Debug” — (55 errors, 1 warning)
cd /Users/hjochim/Desktop/vdrift/tools/osx
/Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -mdynamic-no-pic -DDEBUG=1 -DVERSION="development" -fmessage-length=0 -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.4 -gdwarf-2 -I/Users/hjochim/Desktop/vdrift/tools/osx/build/vdrift.build/Debug/vdrift.build/vdrift.hmap -F/Users/hjochim/Desktop/vdrift/tools/osx/build/Debug -F/Users/hjochim/Desktop/vdrift/tools/osx -I/Users/hjochim/Desktop/vdrift/tools/osx/build/Debug/include -I../../bullet-2.66/src -I../../include -ISDL.framework/Headers -I/Users/hjochim/Desktop/vdrift/tools/osx/build/vdrift.build/Debug/vdrift.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/pch-gtyotvboedjmxjbredyxwsrawsgp/pch.h -c /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp -o /Users/hjochim/Desktop/vdrift/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/i386/sound.o
In file included from /Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:27,
from /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:10:
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:26:21: error: ogg/ogg.h: No such file or directory
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:77: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:78: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:80: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:81: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:82: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:83: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:91: error: 'oggpack_buffer' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:100: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:101: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:180: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:185: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:188: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:189: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:190: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:194: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:198: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:201: warning: 'vorbis_synthesis_idheader' initialized and declared 'extern'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:201: error: 'ogg_packet' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:201: error: 'op' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:203: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:207: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:208: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:213: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:41: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:51: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:58: error: expected primary-expression before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:58: error: expected `)' before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:65: error: expected primary-expression before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:65: error: expected `)' before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:72: error: expected primary-expression before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:72: error: expected `)' before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:79: error: expected primary-expression before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:79: error: expected `)' before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:93: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:94: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:95: error: 'ogg_sync_state' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:100: error: ISO C++ forbids declaration of 'ogg_int64_t' with no type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:100: error: expected ';' before '*' token
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:101: error: ISO C++ forbids declaration of 'ogg_int64_t' with no type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:101: error: expected ';' before '*' token
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:103: error: ISO C++ forbids declaration of 'ogg_int64_t' with no type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:103: error: expected ';' before '*' token
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:110: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:118: error: 'ogg_stream_state' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:145: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:146: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:149: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:150: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:151: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:155: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:156: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:157: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:161: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:162: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp: In member function 'void SOUNDBUFFER::LoadOGG(const std:Confusedtring&, const SOUNDINFO&)':
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:810: error: 'ov_pcm_total' was not declared in this scope
from /Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:10:
In file included from /Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:27,
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:26:21: error: ogg/ogg.h: No such file or directory
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:77: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:78: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:80: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:81: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:82: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:83: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:91: error: 'oggpack_buffer' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:100: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:101: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:180: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:185: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:188: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:189: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:190: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:194: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:198: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:201: warning: 'vorbis_synthesis_idheader' initialized and declared 'extern'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:201: error: 'ogg_packet' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:201: error: 'op' was not declared in this scope
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:203: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:207: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:208: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/codec.h:213: error: 'ogg_packet' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:41: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:51: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:58: error: expected primary-expression before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:58: error: expected `)' before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:65: error: expected primary-expression before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:65: error: expected `)' before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:72: error: expected primary-expression before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:72: error: expected `)' before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:79: error: expected primary-expression before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:79: error: expected `)' before 'int'
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:93: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:94: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:95: error: 'ogg_sync_state' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:100: error: ISO C++ forbids declaration of 'ogg_int64_t' with no type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:100: error: expected ';' before '*' token
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:101: error: ISO C++ forbids declaration of 'ogg_int64_t' with no type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:101: error: expected ';' before '*' token
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:103: error: ISO C++ forbids declaration of 'ogg_int64_t' with no type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:103: error: expected ';' before '*' token
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:110: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:118: error: 'ogg_stream_state' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:145: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:146: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:149: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:150: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:151: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:155: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:156: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:157: error: 'ogg_int64_t' has not been declared
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:161: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/Vorbis.framework/Headers/vorbisfile.h:162: error: 'ogg_int64_t' does not name a type
/Users/hjochim/Desktop/vdrift/tools/osx/../../src/sound.cpp:810: error: 'ov_pcm_total' was not declared in this scope
Build failed (55 errors, 1 warning)
Reply
04-05-2008, 02:03 PM,
#5
 
hjochim Wrote:So I tried this one prior to asking here in the forum.

from the log it seems the thing you tried is changing line 10 in sound.cpp and not trying to build vdrift on a case insensitive volume, am i right?

i will try to reproduce/fix the case sensitivity problems on a case sensitive disk image, but if you need vdrift now, i suggest doing this in reverse and build vdrift on a case insensitive disk image ;-)

in any case it seems these problems exist in the official ogg/vorbis mac frameworks, so i shall report this to them in addition to fixing it in our tree.
Reply
04-06-2008, 11:02 AM,
#6
 
ok these problems should be gone in revision 1977, so you should be fine after an "svn update".
Reply
04-07-2008, 02:30 AM,
#7
 
*aargh* now I already did a full Mac OS X reinstall with case-insensitive HFS+ Smile
At least I can confirm that this problem existED with case-sensitive HFS+ :?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)