home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


SVN help for Mac OS X

by macintoshking on 04/29/2009 22:46, 32 messages, last message: 05/09/2009 08:51, 5278 views, last view: 05/17/2024 18:55

Help! I really want to get the SVN of Sauerbraten. I already downloaded and installed the application Subversion and have download the data. Unfortunately I don't see the launcher for Mac OS X (which is the operating system that I am using), and when I try to comply it in Xcode, it fails.

Is there another application that I need to get to help me with this?

Thanks!

   Board Index    Go to next 20 messagesGo to last 20 messages

#1: ..

by SheeEttin on 04/29/2009 22:59

Have you tried reading the error it gives you?

reply to this message

#2: Re: ..

by macintoshking on 04/29/2009 23:01, refers to #1

Yes, but they made no sense

Ok, I will admit, I'm not a developer, but I want to be one. I'm a teenager right now trying to learn Objective-C

reply to this message

#3: ..

by Hooded_Sniper on 04/29/2009 23:04

So you're saying compiling the Game give you an error or compiling the launcher?

reply to this message

#4: Re: ..

by macintoshking on 04/29/2009 23:07, refers to #3

Complying the game gave me a message:

here it is:

Command /Developer/usr/bin/g++-4.0 failed with exit code 1

it was able to comply the launcher successfully

reply to this message

#5: Re: ..

by SheeEttin on 04/30/2009 00:24, refers to #4

Surely that's not all of it.

reply to this message

#6: ..

by macintoshking on 04/30/2009 00:33, refers to #5

Well, yes it was.

Is there another complier or SVN application that could help me with this?

reply to this message

#7: Re: ..

by baby~rabbit on 04/30/2009 01:04, refers to #6

Tip, please google the error message... Now - shamelessly copied from elsewhere on the web: In the build pane in Xcode, below the errors and warnings, there's a tiny button at the bottom that looks a bit like a few lines of text. If you click it, the "detailed build log" will become visible. This log should show the actual error message.

reply to this message

#8: Now...

by macintoshking on 04/30/2009 01:49

Thank you... but I just found something else out

In that log, it says that "framework not found SDL_image."

Does that make sense?

reply to this message

#9: ..

by abs1nth on 04/30/2009 01:56

nah it's not all of it, just above that there was the REAL error (assuming):

"ld: framework not found *somemissingframework*"

when asking for help always provide as much detail as possible, not as little as possible ;-)

so you need the dependencies: SDL_image, SDL_mixer and SDL.

or just wait a few minutes and do an "svn update" then, i'll try to store the these dependencies in svn too...

btw here is an xcode book:
http://www.cocoalab.com/?q=becomeanxcoder

reply to this message

#10: Re: ..

by abs1nth on 04/30/2009 02:03, refers to #9

>i'll try to store the these dependencies in svn too...

done. give it a shot now.

reply to this message

#11: ..

by macintoshking on 04/30/2009 02:14

That's funny, I already have downloaded that book, printed it out, and put it in a binder so that I can read it.

I'll check it out. Thank you very much.

reply to this message

#12: svn bloat

by baby~rabbit on 04/30/2009 02:45

imho dumping these frameworks in svn is bloat.. afaik there are instructions about what people need to install, if they can't follow instructions then they shouldn't be experimenting with svn either - sorry for my bluntness.

reply to this message

#13: Thanks

by macintoshking on 04/30/2009 03:31

That worked perfectly

reply to this message

#14: Than again...

by macintoshking on 04/30/2009 04:07

Well, the launcher and the application itself complied successfully, but now, when I open the launcher, it says that It can't find the files, so I should open it manually and when I try to do that, it does nothing.

Anyway, guess I will have to wait for the next version to come out:-)

reply to this message

#15: ..

by abs1nth on 04/30/2009 13:01

>imho dumping these frameworks in svn is bloat.

