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

Windows version #8

Closed
venkatkrishnappa opened this issue Sep 13, 2019 · 9 comments
Closed

Windows version #8

venkatkrishnappa opened this issue Sep 13, 2019 · 9 comments

Comments

@venkatkrishnappa
Copy link

Is there a windows version of dataweave cli ? If not can it be added ?

@machaval
Copy link
Contributor

We are planning to add one. We just need to see how to configure travis to build it.

@venkatkrishnappa
Copy link
Author

Thanks for the confirmation. Will wait for it to be added :)

@machaval
Copy link
Contributor

Currently I found that we are limited by our gradle plugin. So if you can vote this issue palantir/gradle-graal#184 so it can get done

@venkatkrishnappa
Copy link
Author

Have voted. Thanks

@vishalhalbe
Copy link

guys is this available now? where do I download it from?

@rubin55
Copy link

rubin55 commented Feb 7, 2020

Lacking a windows binary, maybe some build instructions? I managed to build it using gradle build but I'm not entirely sure the output is actually runnable, or even, where it is; any pointers appreciated!

I actually came pretty far. I have Visual Studio 2019 Build Tools installed, AdoptOpenJDK HotSpot Java 8 r242, Gradle, but am blocked by a final failure which seems fairly trivial:

  1. vcvarsall x86_amd64
  2. git clone git@github.com:mulesoft-labs/data-weave-native.git
  3. cd data-weave-native
  4. gradle build
  5. cd native-cli
  6. gradle nativeImage

After the last command I get this:

C:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli>gradle nativeImage

> Configure project :native-common
C:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-common\..\gradle.properties

> Task :native-cli:nativeImage
[dw:8636]    classlist:  33,859.19 ms
[dw:8636]        (cap):   5,396.19 ms
[dw:8636]        setup:   9,700.90 ms
[dw:8636]   (typeflow):  45,482.46 ms
[dw:8636]    (objects):  43,885.10 ms
[dw:8636]   (features):   5,485.81 ms
[dw:8636]     analysis: 102,108.05 ms
[dw:8636]     (clinit):   8,527.43 ms
[dw:8636]     universe:  11,726.98 ms
[dw:8636]      (parse):  13,142.16 ms
[dw:8636]     (inline):  16,521.16 ms
[dw:8636]    (compile):  66,390.56 ms
[dw:8636]      compile: 102,636.69 ms
[dw:8636]        image:  10,542.12 ms
[dw:8636]        write:   1,875.93 ms
Fatal error: java.lang.RuntimeException: java.lang.RuntimeException: host C compiler or linker does not seem to work: java.lang.RuntimeException: returned 2

