Results 1 to 1 of 1
  1. #1
    Chris_12345 is offline Member
    Join Date
    Jun 2012
    Posts
    1
    Rep Power
    0

    Default What am I doing wrong in my attempts at using a dot lib file for a DLL project

    I'm using Windows 7, NetBeans 7.1.2 and the C:\MinGW\bin\g++.exe compiler/linker.

    I have 2 projects. A Java project get data from a C++ project via JNI (the Java Navtive Interface).

    My problem involves trying to reference a static library using linker options such as "-l" and "-L". This was unsuccessful because the "-l" option only takes the name of the library and not a path to the library file. The "L" option takes a path to the folder with the library, but it did not work for me.

    So, my question is how do you reference a static library within NetBeans?

    Thanks
    Last edited by Chris_12345; 06-27-2012 at 10:11 PM. Reason: Found More Information

Similar Threads

  1. Read from file returns zero, which is WRONG!
    By quinnvanorder in forum New To Java
    Replies: 5
    Last Post: 05-07-2012, 12:20 AM
  2. password with hidden characters and 3 attempts
    By khay in forum New To Java
    Replies: 7
    Last Post: 12-05-2010, 03:44 PM
  3. limit login attempts
    By tooker22 in forum CLDC and MIDP
    Replies: 2
    Last Post: 08-15-2010, 04:48 PM
  4. Creating JAR file goes wrong.
    By dudejonne in forum New To Java
    Replies: 6
    Last Post: 11-02-2009, 05:32 PM
  5. Replies: 0
    Last Post: 02-11-2009, 10:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •