Basic Getting Started Problem

View previous topic View next topic Go down

Basic Getting Started Problem

Post  wwalczak on Sun Mar 01, 2009 5:46 pm

I've been trying to get this SDK going, but am obviously missing something.

I've looked through the forum, and apologize if this is answered somewhere. Please point me to it.

I downloaded the SDK and tried compiling, result: 78 errors. None of the tutorials or template compiles.

I can't find a 'Getting Started' document. Or, any hint as to what to do to get this to work.

Help?! Please?!

wwalczak

Posts : 3
Join date : 2009-03-01

View user profile

Back to top Go down

Re: Basic Getting Started Problem

Post  sio2interactive on Sun Mar 01, 2009 5:51 pm

Heuuuuuuuu are you on windows cuz it should compile out of the box with the iPhone SDK 2.0+

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Basic Getting Started Problem

Post  wwalczak on Sun Mar 01, 2009 10:06 pm

Running Mac OS X 10.5.6, with the latest download of the iPhone SDK with the latest XCode.

I'm sure I'm just missing something small. Maybe I'm not running the right version of something, or don't have something required (are there other requirements outside of the iPhone SDK?).

Any thoughts??

I'm getting the following errors:


Building target “tutorial01” of project “template” with configuration “Debug” — (78 errors)
cd /Devel/SIO2_SDK_v1.3.3/tutorial01
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.0 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.1.sdk -L/Devel/SIO2_SDK_v1.3.3/tutorial01/build/Debug-iphonesimulator -F/Devel/SIO2_SDK_v1.3.3/tutorial01/build/Debug-iphonesimulator -filelist /Devel/SIO2_SDK_v1.3.3/tutorial01/build/template.build/Debug-iphonesimulator/tutorial01.build/Objects-normal/i386/tutorial01.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -o /Devel/SIO2_SDK_v1.3.3/tutorial01/build/Debug-iphonesimulator/tutorial01.app/tutorial01
ld warning: in /Library/Frameworks//OpenAL.framework/OpenAL, file is not of required architecture
Undefined symbols:
"_alIsSource", referenced from:
__wrap_alIsSource in sio2.o
"_alIsEnabled", referenced from:
__wrap_alIsEnabled in sio2.o
"_alSourceRewind", referenced from:
_sio2SoundRewind in sio2_sound.o
__wrap_alSourceRewind in sio2.o
"_alSourcePlay", referenced from:
_sio2SoundPlay in sio2_sound.o
__wrap_alSourcePlay in sio2.o
"_alSpeedOfSound", referenced from:
__wrap_alSpeedOfSound in sio2.o
"_alEnable", referenced from:
__wrap_alEnable in sio2.o
"_alSource3f", referenced from:
_sio2SoundSetFx in sio2_sound.o
__wrap_alSource3f in sio2.o
"_alSource3i", referenced from:
__wrap_alSource3i in sio2.o
"_alSourcefv", referenced from:
__wrap_alSourcefv in sio2.o
"_alSourceiv", referenced from:
__wrap_alSourceiv in sio2.o
"_alSourceStop", referenced from:
_sio2SoundStop in sio2_sound.o
__wrap_alSourceStop in sio2.o
"_alListenerf", referenced from:
__wrap_alListenerf in sio2.o
"_alListeneri", referenced from:
__wrap_alListeneri in sio2.o
"_alGetProcAddress", referenced from:
__wrap_alGetProcAddress in sio2.o
"_alcCreateContext", referenced from:
sio2InitAL() in sio2.o
"_alIsExtensionPresent", referenced from:
__wrap_alIsExtensionPresent in sio2.o
"_alGetDoublev", referenced from:
__wrap_alGetDoublev in sio2.o
"_alcMakeContextCurrent", referenced from:
sio2ShutdownAL() in sio2.o
sio2InitAL() in sio2.o
"_alGetListenerf", referenced from:
__wrap_alGetListenerf in sio2.o
"_alGetListeneri", referenced from:
__wrap_alGetListeneri in sio2.o
"_alBuffer3f", referenced from:
__wrap_alBuffer3f in sio2.o
"_alBuffer3i", referenced from:
__wrap_alBuffer3i in sio2.o
"_alSourceUnqueueBuffers", referenced from:
_sio2SoundUpdateStream in sio2_sound.o
__wrap_alSourceUnqueueBuffers in sio2.o
"_alBufferfv", referenced from:
__wrap_alBufferfv in sio2.o
"_alBufferiv", referenced from:
__wrap_alBufferiv in sio2.o
"_alGetInteger", referenced from:
__wrap_alGetInteger in sio2.o
"_alGenSources", referenced from:
_sio2SoundGenId in sio2_sound.o
__wrap_alGenSources in sio2.o
"_alGenBuffers", referenced from:
_sio2SoundBufferGenId in sio2_soundbuffer.o
_sio2SoundBufferGenId in sio2_soundbuffer.o
__wrap_alGenBuffers in sio2.o
"_alDopplerFactor", referenced from:
__wrap_alDopplerFactor in sio2.o
"_alBufferData", referenced from:
_sio2SoundBufferStream in sio2_soundbuffer.o
_sio2SoundBufferGenId in sio2_soundbuffer.o
__wrap_alBufferData in sio2.o
"_alSourcePausev", referenced from:
__wrap_alSourcePausev in sio2.o
"_alGetDouble", referenced from:
__wrap_alGetDouble in sio2.o
"_alGetEnumValue", referenced from:
__wrap_alGetEnumValue in sio2.o
"_alGetSourcef", referenced from:
__wrap_alGetSourcef in sio2.o
"_alGetSourcei", referenced from:
_sio2SoundUpdateState in sio2_sound.o
_sio2SoundUpdateStream in sio2_sound.o
_sio2SoundUpdateStream in sio2_sound.o
__wrap_alGetSourcei in sio2.o
"_alGetSource3f", referenced from:
__wrap_alGetSource3f in sio2.o
"_alGetSource3i", referenced from:
__wrap_alGetSource3i in sio2.o
"_alGetBoolean", referenced from:
__wrap_alGetBoolean in sio2.o
"_alSourceQueueBuffers", referenced from:
_sio2SoundGenId in sio2_sound.o
_sio2SoundUpdateStream in sio2_sound.o
_sio2SoundUpdateStream in sio2_sound.o
_sio2SoundUpdateStream in sio2_sound.o
_sio2SoundUpdateStream in sio2_sound.o
_sio2SoundUpdateStream in sio2_sound.o
__wrap_alSourceQueueBuffers in sio2.o
"_alDistanceModel", referenced from:
__wrap_alDistanceModel in sio2.o
"_alGetBufferf", referenced from:
__wrap_alGetBufferf in sio2.o
"_alcCloseDevice", referenced from:
sio2ShutdownAL() in sio2.o
"_alGetBufferi", referenced from:
__wrap_alGetBufferi in sio2.o
"_alGetSourcefv", referenced from:
__wrap_alGetSourcefv in sio2.o
"_alGetSourceiv", referenced from:
__wrap_alGetSourceiv in sio2.o
"_alGetString", referenced from:
__wrap_alGetString in sio2.o
sio2InitAL() in sio2.o
sio2InitAL() in sio2.o
sio2InitAL() in sio2.o
sio2InitAL() in sio2.o
"_alDeleteSources", referenced from:
_sio2SoundFree in sio2_sound.o
__wrap_alDeleteSources in sio2.o
"_alDeleteBuffers", referenced from:
_sio2SoundBufferFree in sio2_soundbuffer.o
_sio2SoundBufferFree in sio2_soundbuffer.o
__wrap_alDeleteBuffers in sio2.o
"_alGetBooleanv", referenced from:
__wrap_alGetBooleanv in sio2.o
"_alSourcePause", referenced from:
_sio2SoundPause in sio2_sound.o
__wrap_alSourcePause in sio2.o
"_alGetBuffer3f", referenced from:
__wrap_alGetBuffer3f in sio2.o
"_alGetBuffer3i", referenced from:
__wrap_alGetBuffer3i in sio2.o
"_alSourcef", referenced from:
_sio2SoundSetFx in sio2_sound.o
_sio2SoundSetSpeed in sio2_sound.o
_sio2SoundSetVolume in sio2_sound.o
__wrap_alSourcef in sio2.o
"_alSourcei", referenced from:
_sio2SoundGenId in sio2_sound.o
_sio2SoundSetAmbient in sio2_sound.o
_sio2SoundSetFx in sio2_sound.o
_sio2SoundPlay in sio2_sound.o
__wrap_alSourcei in sio2.o
"_alGetBufferfv", referenced from:
__wrap_alGetBufferfv in sio2.o
"_alGetBufferiv", referenced from:
__wrap_alGetBufferiv in sio2.o
"_alBufferf", referenced from:
__wrap_alBufferf in sio2.o
"_alBufferi", referenced from:
__wrap_alBufferi in sio2.o
"_alSourcePlayv", referenced from:
__wrap_alSourcePlayv in sio2.o
"_alGetListener3f", referenced from:
__wrap_alGetListener3f in sio2.o
"_alGetListener3i", referenced from:
__wrap_alGetListener3i in sio2.o
"_alGetFloatv", referenced from:
__wrap_alGetFloatv in sio2.o
"_alGetFloat", referenced from:
__wrap_alGetFloat in sio2.o
"_alcDestroyContext", referenced from:
sio2ShutdownAL() in sio2.o
"_alcOpenDevice", referenced from:
sio2InitAL() in sio2.o
"_alGetListenerfv", referenced from:
__wrap_alGetListenerfv in sio2.o
"_alGetListeneriv", referenced from:
__wrap_alGetListeneriv in sio2.o
"_alGetError", referenced from:
__wrap_alGetError in sio2.o
sio2ErrorAL(char const*, char const*, unsigned int)in sio2.o
"_alDisable", referenced from:
__wrap_alDisable in sio2.o
"_alGetIntegerv", referenced from:
__wrap_alGetIntegerv in sio2.o
"_alSourceRewindv", referenced from:
__wrap_alSourceRewindv in sio2.o
"_alDopplerVelocity", referenced from:
__wrap_alDopplerVelocity in sio2.o
"_alListener3f", referenced from:
__wrap_alListener3f in sio2.o
sio2CameraUpdateListener(SIO2camera*) in sio2_camera.o
"_alListener3i", referenced from:
__wrap_alListener3i in sio2.o
"_alIsBuffer", referenced from:
__wrap_alIsBuffer in sio2.o
"_alListenerfv", referenced from:
__wrap_alListenerfv in sio2.o
sio2CameraUpdateListener(SIO2camera*) in sio2_camera.o
"_alListeneriv", referenced from:
__wrap_alListeneriv in sio2.o
"_alSourceStopv", referenced from:
__wrap_alSourceStopv in sio2.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
"_alIsSource", referenced from:
__wrap_alIsSource in sio2.o
"_alIsEnabled", referenced from:
__wrap_alIsEnabled in sio2.o
"_alSourceRewind", referenced from:
_sio2SoundRewind in sio2_sound.o
__wrap_alSourceRewind in sio2.o
"_alSourcePlay", referenced from:

wwalczak

Posts : 3
Join date : 2009-03-01

View user profile

Back to top Go down

Re: Basic Getting Started Problem

Post  wwalczak on Sun Mar 01, 2009 10:52 pm

Answer: After bashing my head a little more and reading my own post (copy and paste of errors) which revealed more than I saw before I came to this solution:

http://forum.unity3d.com/viewtopic.php?p=106611

In case anyone else has the same problem. Rename /Frameworks/OpenAL.framework to something else, like "OpenAL(OLD).framework".

wwalczak

Posts : 3
Join date : 2009-03-01

View user profile

Back to top Go down

Re: Basic Getting Started Problem

Post  sio2interactive on Sun Mar 01, 2009 11:10 pm

Well from your output that was quite obvious that OpenAL was the problem Wink

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Basic Getting Started Problem

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum