Compiling for OS X

The main forum for zSILENCER, everything can be here.

Compiling for OS X

Postby Skylab » Mon Apr 07, 2014 4:00 pm

Hey. I'm having issues compiling for OS X and hope that you can help me with the process. I'm getting errors typing in automake. Here are the errors http://pastebin.com/4JzSudpH . Not sure what I need to do now. It's not creating the Make file at all thus Make doesn't work.
Complete Game Guide and more on http://ArsiaMons.io
User avatar
Skylab
 
Posts: 22
Joined: Sat Mar 08, 2014 3:14 pm

Re: Compiling for OS X

Postby Skylab » Mon Apr 07, 2014 4:28 pm

The solution to this was to add
Code: Select all
AUTOMAKE_OPTIONS = subdir-objects

to the top of Makefile.am.

Which seems to resolve using Make in command line although it ends with other errors. Building on xcode gets these errors
Code: Select all
make: *** No targets specified and no makefile found.  Stop.
Command /usr/bin/make failed with exit code 2
Complete Game Guide and more on http://ArsiaMons.io
User avatar
Skylab
 
Posts: 22
Joined: Sat Mar 08, 2014 3:14 pm

Re: Compiling for OS X

Postby admin » Mon Apr 07, 2014 6:20 pm

OK the github was just updated with xcodeproj file, so you can open that up in xcode and it will work easily. You also need to get the SDL frameworks.
User avatar
admin
Site Admin
 
Posts: 26
Joined: Sun Jul 28, 2013 2:38 pm

Re: Compiling for OS X

Postby Skylab » Mon Apr 07, 2014 7:32 pm

Whoa, you rule! Thank you for that.
The project seems to be missing a file called zSILENCER-Info.plist. Any ideas?
Complete Game Guide and more on http://ArsiaMons.io
User avatar
Skylab
 
Posts: 22
Joined: Sat Mar 08, 2014 3:14 pm

Re: Compiling for OS X

Postby admin » Mon Apr 07, 2014 11:23 pm

Forgot about that one, oops. I added it all to the git should be good to go.
User avatar
admin
Site Admin
 
Posts: 26
Joined: Sun Jul 28, 2013 2:38 pm

Re: Compiling for OS X

Postby Skylab » Tue Apr 08, 2014 12:12 am

Got another LLVM error it seems

Code: Select all
clang: error: no such file or directory: '/Users/vskylabv/Desktop/silencer/cocoawrapper.mm'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
Complete Game Guide and more on http://ArsiaMons.io
User avatar
Skylab
 
Posts: 22
Joined: Sat Mar 08, 2014 3:14 pm

Re: Compiling for OS X

Postby admin » Tue Apr 08, 2014 3:54 am

OK cocoawrapper.mm added, thanks for letting me know about all these missing files from the git.
User avatar
admin
Site Admin
 
Posts: 26
Joined: Sun Jul 28, 2013 2:38 pm

Re: Compiling for OS X

Postby Skylab » Tue Apr 08, 2014 1:22 pm

We're super close!

Code: Select all
error: /Users/vskylabv/Desktop/silencer/zSILENCER/icon.icns: No such file or directory
Complete Game Guide and more on http://ArsiaMons.io
User avatar
Skylab
 
Posts: 22
Joined: Sat Mar 08, 2014 3:14 pm

Re: Compiling for OS X

Postby admin » Tue Apr 08, 2014 3:58 pm

OK, now this one doesn't make sense because icon.icns IS in the github, maybe you can trying to download it from github.com manually and just copy it to there.
User avatar
admin
Site Admin
 
Posts: 26
Joined: Sun Jul 28, 2013 2:38 pm

Re: Compiling for OS X

Postby Skylab » Tue Apr 08, 2014 10:16 pm

Build successful! Sweet. As for the icon.icns file, it was trying to find it inside zSILENCER/icon.icns when it was in the root directory. By placing icon.icns inside a new folder called zSILENCER/icon.icns it worked.
Complete Game Guide and more on http://ArsiaMons.io
User avatar
Skylab
 
Posts: 22
Joined: Sat Mar 08, 2014 3:14 pm


Return to Main Forum

Who is online

Users browsing this forum: No registered users and 1 guest