Running command: CL /MD /Zi /PDBSTRIPPED /FeC:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli\build\graal\dw.exe C:\Users\rubin\AppData\Local\Temp\SVM-8204920429667047208\dw.obj C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\ffi.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\net.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\nio.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\java.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\libchelper.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\strictmath.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\jvm.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\zip.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\ffi.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\net.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\nio.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\java.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\libchelper.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\strictmath.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\jvm.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\zip.lib /link /INCREMENTAL:NO /NODEFAULTLIB:LIBCMT /NODEFAULTLIB:OLDNAMES /LIBPATH:C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib /LIBPATH:C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64 advapi32.lib ws2_32.lib secur32.lib iphlpapi.lib

Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28316 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '/PDBSTRIPPED'
Microsoft (R) Incremental Linker Version 14.24.28316.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/debug
/out:C:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli\build\graal\dw.exe
/INCREMENTAL:NO /NODEFAULTLIB:LIBCMT /NODEFAULTLIB:OLDNAMES
/LIBPATH:C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib
/LIBPATH:C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64
advapi32.lib
ws2_32.lib
secur32.lib
iphlpapi.lib
C:\Users\rubin\AppData\Local\Temp\SVM-8204920429667047208\dw.obj
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\ffi.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\net.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\nio.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\java.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\libchelper.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\strictmath.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\jvm.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\zip.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\ffi.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\net.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\nio.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\java.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\libchelper.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\strictmath.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\jvm.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\zip.lib
   Creating library C:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli\build\graal\dw.lib and object C:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli\build\graal\dw.exp
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_ec_ECDHKeyAgreement_deriveKey
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_ec_ECDSASignature_signDigest
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_ec_ECDSASignature_verifySignedDigest
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_ec_ECKeyPairGenerator_generateECKeyPair
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_ec_ECKeyPairGenerator_isCurveSupported
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_krb5_Config_getWindowsDirectory
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_krb5_SCDynamicStoreConfig_getKerberosConfig
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_mscapi_KeyStore_loadKeysOrCertificateChains
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_mscapi_PRNG_generateSeed
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_mscapi_RSAKeyPairGenerator_generateRSAKeyPair
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_mscapi_RSASignature_generatePublicKeyBlob
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_mscapi_RSASignature_importPublicKey
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_smartcardio_PCSC_SCardEstablishContext
net.lib(NetworkInterface.obj) : error LNK2019: unresolved external symbol __imp__snprintf_s referenced in function enumInterfaces
java.lib(Console_md.obj) : error LNK2001: unresolved external symbol __imp_sprintf
net.lib(TwoStacksPlainDatagramSocketImpl.obj) : error LNK2001: unresolved external symbol __imp_sprintf
net.lib(ResolverConfigurationImpl.obj) : error LNK2001: unresolved external symbol __imp_sprintf
net.lib(net_util_md.obj) : error LNK2001: unresolved external symbol __imp_sprintf
net.lib(NetworkInterface_winXP.obj) : error LNK2001: unresolved external symbol __imp_sprintf
net.lib(net_util_md.obj) : error LNK2019: unresolved external symbol __imp_printf referenced in function dumpAddr
jvm.lib(JvmFuncs.obj) : error LNK2001: unresolved external symbol __imp_printf
java.lib(jni_util.obj) : error LNK2019: unresolved external symbol __imp_fprintf referenced in function JNU_PrintString
java.lib(jni_util.obj) : error LNK2019: unresolved external symbol __imp___iob_func referenced in function JNU_PrintString
jvm.lib(JvmFuncs.obj) : error LNK2019: unresolved external symbol __imp_vfprintf referenced in function jio_vfprintf
jvm.lib(JvmFuncs.obj) : error LNK2019: unresolved external symbol __imp_vsnprintf referenced in function jio_vsnprintf
MSVCRT.lib(vsnprintf.obj) : error LNK2001: unresolved external symbol __imp_vsnprintf
MSVCRT.lib(vsnprintf.obj) : error LNK2001: unresolved external symbol __imp__vsnprintf
C:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli\build\graal\dw.exe : fatal error LNK1120: 21 unresolved externals

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)
        at java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1005)
        at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:461)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:310)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:448)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:113)
Caused by: java.lang.RuntimeException: host C compiler or linker does not seem to work: java.lang.RuntimeException: returned 2

