Hello, Steven. Thanks for reply.

But i am able to build Boost shared libraries with shared runtime
linking. Or, as another example, i can build armadillo shared library,
which depends from LAPACK and BLAS. Can you describe why NLopt cannot
be built like other libraries?

2012/8/22 Steven G. Johnson <[email protected]>:
> On Aug 22, 2012, at 6:52 AM, Антон Кирильчик wrote:
>>
>> This failure is occured when i try to build nlopt with this
>> configuration options: sh-3.1$ ./configure --prefix=/c/nlopt
>> --enable-shared --disable-static --with-cxx --with-mthreads
>> --without-python --without-octave --without-guile --without-matlab
>
> [...]
>
>> libtool: link: warning: undefined symbols not allowed in
>> i686-pc-mingw32 shared libraries
>
> [...]
>
> I haven't been able to build NLopt with MinGW with ---with-cxx.  Compiling
> the C++ algorithm (currently just StoGO) requires that the C++ standard
> library be linked, but MinGW can't build a shared library that depends on
> other shared libraries.
>
> Steven
> _______________________________________________
> NLopt-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss



-- 
Best regards,
Anton Kirilchik

E-mail: [email protected]
Skype: kosmonaFFFt.kav

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

Reply via email to