http://ab-initio.mit.edu/wiki/index.php?title=NLopt_on_Windows&redirect=no 从该网址下载安装文件,然后将libnlopt-0.dll文件复制到system32中就可以了。