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
D:\java\ltp\libltp>cd ltp-java/rust && make lib
cargo build --release
Updating git repository `https://github.com/AlongWY/onnxruntime-rs.git`
Updating crates.io index
Compiling winapi v0.3.9
Compiling proc-macro2 v1.0.54
Compiling quote v1.0.26
Compiling memchr v2.5.0
Compiling libc v0.2.140
Compiling windows_x86_64_msvc v0.42.2
Compiling log v0.4.17
Compiling syn v1.0.109
error: linker `link.exe` not found
|
= note: program not found
note: the msvc targets depend on the msvc linker but `link.exe` was not found
note: please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option.
note: VS Code is a different product, and is not sufficient.
error: could not compile `windows_x86_64_msvc` due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `log` due to previous error
error: could not compile `quote` due to previous error
error: could not compile `memchr` due to previous error
error: could not compile `syn` due to previous error
error: could not compile `proc-macro2` due to previous error
error: could not compile `libc` due to previous error
error: could not compile `winapi` due to previous error
make: *** [lib] Error 101
D:\java\ltp\libltp\ltp-java\rust>cd .. && gradle build
> Task :test FAILED
LTPTest > test() FAILED
java.lang.ExceptionInInitializerError at LTPTest.java:12
Caused by: java.lang.NullPointerException at LTPTest.java:12
1 test completed, 1 failed
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///D:/java/ltp/libltp/ltp-java/build/reports/tests/test/index.html
* 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
BUILD FAILED in 1s
4 actionable tasks: 1 executed, 3 up-to-date
我还在入门,不太懂这个,请帮忙看看。
谢谢 (^_^)
The text was updated successfully, but these errors were encountered:
我在使用
ltp-java
时编译报错本地环境:Windows 11 专业版 版本:22621.1265
我从仓库中把整个项目clone下来,
我还在入门,不太懂这个,请帮忙看看。
谢谢 (^_^)
The text was updated successfully, but these errors were encountered: