I have problems linking to the DLL of version 2.0.2 and unfortunately also
only very little experience in using DLLs (or even MS Windows).

The old tutorial example code (from website for 1.2) runs fine in a test project
using DLL 1.2 but generates the following error message in a test project that
uses DLL 2.0.2 but is otherwise the same:

error LNK2019: unresolved external symbol __imp__nlopt_minimize_constrai...@96 
referenced in function _main     libtest2.obj

Trying to use one of the new function gives a similar error:
error LNK2019: unresolved external symbol __imp__nlopt_cre...@8 referenced in 
function [...]

The program 'Dependency Walker' shows for the 1.2 version that the function 
name is
    nlopt_minimize_constrained
and for version 2.0.2 it is
    nlopt_minimize_constrai...@96

I know the problem itself might not be NLopt-specific but some naming 
convention thing,
but since I have not much experience dealing with DLLs, any help is appreciated!

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

Reply via email to