Hi Robert, Here are the error messages from ReaderWriterCURL:
[ 81%] Building CXX object src/osgPlugins/curl/CMakeFiles/osgdb_curl.dir/ReaderWriterCURL.o /private/jiha/shivr/JIHA/OSG/OpenSceneGraph-2.8.1-rc4/src/osgPlugins/curl/ReaderWriterCURL.cpp: In member function `osgDB::ReaderWriter::ReadResult osg_curl::EasyCurl::read(const std::string&, const std::string&, osg_curl::EasyCurl::StreamObject&, const osgDB::ReaderWriter::Options*)': /private/jiha/shivr/JIHA/OSG/OpenSceneGraph-2.8.1-rc4/src/osgPlugins/curl/ReaderWriterCURL.cpp:160: ` CURLINFO_HTTP_CONNECTCODE' undeclared (first use this function) /private/jiha/shivr/JIHA/OSG/OpenSceneGraph-2.8.1-rc4/src/osgPlugins/curl/ReaderWriterCURL.cpp:160: (Each undeclared identifier is reported only once for each function it appears in.) /private/jiha/shivr/JIHA/OSG/OpenSceneGraph-2.8.1-rc4/src/osgPlugins/curl/ReaderWriterCURL.cpp:164: ` CURLINFO_RESPONSE_CODE' undeclared (first use this function) /private/jiha/shivr/JIHA/OSG/OpenSceneGraph-2.8.1-rc4/src/osgPlugins/curl/ReaderWriterCURL.cpp:200: ` curl_easy_strerror' undeclared (first use this function) make[2]: *** [src/osgPlugins/curl/CMakeFiles/osgdb_curl.dir/ReaderWriterCURL.o] Error 1 make[1]: *** [src/osgPlugins/curl/CMakeFiles/osgdb_curl.dir/all] Error 2 make: *** [all] Error 2 Regarding the build error I got on when "OSGSHADOW_EXPORT ViewData: public osg::Referenced " was in the protected area. Is this the only place with a construction like this in OSG? If you find a solution like you mention (friend class) this is ok for me at least. Have a good weekend!!! On Fri, May 15, 2009 at 3:14 PM, Robert Osfield <[email protected]>wrote: > Hi John, > > On Fri, May 15, 2009 at 1:59 PM, John Ivar Haugland > <[email protected]> wrote: > > gcc --version > > gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-56) > > Copyright (C) 2002 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There is > NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > > > The libcurl version is 7.10.6. I have also compiled QT4.5.1 on this > > platform. QT compiled without errors when I added the include path > > /usr/kerberos/include. > > It's nice that QT compiles but it doesn't really help us here. Having > to move the View into the public part of the class is down to a bug in > the compiler, other compilers, including later version of gcc work > fine. The class design of keeping implementation details protected is > appropriate so it's note something I want to change just to workaround > a old broken compiler, so finding a another workaround which is less > intrusive to the design would be appropriate. Would the use of > friend help in this context? > > W.r.t libcurl build issues, I've been looking at whether cmake can be > used to check for specific version or later but I can't find any > support for this. We might be able to write out own compile test > against the libcurl header to check if the features we require are > present. Could you re-enable the build of libcurl plugin and then > post the compile errors that are emitted, this will tell us what > features we need to test against. > > Thanks, > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

