Dear all, 

As part of the ALTA project ( http://alta.gforge.inria.fr ) we are happy user 
of Nlopt (we provide an interface to it) 

However, I recently had little trouble to compile nlopt with Visual Studio 2012 
and CMake. 

I fixed the issues by modifying the code by applying these two little 
patches that are attached to this post. 


I hope this can help. 


Best Regards, 
Romain Pacanowski 
26a27,29
> #if _MSC_VER >= 1500
> #define _USE_MATH_DEFINES
> #endif
60c60
<      (void) unused;
---
>      //(void) unused;
_______________________________________________
NLopt-discuss mailing list
NLopt-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to