On Jul 12, 2010, at 12:30 PM, Wisam Yacteen wrote:
I'm having a little trouble getting the NLOpt source code to compile using Visual Studio on Windows. I have project using the nlopt dll working fine but I would like to be able to step into the source while debugging. Does anyone already have a visual studio project that contains all the nlopt source that you wouldn't mind sharing with me?

I don't know of any one who has done this offhand (please shout out if you have).

I'm guessing that the most annoying part of compiling under VC++ may be hand-creating the config.h file, which on Unix-like systems is generated automatically from the configure script. I've put the config.h file generated during building of the 32-bit Windows DLL with MinGW at http://ab-initio.mit.edu/nlopt/config.h in case it is helpful. Try using it unmodified, and only change if you get a compiler error that results from one of the #define's in this file.

Steven
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to