Hi Gert, Having a nlopt PPA would be great.
Thanks, Alfredo On Wed, May 9, 2012 at 3:11 AM, Gert Wollny <[email protected]> wrote: > Hi, > > currently, when building nlopt with C++ enabled, the library names are > changed from libnlopt.* to libnlopt_cxx.*, however > pkg-config --libs nlopt > always prints out -lnlopt so that it becomes useless. > > This is of course a bug that should be fixed, but I'm not sure how. > My first intension was to build an extra C++ library, and provide a > nlopt++.pc file, but in /api/ the C++ code is called from C if C++ is > enabled, so that it is not possible to build an extra library. > > My second proposal would be to drop the --with-cxx flag altogether and > always build with C++ support but since I don't know if there is any > deeper reason for this flag (like linking problems for language > bindings) I don't know if there would be any problems. > > Other options are, of course to not change the library name regardless > of C++ support or to fix nlopt.pc.in. > In the latter case (just like now), switching from a -with-c++ build to > a --without-c++ build requires a re-linking of all software that links > against the library. That's why I don't like that idea. > > When this issue is fixed, I will make deb packages available (in an > Ubuntu PPA) . Currently, I have them for internal use, but without any > language bindings and without C++. > > many thanks, > Gert > > > > > > > _______________________________________________ > NLopt-discuss mailing list > [email protected] > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss > > -- Alfredo Correa, Ph.D. Condensed Matter and Materials Division Lawrence Livermore National Laboratory
_______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
