Installing nlopt on linux

Hi there
I'm trying to install nlopt package for matlab on my linux cluster
https://github.com/stevengj/nlopt
I followed the instructions like git clone git://github.com/stevengj/nlopt cd nlopt mkdir build cd build cmake .. make sudo make install
except that I do not have admin so I cmake to another location. But I could not find the matlab file after installation. There is no error message.
I guessed that cmake might be unable to locate my matlab root, so I added -DMatlab_ROOT_DIR, but the result says this variable is not used by the project.
Would anybody kindly suggest why this happens? Or, if it works, would you mind upload the compiled mex file so I could use it in my program directly?
Many thanks!

Answers (0)

Categories

Asked:

on 19 Oct 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!