Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

barijazz

macrumors 6502
Original poster
Dec 29, 2007
326
1
I've really gotten into warcraft 3 lately, and am trying to set up a bot to manage hosting in the game. Ghost++ is the bot I am trying to set up, but its only available for windows and linux. I set up a linux program in Mac OS X a while ago, but I can't remember how I did it other than using X11 and the terminal. Is there even a way to do this?
 
You can't run Linux programs on OS X, but since the two operating systems have some similarities, it's possible to get the source code for certain apps to compile on OS X. The amount of work required ranges from "none" to "a lot" depending on how cross-platform it was written, and some other factors. So the first step is to get the source code. If it's not available, then you're out of luck unless you want to run Linux in a virtual machine or something.

--Eric
 
How do I compile the code? And what parts of the code do I need to edit?
 
I opened the stormlib.xcode.proj in xcode, but the compile button is grayed out. When I selected a file it lets me compile it but I'm not sure which file to compile. I'll keep experimenting, but any pointers would help. :)
 
According to the wiki, it doesn't run on OS X

http://mm2knet.de/ghost/index.php/Main_Page

It runs on Linux!, on Windows too and also on FreeBSD! It can't run on Mac OS X right now =(

The code itself says otherwise. A few alterations and it'll probably work. It also looks like they've coded a Carbon GUI.

Now where was that Xcode project found? I just used the makefile.
 
The code itself says otherwise. A few alterations and it'll probably work. It also looks like they've coded a Carbon GUI.

Now where was that Xcode project found? I just used the makefile.

I found it in Ghost> StormLib> Stormlib.xcodeproj
 
Does anyone know what alterations to make or how to compile the code? I'm not much of a programmer so I don't have a clue.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.