Running command: CL /MD /Zi /PDBSTRIPPED /FeC:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli\build\graal\dw.exe C:\Users\rubin\AppData\Local\Temp\SVM-8204920429667047208\dw.obj C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\ffi.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\net.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\nio.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\java.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\libchelper.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\strictmath.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\jvm.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\zip.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\ffi.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\net.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\nio.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\java.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\libchelper.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\strictmath.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\jvm.lib C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\zip.lib /link /INCREMENTAL:NO /NODEFAULTLIB:LIBCMT /NODEFAULTLIB:OLDNAMES /LIBPATH:C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib /LIBPATH:C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64 advapi32.lib ws2_32.lib secur32.lib iphlpapi.lib

Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28316 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '/PDBSTRIPPED'
Microsoft (R) Incremental Linker Version 14.24.28316.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/debug
/out:C:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli\build\graal\dw.exe
/INCREMENTAL:NO /NODEFAULTLIB:LIBCMT /NODEFAULTLIB:OLDNAMES
/LIBPATH:C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib
/LIBPATH:C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64
advapi32.lib
ws2_32.lib
secur32.lib
iphlpapi.lib
C:\Users\rubin\AppData\Local\Temp\SVM-8204920429667047208\dw.obj
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\ffi.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\net.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\nio.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\java.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\libchelper.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\strictmath.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\jvm.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\zip.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\ffi.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\net.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\nio.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\java.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\libchelper.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\strictmath.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\svm\clibraries\windows-amd64\jvm.lib
C:\Users\rubin\.gradle\caches\com.palantir.graal\19.2.1\graalvm-ce-19.2.1\jre\lib\zip.lib
   Creating library C:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli\build\graal\dw.lib and object C:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli\build\graal\dw.exp
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_ec_ECDHKeyAgreement_deriveKey
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_ec_ECDSASignature_signDigest
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_ec_ECDSASignature_verifySignedDigest
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_ec_ECKeyPairGenerator_generateECKeyPair
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_ec_ECKeyPairGenerator_isCurveSupported
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_krb5_Config_getWindowsDirectory
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_krb5_SCDynamicStoreConfig_getKerberosConfig
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_mscapi_KeyStore_loadKeysOrCertificateChains
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_mscapi_PRNG_generateSeed
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_mscapi_RSAKeyPairGenerator_generateRSAKeyPair
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_mscapi_RSASignature_generatePublicKeyBlob
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_mscapi_RSASignature_importPublicKey
dw.obj : error LNK2001: unresolved external symbol Java_sun_security_smartcardio_PCSC_SCardEstablishContext
net.lib(NetworkInterface.obj) : error LNK2019: unresolved external symbol __imp__snprintf_s referenced in function enumInterfaces
java.lib(Console_md.obj) : error LNK2001: unresolved external symbol __imp_sprintf
net.lib(TwoStacksPlainDatagramSocketImpl.obj) : error LNK2001: unresolved external symbol __imp_sprintf
net.lib(ResolverConfigurationImpl.obj) : error LNK2001: unresolved external symbol __imp_sprintf
net.lib(net_util_md.obj) : error LNK2001: unresolved external symbol __imp_sprintf
net.lib(NetworkInterface_winXP.obj) : error LNK2001: unresolved external symbol __imp_sprintf
net.lib(net_util_md.obj) : error LNK2019: unresolved external symbol __imp_printf referenced in function dumpAddr
jvm.lib(JvmFuncs.obj) : error LNK2001: unresolved external symbol __imp_printf
java.lib(jni_util.obj) : error LNK2019: unresolved external symbol __imp_fprintf referenced in function JNU_PrintString
java.lib(jni_util.obj) : error LNK2019: unresolved external symbol __imp___iob_func referenced in function JNU_PrintString
jvm.lib(JvmFuncs.obj) : error LNK2019: unresolved external symbol __imp_vfprintf referenced in function jio_vfprintf
jvm.lib(JvmFuncs.obj) : error LNK2019: unresolved external symbol __imp_vsnprintf referenced in function jio_vsnprintf
MSVCRT.lib(vsnprintf.obj) : error LNK2001: unresolved external symbol __imp_vsnprintf
MSVCRT.lib(vsnprintf.obj) : error LNK2001: unresolved external symbol __imp__vsnprintf
C:\Users\rubin\Syncthing\Source\Other\data-weave-native\native-cli\build\graal\dw.exe : fatal error LNK1120: 21 unresolved externals

        at com.oracle.svm.hosted.image.NativeBootImageViaCC.write(NativeBootImageViaCC.java:350)
        at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:657)
        at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:444)
        at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1386)
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Error: Image build request failed with exit status 1

> Task :native-cli:nativeImage FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':native-cli:nativeImage'.
> Process 'command 'cmd.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4m 53s
10 actionable tasks: 4 executed, 6 up-to-date

@machaval
Copy link
Contributor

Hi all we are going to try it to build it using github actions 🤞

@machaval
Copy link
Contributor

After several days of working it is finally here!!! Please try it out and let us know

@machaval
Copy link
Contributor

Look at the Readme for the new link ;)

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

No branches or pull requests

4 participants