thanks for all info. In general, contributions of build system clues are always welcome for the 3rdParty repo.
cheers -- mew On Sat, Apr 12, 2008 at 5:05 PM, Luigi Calori <[EMAIL PROTECTED]> wrote: > Hi Mike,Robert and Maciej > > There is a CMake based setup for recent Curllib in > (https://dev.openwengo.com/svn/openwengo/owbuild/trunk/libs-3rdparty-cmakelists/curl > ) > It is configured for building curlib 7.16.2 as a dll under windows but it > seems can be tweaked to compile the latest curlib (I' ve found > curl-7.18.1.tar.gz) > as a static lib. > I' ve downaloaded the latest OSG svn, applied the Maciej mod to cmake file > and it seems to be working under my WinXP Pro > (removed the old net plugin and accessed a web served osg file. > > I attach the curl plugin CMakeLists file > > If someone is interested, I can try to document the process of cmake > building curl statically, it is quite simple: > I had to disable the linking of SSLEAY and OPENSSL in order to not > introduce a further dep. > > FYI I am also using cmake based builds for > freetype-2.3.5,jpeg-6b,libpng-1.2.24,zlib-1.2.3,tiff-3.7.4 under WinXP. > > Using CMake, it should be easier to provide cross platform source based > build instructions for the basic OSG dependencies. > > If interested, let me know > > Hope it helps > > Luigi > > Robert Osfield wrote: > > > > Hi Mike et al. > > > > On Sat, Apr 12, 2008 at 7:15 PM, Mike Weiblen <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > > fwiw I'm planning to do a fair bit of 3rdParty lib rework/update this > > coming week... > > > > > > I have be informed that libcurl needs a different version under Vista vs > XP, I don't know of all the details though. If this turns out to be the > case and then we'll be faced with the issue of which to link against - or do > you use a dynamic library version and provide both version? Or do we wait > for an upcoming rev of libcurl in hope that this might unify things... > Either way we'll need to check up on the exact situation. It might be that > only some features of libcurl aren't working fine across XP and Vista, but > if the OSG doesn't use these then we might just be fine. > > > > Robert. > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > #this file is automatically generated > > IF(WIN32) > SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} > /NODEFAULTLIB:MSVCRT") > ADD_DEFINITIONS(-DCURL_STATICLIB) > SET(TARGET_EXTERNAL_LIBRARIES ws2_32 winmm) > ENDIF(WIN32) > > INCLUDE_DIRECTORIES( ${CURL_INCLUDE_DIRS} ) > > SET(TARGET_SRC ReaderWriterCURL.cpp ) > > SET(TARGET_LIBRARIES_VARS CURL_LIBRARY ) > > > #### end var setup ### > SETUP_PLUGIN(curl) > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Mike Weiblen -- Austin Texas USA -- http://mew.cx/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

