Hi,

There is a small problem with the CMakeFile provided on the NLopt homepage and the settings in the automake system of the current version.

The CMakeFile assumes a three-part version number (e.g. 2.3.0), whereas the current version provides a two-part version number (2.3) only. To compile current N Lopt source distribution with cmake, change the second line of configure.ac from
        AC_INIT(nlopt, 2.3, [email protected])
to
        AC_INIT(nlopt, 2.3.0, [email protected])

Without this change, compilation of NLopt with Visual studio fails with "syntax errors", as the defines for the version numbers are empty.

I guess one could also modify the CMakeFile to be more flexible, but my knowledge of CMakeFiles and regular expressions is too limited for that.

best, simon

--

Dr. Simon Flöry
rechenraum.com
mobile: +43 681 81502316
Vienna, Austria

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

Reply via email to