Trouble compiling game on MacOSX
Posted: 17 Dec 2018, 05:32
Ive been warzone player for years and appreciate everything the community does to keep it running. a little over a year ago i switched to a mac computer and lost the ability to download the game despite its claims to being compatible. however recently i found these installation instructions and figured id try to instal the game once again.
http://developer.wz2100.net/wiki/CompileGuideMac/3.2
first i downloaded the files from the website which dowloaded as a .tar.xz file. i used the Unarchiver app to convert it into usable files.
I then installed Macports and Xcode as the page instructs and ran all the required script commands "sudo port install gettext" and "sudo port install asciidoc"
Finally i installed BasicTeX from the MacTex package to complete all the required prerequisites
Its now when it becomes time to build the game that i run into problems.
the first step is "cd into the macosx folder" which confused me because there is no "cd" file in the source files i downloaded and certainly not in the macosxfolder. my misunderstanding of this step may be the whole problem because i don't know what it wants. but then the second step is to run the command
"xcodebuild -project Warzone.xcodeproj -target Warzone -configuration Release"
however upon doing so i receive the error that Warzone.xcodeproj doesn't exist. but it does... it installed as part of the file i downloaded from the website and i can see it and access it. as shown in the attached image.
the other option provided is to open the Xcode project and build the warzone scheme. but every time i attempt this Xcode simply says "build failed"
i know no one on the warzone2100 team directly uses a mac. but could anyone who has successfully set up the game tell me what I'm doing wrong? ive tried everything i can think of and would really enjoy getting back into the game.
http://developer.wz2100.net/wiki/CompileGuideMac/3.2
first i downloaded the files from the website which dowloaded as a .tar.xz file. i used the Unarchiver app to convert it into usable files.
I then installed Macports and Xcode as the page instructs and ran all the required script commands "sudo port install gettext" and "sudo port install asciidoc"
Finally i installed BasicTeX from the MacTex package to complete all the required prerequisites
Its now when it becomes time to build the game that i run into problems.
the first step is "cd into the macosx folder" which confused me because there is no "cd" file in the source files i downloaded and certainly not in the macosxfolder. my misunderstanding of this step may be the whole problem because i don't know what it wants. but then the second step is to run the command
"xcodebuild -project Warzone.xcodeproj -target Warzone -configuration Release"
however upon doing so i receive the error that Warzone.xcodeproj doesn't exist. but it does... it installed as part of the file i downloaded from the website and i can see it and access it. as shown in the attached image.
the other option provided is to open the Xcode project and build the warzone scheme. but every time i attempt this Xcode simply says "build failed"
i know no one on the warzone2100 team directly uses a mac. but could anyone who has successfully set up the game tell me what I'm doing wrong? ive tried everything i can think of and would really enjoy getting back into the game.