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

how to add quarkus to this project? #61

Open
jiangyubao opened this issue Nov 18, 2021 · 3 comments
Open

how to add quarkus to this project? #61

jiangyubao opened this issue Nov 18, 2021 · 3 comments

Comments

@jiangyubao
Copy link

hi,
I can compile this project on ubuntu, and the native run ok.

but When i add dependency to quarkus project, and it can't be compiled.

will you show me an example?

@saudet
Copy link
Member

saudet commented Nov 18, 2021

What's the error message that you are getting? In any case, it works fine with GraalVM Native Image: https://github.com/bytedeco/sample-projects/tree/master/opencv-stitching-native

@jiangyubao
Copy link
Author

The error message is :
https://github.com/jiangyubao/opencv_server/blob/master/error.log

and you can clone my project to test:

https://github.com/jiangyubao/opencv_server

I checkout your project https://github.com/bytedeco/sample-projects/tree/master/opencv-stitching-native, and yes, it works fine. But will you please add quarkus to opencv-stitching-native to test?

@saudet
Copy link
Member

saudet commented Nov 18, 2021

If you cannot have static blocks executed at runtime, you can disable that thread by setting the "org.bytedeco.javacpp.nopointergc" system property to "true".

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

No branches or pull requests

2 participants