Hi,

I have a question about installing nlopt matlab plugins on Windows. I 
downloaded the zip file, and created the .lib file using VS, following the 
instruction online. However, I failed to compile it using mex. I tried mex -v 
nlopt_optimize.c libnlopt-0.lib, but got a bunch of errors like Error using mex
C:\Users\Jaewon\AppData\Local\Temp\mex_17125547961730431_276308\nlopt_optimize.obj:nlopt_optimize.c:(.text+0x4df):
undefined reference to `__imp_nlopt_force_stop’ ...
The full error message can be found 
https://www.mathworks.com/matlabcentral/answers/380072-mex-error-undefined-reference
 
<https://www.mathworks.com/matlabcentral/answers/380072-mex-error-undefined-reference>
Has anyone had the same problem before? I would appreciate it very much if 
anyone can help with that. 

Thank you very much,
Shi
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to