GLBasic forum

Main forum => Bug Reports => Topic started by: ampos on 2011-Feb-27

Title: Not compiling for Mac
Post by: ampos on 2011-Feb-27
In GLB 9.018 (I dont want to update to 9.021, as it seems it does not work) I can not compile for MacOSX. I get this error:

Code (glbasic) Select
_______________________________________
*** Configuration: OS-X_UNI ***
precompiling:
GPC - GLBasic Precompiler V.7.861 SN:90a22027 - 3D, NET
Wordcount:510 commands
compile+link:
/cygdrive/d/Programas/GLBasic/Compiler/platform/Mac/Bin/../libexec/gcc/powerpc-apple-darwin9/4.0.1/ld: Undefined symbols:
_glbSoundEngine_Initialize
_glbSoundEngine_IsBackgroundMusicPlaying
_glbSoundEngine_IsEffectPlaying
_glbSoundEngine_LoadBackgroundMusicTrack
_glbSoundEngine_LoadEffect
_glbSoundEngine_PauseBackgroundMusic
_glbSoundEngine_SetBackgroundMusicVolume
_glbSoundEngine_SetEffectLevel
_glbSoundEngine_SetEffectPosition
_glbSoundEngine_SetListenerPosition
_glbSoundEngine_StartBackgroundMusic
_glbSoundEngine_StartEffect
_glbSoundEngine_StopBackgroundMusic
_glbSoundEngine_StopEffect
_glbSoundEngine_Teardown
_glbSoundEngine_UnloadBackgroundMusicTrack
_glbSoundEngine_UnloadEffect
Mac OSX compiler wrapper
compile for PowerPC
call:
"D:\Programas\GLBasic\Compiler\platform\Mac\Bin\powerpc-apple-darwin9-g++.exe" -pipe -O3 -w -isysroot "/cygdrive/D/Programas/GLBasic/Compiler/platform/Mac/SDKs/MacOSX10.4u.sdk" -I"/cygdrive/D/Programas/GLBasic/Compiler/platform/Include" -I"/cygdrive/D/Programas/GLBasic/Proyectos/photo" -L"/cygdrive/D/Programas/GLBasic/Compiler/platform/Mac/OSX/Lib" -framework OpenGL -framework Cocoa -framework QuickTime -DMACOSX -DMAC -DTARGET_OS_MAC -DNDEBUG -DWANT_SDL -DHAVE_OPENGL "/cygdrive/C/Users/AMpos/AppData/Local/Temp/glbasic/gpc_tempg.cpp" "/cygdrive/C/Users/AMpos/AppData/Local/Temp/glbasic/gpc_temp0.cpp" "/cygdrive/C/Users/AMpos/AppData/Local/Temp/glbasic/gpc_temp1.cpp"    -lGLBasicUni -lSDL_mixer -lSDL -lSDLmain -lpng_uni -lstdc++-static -o "/cygdrive/C/Users/AMpos/AppData/Local/Temp/glbasic/output.obj" -DOSXUNI=1
CurDir:
C:\Users\AMpos\AppData\Local\Temp\glbasic
failed (exit code 1)!
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 2.7 sec. Time: 00:53
Build: 0 succeeded.
*** 1 FAILED ***
Title: Re: Not compiling for Mac
Post by: Marmor on 2011-Feb-27
iam on 9.001 and can compile the entitysystem fine for osx maybe this help you
Title: Re: Not compiling for Mac
Post by: Ian Price on 2011-Feb-27
Yep, fails for me too in v9.018.
Title: Re: Not compiling for Mac
Post by: MrTAToad on 2011-Feb-27
Unfortunately it works in 9.021 :)
Title: Re: Not compiling for Mac
Post by: ampos on 2011-Feb-27
Quote from: MrTAToad on 2011-Feb-27
Unfortunately it works in 9.021 :)

So 9.021 compiles for Mac but not for win? :)
Title: Re: Not compiling for Mac
Post by: MrTAToad on 2011-Feb-27
Yes, ironic isn't it ? :)
Title: Re: Not compiling for Mac
Post by: Kitty Hello on 2011-Feb-28
both fixxored now.