Hi,
I don't know if I am in the correct place to ask this question, but i have some issues to build nlopt 2.6.1 on windows 10, to collect the matlab functions generated by the project.
I used CMake 3.15.2, Matlab R2017a, and Visual Studio 2017 15.9.15.
Within CMake Gui, I specified where the source code is, and where to build the binaries.
On configure, I chose Visual Studio 15 2017 as generator for the project, x64 for the platform generator, and use the default native compilers.
The configuration step was successfull, it successfully found Matlab (version 9.2) and found the components: MX_LIBRARY.
Clicking on Generate was successfull.
Clicking on Open Project successfully launch VS 2017 with the project.
In Visual Studio, I chose build Solution, which was successfull.
After this step, I am able to find the dll generated by the project (in build/Release), but the buil/Matlab directory keeps desperately empty!
I see that there is a project in the solution, wich is called nlopt_optimize-mex, which could generate what I am looking for. However it is built in a directory related to Octave: build\src\octave\Release\
Does anyone has had the same issue as me?
Thanks for the help!
Hi, I don't know if I am in the correct place to ask this question, but i have some issues to build nlopt 2.6.1 on windows 10, to collect the matlab functions generated by the project. I used CMake 3.15.2, Matlab R2017a, and Visual Studio 2017 15.9.15. Within CMake Gui, I specified where the source code is, and where to build the binaries. On configure, I chose Visual Studio 15 2017 as generator for the project, x64 for the platform generator, and use the default native compilers. The configuration step was successfull, it successfully found Matlab (version 9.2) and found the components: MX_LIBRARY. Clicking on Generate was successfull. Clicking on Open Project successfully launch VS 2017 with the project. In Visual Studio, I chose build Solution, which was successfull. After this step, I am able to find the dll generated by the project (in build/Release), but the buil/Matlab directory keeps desperately empty! I see that there is a project in the solution, wich is called nlopt_optimize-mex, which could generate what I am looking for. However it is built in a directory related to Octave: build\src\octave\Release\ Does anyone has had the same issue as me? Thanks for the help!