Hi John, On Fri, May 15, 2009 at 3:13 PM, John Ivar Haugland <john.haugl...@gmail.com> wrote: > [ 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]: ***
I've found libcurl 7.10.4 and 7.10.8 on the libcurl website, but no 7.10.6. 7.10.8 doesn't have the curl_easy_strerror and this is easy to avoid using by the other codes are a bit more awkward. I have experiment with a compile tests but as yet haven't got CMake to do what I want. Ideally we'd be able to get the libcurl plugin working with this older version of libcurl. > [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!!! The OSG uses lots of nested protected struct/classes. The only thing that might be usually is that the subclasses of the main class also subclass the nested class. This is perfectly valid C++ though. What is biting us here is that g++ 3.2 is not able to cope properly. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org