Failing to compile anything but Win32

Previous topic - Next topic

spicypixel

I am using GLB v14. I have copied the platform files to the relevant program files sub directory within glb (although extracting the platform zips with 7zip was strange). However on compilation I get the relevant distribute.app folder and sub folders however there is no media in the files whatsoever????

This was the output from my Mac compile. Which seemed to compile but as I say no media in the media directory????

Code (glbasic) Select

_______________________________________
*** Configuration: OS-X_X86 ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:429c3389 - 3D, NET
Wordcount:82 commands
compile+link:
cygwin warning:
  MS-DOS style path detected: C:\Users\tGerk\GLBasic\Samples\_Projects_\Pong\MacIcon.icns
  Preferred POSIX equivalent is: /cygdrive/c/Users/tGerk/GLBasic/Samples/_Projects_/Pong/MacIcon.icns
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Using icns type 'ic09' (ARGB) for 'C:\Users\tGerk\GLBasic\Samples\_Projects_\Pong\tmpMacIcon.png'
Saved icns file to C:\Users\tGerk\GLBasic\Samples\_Projects_\Pong\MacIcon.icns
Creating .app for Pong
run: "Q:\Tools\Icons.exe" "C:\Users\tGerk\GLBasic\Samples\_Projects_\Pong\icon.png" /MACOSX
success
_______________________________________
*** Finished ***
Elapsed: 10.3 sec. Time: 13:55
Build: 1 succeeded.
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

spicypixel

It would seem that it works when I use my own code. The art and sound assets are copied to the media folder within the relevant distribute.app sub folders. However it doesn't work when I try the included glb samples. I'm guessing its because they fail to utilise SETCURRENTDIR("Media") because this is the only thing I can imagine different.

Guess I fixed my own issue here :D
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

UBERmonkeybot

I seem to remember someone saying if you get Q: drive coming up it's a path issue or something.Sorry i can't be more help.   :whistle: