Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » build with c++ library
build with c++ library [message #276334] Sun, 21 November 2004 18:41
Eclipse UserFriend
I'm trying to build a Java project that will use the JNI to call methods
from a C++ library. I wrote the C++ code and wrote the make file to
create a library file, let's call it mycpplib.a

I've tried setting the LD_LIBRARY_PATH to the path of mycpplib.a, but i
get a 'does not point to an existing archive' message.

I've tried to define the path in Run -> MyJavaProject -> Arguments -> VM
arguments:
-Djava.library.path=/path/to/mycpplib.a
but i get an UnsatisfiedLinkError in java.library.path.

Its easy enough to link a jar file, but this is different somehow.
What is the problem?
Previous Topic:Adding menu items dynamically to context menu
Next Topic:problem about quick diff
Goto Forum:
  


Current Time: Thu May 08 14:43:47 EDT 2025

Powered by FUDForum. Page generated in 0.02959 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top