• the needed windows DLLs are also in svn, so why shouldn't the mac frameworks be?
(hell even the .exe is stored in svn!)
• we sometimes need very specific versions of these frameworks which aren't easy to come by (i specifically remember the gamma fade bug)
• of course people should (learn to) follow instructions - but if i want to build a project from SVN and gotta have to spend a few days building the dependencies i always am turned off (there are enough open source games where building for mac is like this). of course things aren't as bad here but i like things being self contained and working out of the box.

anyway if you don't like the change, just revert it ;-)

reply to this message

#16: Re: Than again...

by abs1nth on 04/30/2009 13:09, refers to #14

> it says that It can't find the files

it doesn't because the files aren't there.

• don't use the launcher and place the data (or a symlink) next to sauerbraten or
• build with the Release-Deployment Target which will produce a full .dmg file

reply to this message

#17: I'll try again

by macintoshking on 04/30/2009 21:25, refers to #15

Please keep in mind (especially you abs1nth) that even though I read the directions, it doesn't really mean much to me, especially when I'm not a developer (yet)

I will indeed try to build it with the build type as Release-Deployment Target.

reply to this message

#18: That didn't work

by macintoshking on 04/30/2009 21:44

Unfortunately, now it gives me another error when I build it as a Release-Deployment file.

Command /bin/sh failed with exit code 1

Under the text description, it reads:

/Users/Michael/sauerbraten/src/xcode/build/Release-Deployment

I could give you the entire log that the entire process relates to, but it's mighty long.

reply to this message

#19: Re: That didn't work

by SheeEttin on 05/01/2009 00:19, refers to #18

http://pastebin.com/
Or just the relevant part at the end.

reply to this message

#20: mac fixes

by lobsterman1 on 05/07/2009 10:53

crowd,

the xCode project and the installation pages/beginner's guide need a bit of love to allow macOSX-ies to navigate the initial speed bumps. here is a short blow by blow ...

- application - instructions for downloading the .dmg using the Install guide works like a charm. safari automatically extracts the content and the Sauerbraten application starts without a hitch

- xCode project - double clicking the sauerbraten.xcodeproj starts a xCode 2.4 compatible project in my version 3.1.2 and compiles without errors.

- issue 1. running the created app fails with a missing library error

dyld: Library not loaded: @executable_path/../Frameworks/SDL_image.framework/Versions/A/SDL_image
Referenced from: /Users/Huber/Documents/C-Java/JAVADataCentral/Games/sauerbraten/sourcecode/xcode/build/Debug/sauerbraten.app/Contents/MacOS/sauerbraten
Reason: image not found

this fails because the xCode projects reads the SDL_* lib headers but does not merge the libs that are included as part of the distribution into the final product. with help from the readme a separate install of the SDL, SDL_image, and SDL-mixer frameworks into Library/Frameworks makes this issue go away. SOLUTION ... imho, the solution would be to modify the xCode project so it recognizes, and merges the provided libs that are part of the distribution rather than requiring separate installs.

issue 2. running the app starts to dim the screen as it starts the app but then fails with the following log

init: sdl
init: net
init: game
init: video: mode
init: video: misc
init: gl
Renderer: NVIDIA GeForce 8600M GT OpenGL Engine (NVIDIA Corporation)
Driver: 2.0 NVIDIA-1.5.36
WARNING: Using Apple GLSL depth bug workaround. (use "/apple_glsldepth_bug 0" to disable if unnecessary
WARNING: Using Leopard ARB_position_invariant bug workaround. (use "/apple_ff_bug 0" to disable if unnecessary)
Rendering using the OpenGL GLSL shader path.
could not load texture data/notexture.png
could not find core textures

i have seen some references to fixing this by modifying "sauerbraten.sh" but this file does not exist in the mac distribution. SOLUTION ... ?

any comments and fixes greatly appreciated ...

reply to this message

   Board Index    Go to next 20 messagesGo to last 20 messages


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54037047 visitors requested 71817156 pages
page created in 0.022 seconds using 9 queries
hosted by Boost Digital