Matthew-Linxcom / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Mac OS X Snow Leopard needs new SDL version #184

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is very strange. I had Grafx2 working on my Macbook for a good long while, 
but after a clean 
install of Leopard plus an update to 10.5.7 on a 2008 Intel Macbook, Grafx2 
refuses to launch. No 
errors, no crashes, just...nothing. I've also tried manually running the 
executable under Terminal:

$ cd Graphx2.app/Contents/MacOS
$ ./Grafx2
-bash: ./Grafx2: cannot execute binary file
$ ls -l
-rwxr-xr-x  1 pkmays  staff  1461088 Jun 11 19:27 Grafx2

I've tried deleting the Bundle, redownloading the .zip, moving the .app from 
/Applications to 
~/Desktop — nothing works.

Original issue reported on code.google.com by blumun...@gmail.com on 27 Jun 2009 at 10:09

GoogleCodeExporter commented 8 years ago
Yes, thanks to MagerValp I've fixed it by deleting it. For some reason finder 
wasn't finding the file. I'm still new to 
mac so I haven't figured everything out yet. Right now I'm working on getting 
x-code file setup to compile, as of 
right now some sort of error about -lpng missing but I'm sure I just need to 
download a file. I would be glad to 
try to help the current mac guy hhhikr if he needs testing and such. I will let 
you know how it goes. Sorry if this 
is the wrong place to talk about this stuff.

Original comment by thedaemo...@gmail.com on 4 Sep 2009 at 3:46

GoogleCodeExporter commented 8 years ago
Thedaemonofid: Spotlight doesn't search in ~/Library, unless you actually 
navigate
the finder to ~/Library and search "within Library". System folders are 
excluded from
spotlight searches by default, which annoyingly includes your own Library 
folder.

Original comment by MagerV...@gmail.com on 4 Sep 2009 at 5:41

GoogleCodeExporter commented 8 years ago
Attached is my compiled version of latest svn 2.1 wip. Compiled with make on 
10.5.6. Please test it on your 
machine (any and all versions) and let me know how it goes. I also associated 
the proper icon so it's pleasant on 
your dock.

Original comment by thedaemo...@gmail.com on 10 Sep 2009 at 12:59

Attachments:

GoogleCodeExporter commented 8 years ago
Works nicely here on 10.6, but I only get the generic app icon.

Original comment by MagerV...@gmail.com on 10 Sep 2009 at 6:58

GoogleCodeExporter commented 8 years ago
Try this one. :\

Original comment by thedaemo...@gmail.com on 10 Sep 2009 at 7:02

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks. I filed a new bug (214) about a proper OS X icon.

Original comment by MagerV...@gmail.com on 10 Sep 2009 at 7:11

GoogleCodeExporter commented 8 years ago
Crash on load on my machine SnowLeo 10.6 32bit. =(

Original comment by ja77...@gmail.com on 10 Sep 2009 at 3:25

GoogleCodeExporter commented 8 years ago
ja777on, run it from the command line and tell me what it says. Perhaps try 
deleting
your preferences in ~/Library/Preferences/com.googlecode.grafx2 . I don't know 
why it
would work on MagerValp's 10.6 and not yours.

Original comment by thedaemo...@gmail.com on 10 Sep 2009 at 6:21

GoogleCodeExporter commented 8 years ago
In case it's useful (ie: no Subversion access) here's a copy of the latest 
sources,
including the Mac-specific files and directories which are not present when I 
make
standard "sources" archive. It doesn't have the "standard" libraries of SDL,
SDL_image, any other?

Jamon installed XCode and would like try to compile, he's desperately asking 
for help ...

Original comment by yrizoud on 10 Sep 2009 at 7:22

Attachments:

GoogleCodeExporter commented 8 years ago
I have two PPC machines I can test this on if anyone can make a UB.

Original comment by cameron...@comcast.net on 10 Sep 2009 at 7:40

GoogleCodeExporter commented 8 years ago
Finlay works! it was problem in me ... i just installed X11 =)))))

anyway thanks folks for help and time - now i can finish my DP-like initerface 
for 
this wonderful porgy!

