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

Error when compiling Matconvnet for the GPU: MEX cannot find library 'gpu' #1266

Open
FRA32 opened this issue Aug 15, 2024 · 0 comments
Open

Comments

@FRA32
Copy link

FRA32 commented Aug 15, 2024

I am trying to install Matconvnet for use with other packages. CPU compilation succeeds, but CUDA compilation fails.
Mex is trying to find a "gpu.lib" file or "libgpu.lib" file, but no such file exists in my versions of the CUDA Toolkit. Neither can I find any information online about these files, why they would be missing, or how I could replace them.

Matlab Version: R2024a
CUDA version: v12.5 (Have also attempted v8.0)
Visual C++: 2022

Error Message:

Error using mex
MEX cannot find library 'gpu', specified with the -l option.
 MEX searched for a file with one of the following names:
 libgpu.lib
gpu.lib
 Verify the library name is correct. If the library is not
 on the existing path, specify the path with the -L option.
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

1 participant