igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] C library compilation on Leopard


From: Lacón Grelos
Subject: Re: [igraph] C library compilation on Leopard
Date: Mon, 25 Feb 2008 07:47:39 +0100


El 24/02/2008, a las 23:50, Tamas Nepusz escribió:

It did work. There was a minor problem with the include files at the end (headers *.h were put by hand in /usr/local/igraph), but it is working now.
Do you mean that invoking "make install" put the headers at the wrong directory (/usr/local/igraph)?

What happened is that folder /usr/local/igraph was not created. I simply created it and move header files igraph-0.5/src/include/*.h there. It is working now.

Another trick that you might find useful (if you intend to use the C library directly in OS X using XCode) is that you can simply create an OS X framework by invoking "make framework" in the igraph root directory. The framework will be created in a directory called igraph.framework. You can simply move that to /Library/Frameworks (or symlink it from there) to make it accessible from framework- aware IDEs. Or, alternatively, you can use OS X specific gcc switches to compile C programs using the framework version. E.g.,
Thanks for the hint. I will try that.
Best



gcc -o test test.c -framework igraph

Best,
--
T.



_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help





reply via email to

[Prev in Thread] Current Thread [Next in Thread]