NME: problems building from source on Lion

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NME: problems building from source on Lion

David Peek-2
Hi List,

I'm just getting setup with a fresh install on Lion and I'm having some trouble compiling NME from source. Browsing the NME forums/mailing list/google brought up a pastie of my errors (http://www.copypastecode.com/76948/) but no possible solutions. Seems like I'm missing something fairly obvious, sorry if this has been answered before.

Best,
David

graphite:project dp$ haxelib run hxcpp Build.xml
g++ -Iinclude -I../../sdl-static/include -I../../sdl-static/include/SDL12 -DSDL_OGL -c -fvisibility=hidden -O2 -I/ws/hxcpp//include -DHX_MACOS -isysroot /Developer/SDKs/MacOSX10.5.sdk -m32 -mmacosx-version-min=10.5 -x c++ -frtti ./common/Surface.cpp -oobj/darwin//common/Surface.o
In file included from include/Graphics.h:5,
                 from ./common/Surface.cpp:1:
include/QuickVec.h:4:21: error: algorithm: No such file or directory
include/QuickVec.h:5:20: error: memory.h: No such file or directory
...etc etc etc...
--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: NME: problems building from source on Lion

David Peek-2
Turns out I hadn't restarted after installing XCode – rookie mistake :) Hopefully this will save someone some head scratching in the future.

David

On 17/10/2011, at 5:38 PM, David Peek wrote:

> Hi List,
>
> I'm just getting setup with a fresh install on Lion and I'm having some trouble compiling NME from source. Browsing the NME forums/mailing list/google brought up a pastie of my errors (http://www.copypastecode.com/76948/) but no possible solutions. Seems like I'm missing something fairly obvious, sorry if this has been answered before.
>
> Best,
> David
>
> graphite:project dp$ haxelib run hxcpp Build.xml
> g++ -Iinclude -I../../sdl-static/include -I../../sdl-static/include/SDL12 -DSDL_OGL -c -fvisibility=hidden -O2 -I/ws/hxcpp//include -DHX_MACOS -isysroot /Developer/SDKs/MacOSX10.5.sdk -m32 -mmacosx-version-min=10.5 -x c++ -frtti ./common/Surface.cpp -oobj/darwin//common/Surface.o
> In file included from include/Graphics.h:5,
>                 from ./common/Surface.cpp:1:
> include/QuickVec.h:4:21: error: algorithm: No such file or directory
> include/QuickVec.h:5:20: error: memory.h: No such file or directory
> ...etc etc etc...
> --
> haXe - an open source web programming language
> http://haxe.org


--
haXe - an open source web programming language
http://haxe.org