Hello Blasius,

just as an idea if there is a problem with the Cygwin or Mingw versions of curl you could still add something like:

#if defined(_MSC_VER)
#pragma comment(lib, "wldap32.lib")
#endif

to the ReaderWriterCURL.cpp and remove the changes from the CMakeLists of the plugin. Actually the developer of the curl-library should add this somewhere in his library source if ldap support is enabled.

This is a philosophical issue. Lots of projects don't like this, because it's too "magical" and might not link to the right lib (in this case there's only one such lib in your VS install, but you understand the general point). Plus, it litters library inclusions everywhere in your code, instead of having them all localized in one place.

I agree with this. I prefer specifying all libs in project settings (= CMakeLists.txt when using CMake) so that I always know what I'm linking to.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to