thedaemonofid SPECIAL thanks for you!

Original comment by ja77...@gmail.com on 10 Sep 2009 at 8:12

GoogleCodeExporter commented 8 years ago
Glad you got it working! Cameron, as soon as I find out how to make a UB I 
will...
Right now all I do is SVN the source and type "make" and it works. That is of 
course
if you have the sdl frameworks installed.

Original comment by thedaemo...@gmail.com on 10 Sep 2009 at 10:42

GoogleCodeExporter commented 8 years ago
If everyone can confirm that comment #55 build works (MagerValp ? cameron? 
blumunkee?) i'd like to upload it in the official downloads section and finally 
close this issue. But I want to be sure.

Original comment by pulkoma...@gmail.com on 11 Sep 2009 at 8:11

GoogleCodeExporter commented 8 years ago
No, this is not a solution. I have patched SDL frameworks on my machine. This 
issue
will not be solved until the Xcode project is fixed (bug 188) and patched 
universal
SDL frameworks are built and distributed inside Grafx2.app.

Original comment by MagerV...@gmail.com on 11 Sep 2009 at 8:19

GoogleCodeExporter commented 8 years ago

Original comment by pulkoma...@gmail.com on 15 Sep 2009 at 7:14

GoogleCodeExporter commented 8 years ago
The SDL bug that is the root cause of this bug has been marked as fixed:

http://bugzilla.libsdl.org/show_bug.cgi?id=581

Now would be a very good time to build and integrate SDL into Grafx2 for Mac...

Original comment by MagerV...@gmail.com on 21 Sep 2009 at 2:38

GoogleCodeExporter commented 8 years ago
Here is the source archive for 2.1, for people who don't use Subversion. It's 
the
source archive I generated automatically for the "release" branch (v2.1) , plus 
the
additional files which seem to be OSX-specific:
  Grafx2.xcodeproj/xx.perspective
  Grafx2.xcodeproj/xx.pbxuser
  Grafx2.xcodeproj/project.pbxproj
  English.lproj/InfoPlist.strings
  SDLMain.m
  Info.plist
  Grafx2_Prefix.pch

Original comment by yrizoud on 21 Sep 2009 at 5:34

Attachments:

