Menu

LibusbJava.dll build

Help
2008-11-25
2012-12-06
  • Andrzej Zydron

    Andrzej Zydron - 2008-11-25

    Hi,

    Thank you for such a great piece of software! It is an impressive package.

    I am trying to rebuild the LibusbJava.dll under windows after making some chanhes to the Java classes, but the resultant DLL will not load. I am using the standard build.xml ant script that comes with the distribution. I have Cygwin installed and and using gcc version 3.4.4. When I look at the newly built DLL file it lacks the:

    _DllMainCRTStartup@12
    _first_atexit
    _next_atexit
    ___do_sjlj_init

    symbols. Could you give me some guidance as to the best way of rebuilding LibusbJava.

    Thanks in advance,

    AZ

     
    • andi

      andi - 2008-11-25

      I've always built the library using MinGW http://www.mingw.org/. As far as I know if you use cygwin you will have a dependency on cygwin1.dll.

      The version I used for the current dll is 'gcc version 3.4.2 (mingw-special)'.

      Hope that helps...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.