you have to set the executable directories to include the directory with the dll, cf.
http://msdn.microsoft.com/en-us/library/ee855621.aspx
Best regards
Heinrich Schuchardt
http://www.xypron.de
Matt Kindig <[email protected]>schrieb:
Hi all,
I am just getting started with NLOpt, using the C interface with Windows.
I was able to successfully create the libnlopt-0.lib and libnlopt-0.exp
files using Visual Studio (using the instructions at http://ab-
initio.mit.edu/wiki/index.php/NLopt_on_Windows). I was also able to
compile and build my application without errors.
However, when I attempt to run my executable, I get an error window "The
program can't start because libnlopt-0.dll is missing from your computer".
I am confused by this error: I have included the NLOpt directory as a
library directory in my project's configuration properties (in Visual
Studio) and have included the libnlopt-0.lib file as one of my external
dependencies). Thus, I figure that the executable should be able to find
the DLL.
Any advice you can provide would be greatly appreciated.
Regards,
Matt
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
_______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
