We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
已经按readme下载了libtorch, llvm-mingw,配置了环境变量
在运行mlp的时候报错
# command-line-arguments C:\Users\CaoChun\.g\go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1 lld: error: unable to find library -lgotorch clang-17: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
windows下需要添加以下环境变量
LIBRARY_PATH="D:\libtorch\lib" Path="D:\libtorch\lib;<mingw所在路径>\bin"
Sorry, something went wrong.
windows下需要添加以下环境变量 LIBRARY_PATH="D:\libtorch\lib" Path="D:\libtorch\lib;<mingw所在路径>\bin"
这两个环境变量都添加了,还是这个提示
看了一下源码,// #cgo LDFLAGS: -lgotorch 安装的第2步,下载[libgotorch],windows 应该把 gotorch_cpu.dll 改成 gotorch.dll
是的
No branches or pull requests
已经按readme下载了libtorch, llvm-mingw,配置了环境变量
在运行mlp的时候报错
The text was updated successfully, but these errors were encountered: