Hi
I have been trying to install this on windows platform in MATLAB 2018a. After building successfully using mingw32, matlab_compile.m shows error
MEX cannot find library 'bayesopt' specified with the -l option. MEX looks for a file with one of the names: libbayesopt.lib bayesopt.lib Please specify the path to this library with the -L option.
The lib files generated after building the source code are located in build/lib however they have extension of libbayesopt.a and libnlopt.a. The MATLAB are looking for .lib files. How can this issue be resolved.
Static libraries in Windows usually end in .lib. You should not have .a files.
Anyway, the simplest fix would be to edit matlab_compile.m to point to the correct file path.
Hi I have been trying to install this on windows platform in MATLAB 2018a. After building successfully using mingw32,
matlab_compile.m
shows errorMEX cannot find library 'bayesopt' specified with the -l option. MEX looks for a file with one of the names: libbayesopt.lib bayesopt.lib Please specify the path to this library with the -L option.
The lib files generated after building the source code are located in
build/lib
however they have extension oflibbayesopt.a
andlibnlopt.a
. The MATLAB are looking for .lib files. How can this issue be resolved.