LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: SeanAmadio on April 06, 2013, 02:43:20

Title: GitHub Build Issue OSX
Post by: SeanAmadio on April 06, 2013, 02:43:20
I'm having a problem trying to build the latest version of LWJGL from the GitHub repo. Everything builds fine except for the native libraries where it runs into a problem:
Cannot run program "${gcc.name}" (in directory "/lwjgl/bin/lwjgl/i386"): error=2, No such file or directory

Can anyone tell me if this is a problem on my end or what's going on? I've been using the nightly builds to fix the Java 7 issue so no rush.
Title: Re: GitHub Build Issue OSX
Post by: kappa on April 06, 2013, 12:53:07
You need to have GCC installed. If you are running OS X 10.7+ then it doesn't come pre-installed. Install XCode first, then run XCode go to preferences, then Downloads. From there install the 'Command Line Tools'. It should build fine after than.
Title: Re: GitHub Build Issue OSX
Post by: SeanAmadio on April 06, 2013, 16:29:36
Wow I feel silly now, I was sure I had already done that but maybe it was on a different computer. Thanks anyway.