Hi Cedric, Robert,

Well this lib comes from C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib
Yes i understand it could break other build. Anyway i needed to added it order to
compile plugin curl. Other windows users can maybe validate this fix.

The curl plugin compiled and worked fine before, using the binaries in Mike's 3rdParty repository. It links statically already. I have built Win32 binaries for our Vortex releases using VC7.1, VC8 and VC9, and in all cases the curl plugin was correctly built.

The only change in the attached CMakeLists.txt is the addition of wldap32, which I would think you would only need if using ldap authentication. It's possible that I just have never used the curl plugin with ldap. Though I would think it just wouldn't link if some library was not included. Perhaps Cedric's curl lib is compiled with ldap support but the one in Mike's repo is not?

That being said, that library is included in the Platform SDK, which is included with all commercial versions of Visual Studio and a required additional download to be able compile anything useful with the Express editions. I've just verified, and it's in all my Visual Studio installs (VC7.1, VC8 SP1 and VC9 SP1) which are the three versions of Visual Studio OSG supports. It was probably in VC6 too, but can't find confirmation.

It might be worth checking if the IF(WIN32) branch of the CMakeLists.txt includes MinGW and Cygwin, if so then do they know how to link to that library? Or do we need a IF(<visual studio only>) or something? Can any cygwin/mingw users who have compiled the curl plugin in the past chime in please?

Once that issue is resolved, I don't see any problem including it. The curl plugin builds fine with it (even using Mike's binaries - I just tested), and it's a standard library.

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