Hi Shiladitya,
I'm not a Prof. and probably not gonna ever become one, just a standard
flavor of a Dr. ;-)
On Fri, 11 Sep 2020, Shiladitya Porey wrote:
I apologise in advance for our naive queries. If I understand correctly,
we do not need to download+install by cmake the NLopt-2.6.2 package,
rather we can just type in sudo apt install libnlopt-dev (or brew
install nlopt in mac) in the terminal and the required libraries will be
installed.
It depends on what you actually want to achieve, but if you just want to
use NLopt from C/C++, then the answer is "yes, that's correct".
We tried to download the package NLopt-2.6.2 earlier, followed by
cmake+make+make install. Though the 'make install' step apparently
finished correctly without errors, while running the example files
within the test directory we found the following error.
As you can gather from the compiler message, it's not an error, but just a
warning. It says that `nlopt_minimize` is deprecated and you should read
the documentation to find out what you ought to use instead.
--
Sincerely yours,
Yury V. Zaytsev
_______________________________________________
NLopt-discuss mailing list
NLopt-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss