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: Tamas Nepusz
Subject: Re: [igraph] C library compilation on Leopard
Date: Sun, 24 Feb 2008 23:50:36 +0100

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)?

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.,

gcc -o test test.c -framework igraph

Best,
--
T.





reply via email to

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