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

Does it supposed Matlab R2018a? #1129

Open
zkailong opened this issue Mar 31, 2018 · 16 comments
Open

Does it supposed Matlab R2018a? #1129

zkailong opened this issue Mar 31, 2018 · 16 comments

Comments

@zkailong
Copy link

zkailong commented Mar 31, 2018

hi. I have a problem when I using Matlab R2018a.
my environment:
OS:windows 10
cuda version:cuda8.0
cuDNN version:5.1
Visual Studio:v2013,v2015,v2017

...MEX File Compiled With One API And Linked With Another

error:vl_compilenn>mex_link (line 528)
mex(mopts{:}) ;

error:vl_compilenn (line 479)
mex_link(opts, objs, mex_dir, flags.mexlink) ;

How can I solve it?

@qwertyDvo
Copy link

I have same problem

@TaiXiangJiang
Copy link

I have the same problem with MATLAB R2018a

@qwertyDvo
Copy link

I solved the problem: use Matlab R2017a and visual studio 2015 c++ compiler

@zkailong
Copy link
Author

@nmasir I know that using Matlab R2017a with vs2015 can solve it. But I want to use Matlab R2018a...

@liyemei
Copy link

liyemei commented Apr 21, 2018

@zkailong I met same problem, Have you solved it?

@liyemei
Copy link

liyemei commented Apr 21, 2018

I have solved this problem. by using "flags.mexlink = {'-lmwblas'} " instead of "flags.mexlink = {''-largeArrayDims','-lmwblas'} ;

@zkailong
Copy link
Author

@liyemei Can you elaborate on it?

@liyemei
Copy link

liyemei commented Apr 23, 2018

@zkailong At the line 359 of vl_compilenn.m. by using "flags.mexlink = {'-lmwblas'} " instead of "flags.mexlink = {''-largeArrayDims','-lmwblas'} ;

@yiminglin-ai
Copy link

Same problem here. @liyemei 's methods solved my problem! thanks

@malrabeiah
Copy link

Hi , I tried the solution @liyemei suggested, but I got another error:

Error using mex
Microsoft (R) Manifest Tool version 6.3.9600.17336

Copyright (c) Microsoft Corporation 2012.

All rights reserved.

mt : general error c101008d: Failed to write the updated manifest to the resource
of file
"C:\Users\alrabm\Documents\MATLAB\MatConvNet\matconvnet-1.0-beta25\matlab\mex\vl_nnconvt.mexw64".
The system cannot open the device or file specified.

Any ideas what went wrong there??
PS: I am using Cuda 9.0 and visual studio 2015

Thanks...

@liyemei
Copy link

liyemei commented May 11, 2018

@malrabeiah Try to put the MatConvNet folder in another root directory,for example, put it in "C:/ MatConvNet". It does not seem to have administrator rights,so, you can run the program as an administrator

@rudavsky
Copy link

@zkailong At the line 359 of vl_compilenn.m. by using "flags.mexlink = {'-lmwblas'} " instead of "flags.mexlink = {''-largeArrayDims','-lmwblas'} ;
@liyemei thang you, it worked for me too

@vickykhan89
Copy link

@liyemei I cant found this source in line # 359 : flags.cc = horzcat(flags.cc, opts.imageLibraryCompileFlags) ;
I have this line of code in vl_compilenn.m, Could you please more explain to me. I will be thankful.

@liyemei
Copy link

liyemei commented May 31, 2020

@vickykhan89
You can try searching for keywords " lmwblas"。

@fangchunyu
Copy link

@vickykhan89 You can try searching for keywords " lmwblas"。

I have an error in line 635:
mex(args{:}) ;
MEX File Compiled With R2017b And Linked With R2018a.

I have modified the code in line 635 and I haven't installed R2017b
Could you please provide any advice for me?
Thank you so much

@liyemei
Copy link

liyemei commented Feb 22, 2022 via email

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

9 participants