Open gmuecke opened 5 years ago
I faced similar trouble before.
My solution is doing the link by myself and adding argument /FORCE:UNRESOLVED
so that the linker will ignore the unresolved externals.
You can find the detail in the bottom of https://github.com/Wooyme/jfx-native-image-demo/blob/master/README.md
@Wooyme Is there a way to add that flag to the native-image maven plugin?
@pejovica it seems on Windows we do not respect -H:NativeLinkerOption
which would be required to allow users to add custom linker flags on Windows.
I'm trying to compile Vertx webservice into a native image on Windows 7, using the native-image-maven-plugin, unfortunately I get a link error in the end:
Using:
I'm not sure if this is a bug or if I'm missing something
Maven plugin config
The full logoutput: