Forums

OverviewV-Play Installationerror: symbol(s) not found for architecture x86_64 › Reply To: error: symbol(s) not found for architecture x86_64

OverviewV-Play Installationerror: symbol(s) not found for architecture x86_64 › Reply To: error: symbol(s) not found for architecture x86_64
#4596

Jay

Qt 4.8.1 is installed.

Qt version 4.8.1 is selected under the Projects tab.

I don’t have a Run qmake option under the Build menu — I do have a Run, however. The Compile Output results of that are pasted in below.

Thanks.

Jay

 

02:48:00: Running build steps for project VPlayFun...
02:48:00: Configuration unchanged, skipping qmake step.
02:48:00: Starting: "/usr/bin/make" -w
make: Entering directory `/Users/jay/VPlayFunBuild'
g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -o VPlayFun.app/Contents/MacOS/VPlayFun main.o qmlapplicationviewer.o moc_qmlapplicationviewer.o   -F/Users/jay/V-PlaySDK/Desktop/Qt/4.8.1/gcc/lib -L/Users/jay/V-PlaySDK/Desktop/Qt/4.8.1/gcc/lib -framework Cocoa -framework OpenGL -framework OpenAL -framework AudioToolbox -L/Users/jay/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/lib/third_party -lcurl -lfreetype -ljpeg -lpng14 -lxml2 -lz -L/Users/jay/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/lib -lVPlay -framework QtDeclarative -L/usr/local/pgsql/lib -L/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib -F/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib -framework QtScript -framework QtCore -framework QtSvg -framework QtGui -framework QtSql -framework QtXmlPatterns -framework QtNetwork 
ld: warning: directory not found for option '-L/usr/local/pgsql/lib'
ld: warning: directory not found for option '-L/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
ld: warning: directory not found for option '-F/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
ld: warning: ignoring file /Library/Frameworks//OpenAL.framework/OpenAL, file was built for unsupported file format ( 0xfe 0xed 0xfa 0xce 0x 0 0x 0 0x 0 0x12 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 6 ) which is not the architecture being linked (x86_64): /Library/Frameworks//OpenAL.framework/OpenAL
Undefined symbols for architecture x86_64:
  "_alBufferData", referenced from:
      -[CDSoundEngine loadBufferFromData:soundData:format:size:freq:] in libVPlay.a(CocosDenshion.o)
  "_alDeleteBuffers", referenced from:
      -[CDSoundEngine unloadBuffer:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine dealloc] in libVPlay.a(CocosDenshion.o)
  "_alDeleteSources", referenced from:
      -[CDSoundEngine dealloc] in libVPlay.a(CocosDenshion.o)
  "_alGenBuffers", referenced from:
      -[CDSoundEngine unloadBuffer:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine _generateBuffers:endIndex:] in libVPlay.a(CocosDenshion.o)
  "_alGenSources", referenced from:
      -[CDSoundEngine _generateSources] in libVPlay.a(CocosDenshion.o)
  "_alGetError", referenced from:
      -[CDAudioManager audioSessionResumed] in libVPlay.a(CDAudioManager.o)
      -[CDAudioManager audioSessionInterrupted] in libVPlay.a(CDAudioManager.o)
      -[CDSoundSource rewind] in libVPlay.a(CocosDenshion.o)
      -[CDSoundSource pause] in libVPlay.a(CocosDenshion.o)
      -[CDSoundSource play] in libVPlay.a(CocosDenshion.o)
      -[CDSoundSource stop] in libVPlay.a(CocosDenshion.o)
      -[CDSoundSource looping] in libVPlay.a(CocosDenshion.o)
      ...
  "_alGetListenerf", referenced from:
      -[CDSoundEngine masterGain] in libVPlay.a(CocosDenshion.o)
  "_alGetSourcef", referenced from:
      -[CDSoundSource looping] in libVPlay.a(CocosDenshion.o)
      -[CDSoundSource gain] in libVPlay.a(CocosDenshion.o)
      -[CDSoundSource pitch] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine _testGetGain] in libVPlay.a(CocosDenshion.o)
  "_alGetSourcefv", referenced from:
      -[CDSoundSource pan] in libVPlay.a(CocosDenshion.o)
  "_alGetSourcei", referenced from:
      -[CDSoundSource isPlaying] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine _soundSourceAttachToBuffer:soundId:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine playSound:sourceGroupId:pitch:pan:gain:loop:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine _getSourceIndexForSourceGroup:] in libVPlay.a(CocosDenshion.o)
  "_alListenerf", referenced from:
      -[CDSoundEngine setMute:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine setMasterGain:] in libVPlay.a(CocosDenshion.o)
  "_alSourcePause", referenced from:
      -[CDSoundSource pause] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine pauseSound:] in libVPlay.a(CocosDenshion.o)
  "_alSourcePlay", referenced from:
      -[CDSoundSource play] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine resumeSound:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine playSound:sourceGroupId:pitch:pan:gain:loop:] in libVPlay.a(CocosDenshion.o)
  "_alSourceRewind", referenced from:
      -[CDSoundSource rewind] in libVPlay.a(CocosDenshion.o)
  "_alSourceStop", referenced from:
      -[CDSoundSource stop] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine stopAllSounds] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine stopSound:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine stopSourceGroup:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine _soundSourceAttachToBuffer:soundId:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine playSound:sourceGroupId:pitch:pan:gain:loop:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine unloadBuffer:] in libVPlay.a(CocosDenshion.o)
      ...
  "_alSourcef", referenced from:
      -[CDSoundSource setGain:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundSource setPitch:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine playSound:sourceGroupId:pitch:pan:gain:loop:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine _testGetGain] in libVPlay.a(CocosDenshion.o)
  "_alSourcefv", referenced from:
      -[CDSoundSource setPan:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine playSound:sourceGroupId:pitch:pan:gain:loop:] in libVPlay.a(CocosDenshion.o)
  "_alSourcei", referenced from:
      -[CDSoundSource setLooping:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine _soundSourceAttachToBuffer:soundId:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine playSound:sourceGroupId:pitch:pan:gain:loop:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine unloadBuffer:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine dealloc] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine _generateSources] in libVPlay.a(CocosDenshion.o)
  "_alcCloseDevice", referenced from:
      -[CDSoundEngine dealloc] in libVPlay.a(CocosDenshion.o)
  "_alcCreateContext", referenced from:
      -[CDSoundEngine _initOpenAL] in libVPlay.a(CocosDenshion.o)
  "_alcDestroyContext", referenced from:
      -[CDSoundEngine dealloc] in libVPlay.a(CocosDenshion.o)
  "_alcGetContextsDevice", referenced from:
      -[CDSoundEngine dealloc] in libVPlay.a(CocosDenshion.o)
  "_alcGetCurrentContext", referenced from:
      -[CDAudioManager audioSessionResumed] in libVPlay.a(CDAudioManager.o)
      -[CDAudioManager audioSessionInterrupted] in libVPlay.a(CDAudioManager.o)
      -[CDAudioManager badAlContextHandler] in libVPlay.a(CDAudioManager.o)
      -[CDSoundSource play] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine playSound:sourceGroupId:pitch:pan:gain:loop:] in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine dealloc] in libVPlay.a(CocosDenshion.o)
  "_alcGetProcAddress", referenced from:
      alBufferDataStaticProc(int, int, void*, int, int)in libVPlay.a(CocosDenshion.o)
      -[CDSoundEngine _initOpenAL] in libVPlay.a(CocosDenshion.o)
      alcMacOSXMixerOutputRateProc(double)in libVPlay.a(CocosDenshion.o)
  "_alcMakeContextCurrent", referenced from:
      -[CDAudioManager audioSessionResumed] in libVPlay.a(CDAudioManager.o)
      -[CDAudioManager audioSessionInterrupted] in libVPlay.a(CDAudioManager.o)
      -[CDSoundEngine _initOpenAL] in libVPlay.a(CocosDenshion.o)
  "_alcOpenDevice", referenced from:
      -[CDSoundEngine _initOpenAL] in libVPlay.a(CocosDenshion.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [VPlayFun.app/Contents/MacOS/VPlayFun] Error 1
make: Leaving directory `/Users/jay/VPlayFunBuild'
02:48:00: The process "/usr/bin/make" exited with code 2.
Error while building project VPlayFun (target: Desktop)
When executing build step 'Make'

 

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support