Some issues building EigenD on Lion.
I have XCode 3.2.6 and XCode 4.1 installed. Seems that 4.1 tries to remove gcc 4.0. I thought this was the problem as EigenD build could not find gcc++-4.0.
There is a version left here
/Developer-3.2.6/usr/bin
Soft linked to that.
Scons seems to have issues finding my standard BSD libraries even though they exist.
[Chaos-3:/Developer-3.2.6/Projects/Eigenlabs-EigenD-184a209] chrislloyd% make
scons: Reading SConscript files ...
platform: macosx-i386 python: /usr/pi/bin/python
clearing /Developer-3.2.6/Projects/Eigenlabs-EigenD-184a209/tmp/stage
clearing /Developer-3.2.6/Projects/Eigenlabs-EigenD-184a209/tmp/pkg
pip: tmp/bin/pip
building release 1.4.5-experimental
scons: done reading SConscript files.
scons: Building targets ...
tmp/obj/lib_alpha2/src/a2dump.o (g++-4.0)
lib_alpha2/src/a2dump.cpp:24:20: error: unistd.h: No such file or directory
lib_alpha2/src/a2dump.cpp:30:18: error: cstdio: No such file or directory
lib_alpha2/src/a2dump.cpp:31:19: error: cstring: No such file or directory
lib_alpha2/src/a2dump.cpp:32:19: error: cstdlib: No such file or directory
In the same folder if I create a file called x.c with these contents
// BTW, these imports Had angle brackets around them but forum is stripping // them, so they are shown with quotes here.
#include "math.h";
#include "unistd.h";
#include "stdlib.h";
int main(void) { return 0; }
The compile it
gcc++-4.0 x.c
It has no issues finding the same libraries.
I'm not familiar with using SCons. Seems to rely on Python.
I did note that it's using python here
platform: macosx-i386 python: /usr/pi/bin/python
This is an older version
Python 2.5.1 (r251:54863, May 27 2007, 10:54:54)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
The Python version in my system path is
Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Have you guys had any issues building on Lion?
Any ideas?
Thx.