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
MATCONVNET: compiled with '-R2018a' and linked with '-R2017b'. #1200
Comments
Error in vl_compilenn>mex_link (line 627) Error in vl_compilenn (line 500) |
Hi there im getting the same error. any luck in fixing this? |
Hey! Getting the same error here as well. Have you managed to figure it out yet? |
I fixed this issue a long time ago to support older and newer version of Matlab. Rather than show the individual lines of code that I modified, I'm going to just paste the whole code below. Basically, Matlab 2018a are using different libraries and the compiler needs to know that. I work with computers that have various versions of Matlab on them, so I had to have a solution that would allow people to compile MatConvNet on old and new versions. You should completely replace all of the code in vl_compilenn.m with what I have here, then it will compile regardless of what version of Matlab you are running.
|
@Nicholas-Schaub |
@Shiyong2019 |
@Nicholas-Schaub |
@Shiyong2019 It's in the MatConvNet repository. Not sure why it's missing on your machine. https://github.com/vlfeat/matconvnet/blob/master/matlab/src/bits/nnnormalizelp.cu |
@Nicholas-Schaub |
Used your code but then got the reversed problem: compiled with R2017a but linked to R2018a. I'm using CUDA_10.0, cudnn_7.3.0, Matlab R2019a, matconvnet-1.0-beta25 |
I used matconvnet-1.0-beta25, visual studio community 2017, MATLAB 2019a, CUDA 10.0, and cudnn64_7.dll After fixing the following issues, it worked fine.
|
Do not use your matlab version. You must use '-R2018a' because it is the mex api version. See the mex docs. |
I get the following error. Could you please help with this. It is getting frustrating. |
It's effective, and your code and links is helpful to me to configure MatConvNet. |
hey Error in vl_compilenn (line 279) how to solve this issue please help me its an emergency....!!1 |
Hi everyone,
When i run vl_compilenn('enableGpu', true) in matconvnet's matlab directory, i got the error below.
i have been working on it for hours searching , i uninstall VisualStudio2017 community 15.0 version, and install Visual Studio 2015 community update 3 but nothing changed so far.
I will be very grateful if you can help.
nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ignored.
nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ignored.
vl_nnbilinearsampler.cu
.
.
.
.
vl_nnbnorm.cu
Error using mex
'C:\matconvnet-1.0-beta25\matlab\mex\vl_nnconv.mexw64' compiled with '-R2018a' and linked with
'-R2017b'. For more information, see MEX file compiled with one API and linked with another.
Error in vl_compilenn>mex_link (line 627)
mex(args{:}) ;
Error in vl_compilenn (line 500)
mex_link(opts, objs, flags.mex_dir, flags) ;
The text was updated successfully, but these errors were encountered: