11.171 Not compiling for MAC

Previous topic - Next topic



I can't compile for Mac OS X

Code (glbasic) Select
*** Configuration: OS-X_X86 ***
GPC - GLBasic Precompiler V.10.070 SN:XXXXXXXXX - 3D, NET
Wordcount:1004 commands
/cygdrive/r/Compiler/platform/Mac/Bin/../libexec/gcc/i686-apple-darwin9/4.0.1/ld: Undefined symbols:
*** FATAL ERROR - Please post this output in the forum
*** Finished ***
Elapsed: 5.0 sec. Time: 02:09
Build: 0 succeeded.
*** 1 FAILED ***

It works in 10.202
Code (glbasic) Select
*** Configuration: OS-X_X86 ***
GPC - GLBasic Precompiler V.10.104 SN:XXXXXXXXX - 3D, NET
Wordcount:1004 commands
cygwin warning:
  MS-DOS style path detected: C:\Users\jfroco\Documents\GLBasic\GLBasic\FPS02\MacIcon.icns
  Preferred POSIX equivalent is: /cygdrive/c/Users/jfroco/Documents/GLBasic/GLBasic/FPS02/MacIcon.icns
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
Using icns type 'ic09' (ARGB) for 'C:\Users\jfroco\Documents\GLBasic\GLBasic\FPS02\tmpMacIcon.png'
Saved icns file to C:\Users\jfroco\Documents\GLBasic\GLBasic\FPS02\MacIcon.icns
Creating .app for FPS02
run: "R:\Tools\Icons.exe" "C:\Users\jfroco\Documents\GLBasic\GLBasic\FPS02\icon.png" /MACOSX
*** Finished ***
Elapsed: 9.3 sec. Time: 02:09
Build: 1 succeeded.

Also I don't understand why the version 11 has an older precompiler than version 10. Is there something wrong with my installation?

Thank you


Looks like a few things are missing from the library files :)


yep, its look like its a missing lib component.

its libpng_uni.a from Compiler\platform\Mac\OSX\Lib that is missing. if I copy that from previous v11 version, then its will compile and the game launch fine.

So this is a simple bug.

[attachment deleted by admin]
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/



Thank you, I copy the libpng_uni.a file and the project compiled... unfortunately GLBasic is not copying the resources (images and music) to \distribute\MacOSX\<NAMe>.app\Contents\Resources\Media

So I had to copy manually from the build made using GLBASIC 10.

I tested in a MacBook Pro and the game freezes after a couple of seconds :( I just realized that the 10.0 version also freezes.

Before going deeper. Is there anybody having the same issue with resources\Media?

Best regards