GoogleCodeExporter commented 8 years ago
They are indeed OSX specific (XCode project, and SDLMain.m which is the 
Objective C 
+ Carbon wrapper code for running SDL properly. Don't know why we have to have 
it in 
our repo however as it should be part of the SDL dev files.

Original comment by pulkoma...@gmail.com on 21 Sep 2009 at 5:40

GoogleCodeExporter commented 8 years ago
I built the new SDL.Framework 1.2 svn rev 4807. It works on my machine with 
10.6, but
someone else needs to test it on 10.4 and 10.5, as well as on PPC.

Original comment by MagerV...@gmail.com on 22 Sep 2009 at 5:08

Attachments:

GoogleCodeExporter commented 8 years ago
None of these work, im on 10.5.
I get a 'this application quit unexpectedly' message on the last few builds in 
this
thread.

The 2 versions on the downloads page just don't open.

Original comment by Nathan.H...@googlemail.com on 17 Dec 2009 at 11:12

GoogleCodeExporter commented 8 years ago
gfx2.cfg appears to be missing from the svn repository, so make fails to build a
working .app.

Original comment by MagerV...@gmail.com on 17 Dec 2009 at 12:08

GoogleCodeExporter commented 8 years ago
The .cfg file is not needed anymore, you should remove it from the makefile. 
Removed 
in r1239.

Original comment by pulkoma...@gmail.com on 17 Dec 2009 at 12:20

GoogleCodeExporter commented 8 years ago
Someone also made an OSX build recently in issue 188

Original comment by yrizoud on 17 Dec 2009 at 12:45

GoogleCodeExporter commented 8 years ago
Hi,

Is an Intel build available yet? The currently downloadable versions (both 
Leopard 
and, strangely, Snow Leopard, even though it AFAIK doesn't support PPC) contain 
either PPC-only builds, or the universal binary is malformed (i.e. a "data" 
section 
for i386):

$ file ./Grafx2
./Grafx2: Mach-O universal binary with 2 architectures
./Grafx2 (for architecture ppc):    Mach-O executable ppc
./Grafx2 (for architecture i386):   data

Original comment by denpasho...@gmail.com on 28 Dec 2009 at 1:00

GoogleCodeExporter commented 8 years ago
not only Snow Leopard - i'm still using Tiger (10.4.11), and i'm not planning to
update OSX

Original comment by nitrofur...@gmail.com on 27 Jan 2010 at 1:19

GoogleCodeExporter commented 8 years ago
The old SDL frameworks that you can download from the official homepage work 
fine on
10.4, this problem only appears when you run 10.5.6 or later.

Original comment by MagerV...@gmail.com on 27 Jan 2010 at 4:57

GoogleCodeExporter commented 8 years ago

Original comment by pulkoma...@gmail.com on 17 Mar 2010 at 6:00

GoogleCodeExporter commented 8 years ago
i'm not sure if it is right place to post, but i tried all downloads for osx 
and it does not work on my system (osx snow leopard 10.6.6 - 2 machines macpro 
& macbookpro) 

Original comment by lightray...@gmail.com on 19 Feb 2011 at 5:49

GoogleCodeExporter commented 8 years ago
Just a heads up: hhhikr has re-built and packaged a version of Grafx2 for 
MacOSX, it's available here:
http://code.google.com/p/grafx2/downloads/detail?name=grafx2-2.2.1753-macosx.zip
(Zip name is 2.2 but I'm pretty sure that inside is 2.3)
Feel free to test and tell us if it works, and which OSX version you have.

Original comment by yrizoud on 11 Mar 2011 at 6:28

GoogleCodeExporter commented 8 years ago
Works for me on 10.7 Lion DP.

Original comment by MagerV...@gmail.com on 11 Mar 2011 at 10:46

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/grafx2/downloads/detail?name=grafx2-2.3wip.1755-macosx.
zip

Original comment by hhhikr@gmail.com on 11 Mar 2011 at 11:08

GoogleCodeExporter commented 8 years ago
Grafx2 still won't launch. Using grafx2 version linked to in comment 81, SDL 
version 1.2.14 and Mac OS X 10.6.6.

Original comment by gustav.sinder@gmail.com on 16 Mar 2011 at 9:10

GoogleCodeExporter commented 8 years ago
Try to run it from a console and report any printed message.

There may be an issue with the files attributes not saved within the archive so 
you may want to try this:

chmod +x Grafx2.app/Contents/MacOS/Grafx2

Also, more details about your machine could help.

Original comment by hhhikr@gmail.com on 16 Mar 2011 at 5:00

GoogleCodeExporter commented 8 years ago
Yes, there was a permissions problem which I solved with a similar command (on 
10.5). The error message was IIRC (it was yesterday on my home machine, can't 
check now) was like "LSOpen error -10810" which has happened before in another 
unrelated situation (a problem with ~/.cfusertextencoding or something).

Original comment by denpasho...@gmail.com on 16 Mar 2011 at 5:15

GoogleCodeExporter commented 8 years ago
After setting the executable bit the application will run just fine when 
opening from finder.

Original comment by gustav.sinder@gmail.com on 16 Mar 2011 at 7:32

GoogleCodeExporter commented 8 years ago
So it works on 10.4, 10.6 & 10.7 but not on 10.5 ?

Original comment by hhhikr@gmail.com on 16 Mar 2011 at 8:13

GoogleCodeExporter commented 8 years ago
It worked fine for me on 10.5 once the executable bit is set. Sorry if I was 
unclear. :)

Original comment by denpasho...@gmail.com on 16 Mar 2011 at 8:27

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/grafx2/downloads/detail?name=grafx2-svn1759-macosx.tgz

Files attributes should be hopefully preserved now.

Original comment by hhhikr@gmail.com on 16 Mar 2011 at 10:18

GoogleCodeExporter commented 8 years ago

Original comment by hhhikr@gmail.com on 20 Mar 2011 at 12:48