Compiling for OSX help needed

Previous topic - Next topic

spicypixel

OK so I've compiled for OSX_uni and it happily creates the ".app" within the "distribute" "MacOSX" structure. The build is created in my private dropbox folder which is synced with my mini Mac. However... When I now go to the Mac and double click my game.app the icon expands as if it's about to run then does nothing. Is there more I should do?

Makes me seem such a noob ^
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.

Sokurah

You're not the only person who's had problems with Dropbox.

Earlier this year, when I did ports of some of my games (WIN>OSX), I first copied the .app files to my own Dropbox to try on another Mac, but it didn't work. Tried several times with different files.

Then I transferred the same files to my website using FTP and downloaded them again on the other Mac and it worked right away.

It's like something happens to the files when copying them to Dropbox?  :blink:
...your problem could be something entirely different, though.
Website: Tardis remakes / Mostly remakes of Arcade and ZX Spectrum games. All freeware. :-)
Twitter: Sokurah

quangdx

My games don't seem to run on any Mac OS but Snow Leopard and Lion,
the other thing is, maybe it's losing the permissions in the transfer.

Right click on the game.app and open the package file,
Contents/MacOS/
In terminal run the command
chmod +x and drag in the MacOSX file on to the terminal window.
Asobi tech - the science of play.
Spare time indiegame developer.

erico

last I had trouble with that was with osx lower then 10.6

I´m installing latest glbasic on laptop and should have somethings going these days, hope it is ok.
I have win 7 64 bit, ubuntu and osx installed on this laptop, hope I can help figuring out that.

spicypixel

I wouldn't have thought it would be that difficult to get something running on OSX after all GLB is intended for multi-platform development. The idea being cross-platform is simplified. So hopefully someone can give a definitive working method if others are having problems too?
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.

erico

never had trouble with it, it always worked perfectly out of the box.
this one last time I said, I tested on a friends house running 10.5.something, it didn´t work.
but it worked here and so on all my other friends with mac.

before you transfer something to mac environment, try zipping it.

Kitty Hello

Windows does notnhave the +x attribute thatbindicates a program is executable. GLBasic does some trick to fake this, so when you zip it, it works on the mac. however most file sharing tools as SMB and Dropbox don't understand this. Either zip it or directly compile on the Mac drive.

spicypixel

Quote from: Kitty Hello on 2011-Dec-29
Windows does notnhave the +x attribute thatbindicates a program is executable. GLBasic does some trick to fake this, so when you zip it, it works on the mac. however most file sharing tools as SMB and Dropbox don't understand this. Either zip it or directly compile on the Mac drive.

Basically a CHMOD cool ;)
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.

Dabz

Yep, I've just done this using dropbox, I zipped it up (using 7zip), dropped it in my dropbox folder, went into mac, it came through, unzipped it, and voila, ran fine!

Dabz

trucidare

Proven that Windows sucks  :rtfm:

MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Kitty Hello

I think it's more a problem of the file sharing protocol that drops the "+x" file attribute. Which I "think" is the "archive" attribute in windows. But I'm not sure.

erico

I do suspect there may be something going with osx lower then 10.6

Like I posted on another thread, my game didn´t work on a friend´s 10.5.8 system.
This one friend has a really messed up system, so it can also be that.

no problems on systems 10.6 and above.

Unfortunantly that is the only lower the 6 mac I know, all the other macs I have access are above and none showed problems.

Gary

I had exactly the same problem using dropbox, if I sent the raw files I got an icon on the dock I could not get rid of. Good thing was I was using parallels to run windows so I could right click on the folder, open in finder and run it straight from there and not send via dropbox.

So just to back up what others have said, zip everything up to send it to another OS, much safer than a raw send (and quicker too)