Hi
Thanks for releasing 2.0.2 so quickly. Unfortunately we tried to run 2.0.2
binary on windows but had problems linking:
Error 1 error LNK2019: unresolved external symbol
__imp__nlopt_dest...@4 referenced in function _main nlopt.obj nlopt
Error 2 error LNK2019: unresolved external symbol
__imp__nlopt_optim...@12 referenced in function _main nlopt.obj nlopt
Error 3 error LNK2019: unresolved external symbol
__imp__nlopt_set_xtol_...@12 referenced in function _main nlopt.obj
nlopt
Error 4 error LNK2019: unresolved external symbol
__imp__nlopt_add_inequality_constra...@20 referenced in function _main
nlopt.obj nlopt
Error 5 error LNK2019: unresolved external symbol
__imp__nlopt_set_min_object...@12 referenced in function _main nlopt.obj
nlopt
Error 6 error LNK2019: unresolved external symbol
__imp__nlopt_set_lower_bou...@8 referenced in function _main nlopt.obj
nlopt
Error 7 error LNK2019: unresolved external symbol __imp__nlopt_cre...@8
referenced in function _main nlopt.obj nlopt
We then tried compiling the source using minGW (with the script file supplied
on your web page) but was not able to find all the required packages -
specifically i586-mingw32msvc. We tried a number of things that didn't work.
We eventually got it compiling by compiling on linux and copying the required
libs and dlls from minGW package on linux to windows. But this is not ideal and
runs slowly compared to 1.2.
Perhaps these libs I had to copy over were originally statically linked in 1.2?
Would it be possible to provode some more details on how you compiled the
binaries? Maybe there was a change to your minGW set up betweem 1.2 and 2.0.2
since everything linked without any problems in 1.2.
Thank you for your help.
Regards
Dave
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss