adam-faulkner / jnaerator

Automatically exported from code.google.com/p/jnaerator
0 stars 0 forks source link

failure when "java -jar jnaerator-0.9.8-shaded.jar -scalaStructSetters S.c" #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  java -jar jnaerator-0.9.8-shaded.jar -scalaStructSetters -v S.c
2.
3.

What is the expected output? What do you see instead?

=================================
[...]

Generating libraries...
Compiling JNAerated files...
----------
1. WARNING in file:///s/SLibrary.java (at line 3)
    import com.ochafik.lang.jnaerator.runtime.MangledFunctionMapper;
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import com.ochafik.lang.jnaerator.runtime.MangledFunctionMapper is never 
used
----------
1 problem (1 warning)Copying runtime classes...
JNAeration failed !
java.io.FileNotFoundException: 
com/ochafik/util/listenable/DefaultListenableMap$4$2.class
    at com.ochafik.lang.jnaerator.JNAerator.addRuntimeClasses(JNAerator.java:1049)
    at com.ochafik.lang.jnaerator.JNAerator.jnaerate(JNAerator.java:856)
    at com.ochafik.lang.jnaerator.JNAerator$1.finished(JNAerator.java:729)
    at com.ochafik.lang.jnaerator.JNAeratorCommandLineArgs$ArgsParser.parse(JNAeratorCommandLineArgs.java:98)
    at com.ochafik.lang.jnaerator.JNAerator.main(JNAerator.java:294)
    at com.ochafik.lang.jnaerator.JNAerator.main(JNAerator.java:175)
Finished with errors.

=========================================
What version of the product are you using? 

jnaerator-0.9.8-shaded.jar

On what operating system?

Fedora 14

Is the problem still present in the latest SVN version ? (you can easily
build from sources with these instructions :
http://code.google.com/p/javacl/wiki/Build)

Please provide any additional information below.

Original issue reported on code.google.com by Lacramio...@gmail.com on 28 Sep 2011 at 7:21

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,

Thanks a lot for this bug report !

I'm sorry about this, but the bug tracker has recently moved to GitHub (see the 
Issues page : http://code.google.com/p/jnaerator/wiki/Issues?tm=3).

Could you be so kind as to creating your issue report directly on GitHub ? 
That's where all the work now happens (issues + code versioning). Also, if 
you've found a direct link to the issue creation page on Google Code's tracker, 
please let me know so I can remove/update it.

Thanks in advance !

Cheers
--
zOlive

Original comment by olivier.chafik@gmail.com on 28 Sep 2011 at 10:08

GoogleCodeExporter commented 8 years ago
Hi again,

Turns out this issue was already reported for 0.9.8 and fixed in 0.9.9-SNAPSHOT 
:
https://groups.google.com/group/nativelibs4java/browse_thread/thread/c021a6cfedd
f02ed/e312fbda4344af1f?hl=fr&lnk=gst

Thanks again for reporting it, please let me know (preferably on github) if the 
problem persists with 0.9.9-SNAPSHOT.

Cheers
--
zOlive

Original comment by olivier.chafik@gmail.com on 28 Sep 2011 at 10:15