sample-projects icon indicating copy to clipboard operation
sample-projects copied to clipboard

how to add quarkus to this project?

Open jiangyubao opened this issue 4 years ago • 3 comments

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?

jiangyubao avatar Nov 18 '21 11:11 jiangyubao

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

saudet avatar Nov 18 '21 11:11 saudet

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?

jiangyubao avatar Nov 18 '21 13:11 jiangyubao

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".

saudet avatar Nov 18 '21 13:11 saudet