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

Matlab directory empty after successfully build nlopt in Windows 10 #292

Open
tboutelier opened this issue Sep 4, 2019 · 2 comments
Open

Comments

@tboutelier
Copy link

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!

@jschueller
Copy link
Collaborator

jschueller commented Sep 4, 2019

yes, look in the octave dir (the .m sources are shared)

@tboutelier
Copy link
Author

Okay thanks!
But isn't it an issue? I mean, the matlab material should be located in the Matlab directory don't you think?

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

2 participants