[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Igraph with JNI
From: |
Gang Su |
Subject: |
[igraph] Igraph with JNI |
Date: |
Mon, 27 Jul 2009 11:48:22 -0400 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.2) |
Hi Developers,
I am thinking about trying to bridge igraph with JAVA via JNI on
windows. The way how JNI works is to link Java via JNI to native C
functions. The C source is complied to a shared library DLL file.
Does anyone have worked on this before? From the tutorial, i found the
way to compile c source:
"Quote"
gcc igraph_test.c -I/usr/local/igraph -L/usr/local/lib -ligraph -o igraph_test
where the The directory after the -I switch is the one containing the
igraph.h file, while the one following -L should contain the library
file itself, usually a file called libigraph.so, libigraph.a or
igraph.dll
"Quote"
Where actually I can find this igraph.dll in the igraph R package.
So my question is if I compile a c file using igraph librarys, and it
can be compiled successfully, will it be able to run standalone? Or I
have to at least let the dll point to all the igraph dlls?
Sorry for the confusion of the question, I haven't been working with C
for a while. If i can make java calls to native igraph functions that
will be very nice.
Thank you for your time and help!
Gang
Gang Su
PhD student
Bioinformatics training track
Program in Biomedical Sciences
University of Michigan, Ann Arbor
MI, 48105, U.S.A.
- [igraph] Igraph with JNI,
Gang Su <=
Re: [igraph] Igraph with JNI, Gang Su, 2009/07/28
Re: [igraph] Igraph with JNI, Jose Quesada, 2009/07/28
Re: [igraph] Igraph with JNI, Gábor Csárdi, 2009/07/28