On 5/24/2011 12:19 PM, abhishek agarwal wrote: > Hi, > i'm new @ vpb.. > i was trying to install vpb0.9.10 on ubuntu10.10 > when i make then it shows following errors > /home/abhishek/VirtualPlanetBuilder/src/vpb/PropertyFile.cpp: In constructor > ‘vpb::FileProxy::FileProxy(const std::string&)’: > /home/abhishek/VirtualPlanetBuilder/src/vpb/PropertyFile.cpp:51: error: > ‘S_IREAD’ was not declared in this scope > /home/abhishek/VirtualPlanetBuilder/src/vpb/PropertyFile.cpp:51: error: > ‘S_IWRITE’ was not declared in this scope > make[2]: *** [src/vpb/CMakeFiles/vpb.dir/PropertyFile.o] Error 1 > make[1]: *** [src/vpb/CMakeFiles/vpb.dir/all] Error 2 > make: *** [all] Error 2 > abhishek@abhishek-T12Eg:~/VirtualPlanetBuilder$
It is possible that your Ubuntu headers don't define S_IREAD, because it's a deprecated symbol: http://www.gnu.org/s/hello/manual/libc/Permission-Bits.html There may be a define you can invoke to re-enable it. Also, it might be smart if VPB's source was changed to refer to the current synonym, apparently S_IRUSR. I could be off here, but that's my take on it. -- Chris 'Xenon' Hanson, omo sanza lettere. [email protected] http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

