The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




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


Messages In This Thread
Newbie: How-to build Vdrift on Mac OS X (Leopard) from SVN? - by hjochim - 04-04-2008, 08:44 AM
[No subject] - by joevenzon_phpbb2_import3 - 04-04-2008, 10:18 AM
[No subject] - by abs1nth - 04-04-2008, 11:21 AM
[No subject] - by hjochim - 04-05-2008, 09:14 AM
[No subject] - by abs1nth - 04-05-2008, 02:03 PM
[No subject] - by abs1nth - 04-06-2008, 11:02 AM
[No subject] - by hjochim - 04-07-2008, 02:30 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)