Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing jnijavacpp.cpp error #228

Closed
dlyubimov opened this issue Feb 26, 2018 · 3 comments
Closed

missing jnijavacpp.cpp error #228

dlyubimov opened this issue Feb 26, 2018 · 3 comments
Labels

Comments

@dlyubimov
Copy link

when compiling native package1.ClazzA and package2.ClazzB (in different packages two jni .so libraries) in the same maven javacpp plugin configuration, I get c++ compilation error

g++: error: /home/dmitriy/projects/[...]/classes/[...]/package2/javacpp/jnijavacpp.cpp: No such file or directory

note that package1 compilation .so target succeeds.

I.e., it seems jnijavacpp.cpp is not copied into all compilation .so targets.
1.3.2 does not exhibit this problem.

@saudet saudet added the bug label Feb 27, 2018
saudet added a commit that referenced this issue Mar 10, 2018
@saudet
Copy link
Member

saudet commented Mar 10, 2018

Fixed in the commit above! Thanks for reporting

@saudet
Copy link
Member

saudet commented Mar 31, 2018

Fix included in JavaCPP 1.4.1! Enjoy

@saudet saudet closed this as completed Mar 31, 2018
@dlyubimov
Copy link
Author

dlyubimov commented Mar 31, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants