« Return to Thread: Swig execution problem

Swig execution problem

by Bharani V :: Rate this Message:

Reply to Author | View in Thread

Hi All,

I'm new to swig. We need to develop a product which needs help from SWIG.

so just initially we tried the sample program. The example is from the following link
http://www.swig.org/tutorial.html

we are unable to get the output.

we followed the steps given there..

we can do it till the compilation if the main.java file.
thereafter we couldn't run the main.java file ( java main)

it throws the error

Exception in thread "main" java.lang.UnsatisfiedLinkError: exampleJNI.My_variable_get()D
        at exampleJNI.My_variable_get(Native Method)
        at example.getMy_variable(example.java:16)
        at main.main(main.java:4)

we are using linux platform..

can anybody tell the exact step by step procedure to run the program..

thanks in advance
--
Thanks & Regards
Bharani

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

 « Return to Thread: Swig execution problem