Last time I tried (ages ago) this was caused by not setting the correct model in code generation in Visual Studio. It should be multithread.
Hope this helps

On 17-May-18 12:04, Dominique Descamps wrote:
Good morning,

I've just downloaded nlopt package in different ways (I've downloaded the *.tar.gz file and I've cloned the GIT repository).

Now I'd like to build the *.dll in order to be able to use it, but this is not working.

Until now I had the most success with following procedure:

Clone the GIT repository to my "~Documents" directory.

Launch a "CMake.exe ." in the "nlopt" directory (the version of CMake is "3.11.1-win64-x64").

Build the automatically created Visual Studio projects into the nlopt.dll, and use that one.

However I always fall into the same problem:

/Unresolved external symbol __imp__nlopt_create .../

Do you have any idea how I can prevent that?

Thanks in advance


NLopt-discuss mailing list

Ing. Mario Valle
Swiss National Supercomputing Centre (CSCS)
v. Trevano 131, 6900 Lugano, Switzerland
Tel: +41 (91) 610.82.60

NLopt-discuss mailing list

Reply via email to