You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if not add cl path to system path
error: Cannot run program "cl"
if add cl path to system path
error:
jniTest.cpp
C:\Program Files\Java\jdk1.8.0_181\include\jni.h(39): fatal error C1083: 无法打开包括文件: “stdio.h”: No such file or directory
jnijavacpp.cpp
C:\Program Files\Java\jdk1.8.0_181\include\jni.h(39): fatal error C1083: 无法打开包括文件: “stdio.h”: No such file or directory
Exception in thread "main" java.lang.RuntimeException: Process exited with an error: 2
at org.bytedeco.javacpp.tools.Builder.generateAndCompile(Builder.java:620)
at org.bytedeco.javacpp.tools.Builder.build(Builder.java:1167)
at org.bytedeco.javacpp.tools.Builder.main(Builder.java:1450)
The text was updated successfully, but these errors were encountered:
env:
windows10 22H2
mingw64
visual stdio 2022
cl path: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64
if not add cl path to system path
error: Cannot run program "cl"
if add cl path to system path
error:
jniTest.cpp
C:\Program Files\Java\jdk1.8.0_181\include\jni.h(39): fatal error C1083: 无法打开包括文件: “stdio.h”: No such file or directory
jnijavacpp.cpp
C:\Program Files\Java\jdk1.8.0_181\include\jni.h(39): fatal error C1083: 无法打开包括文件: “stdio.h”: No such file or directory
Exception in thread "main" java.lang.RuntimeException: Process exited with an error: 2
at org.bytedeco.javacpp.tools.Builder.generateAndCompile(Builder.java:620)
at org.bytedeco.javacpp.tools.Builder.build(Builder.java:1167)
at org.bytedeco.javacpp.tools.Builder.main(Builder.java:1450)
The text was updated successfully, but these errors were encountered: