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!

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

提问:

2018-10-19

Community Treasure Hunt

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

Start Hunting!

Translated by