-
Notifications
You must be signed in to change notification settings - Fork 581
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 Cannot run program "cl" #716
Labels
Comments
Please try to follow these instructions: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: