Re: [osg-users] Feedback/guidance sought on move of osgQt out into it's own project/repository

2016-09-13 Thread Paul McIntosh
Mathieu wrote: > > Anyone out there wanting to chip in ? > I can help - my time is very limited though. At the very least I can feedback on the documentation, setup and use. I have past experience with Qt/OSG/Delta3D and am currently reviving all that knowledge on a personal project which c

[osg-users] PagedLOD range for 2D image tiles

2016-09-13 Thread Bruno Oliveira
Hello, I have a pagedLOD engine setup, for displaying big images (1x1 pixels) I subdivided these images in an pyramid with several scales (starting, for instance, at 0.125 of the image size and going up to 1.0 of the image size) Everything is displaying correctly, except that I don't und

Re: [osg-users] invalid use of incomplete type ‘std::ifstream in readNodeFile

2016-09-13 Thread Robert Osfield
Hi Kyungsoo, You'll need to track down why the Cmake find script for OpenThreads didn't find it. Any chance it's not installed. FYI, During dev work I don't install, instead just point the lib and bin paths (LD_LIBRARY_PATH and PATH) and CMake to my OpenSceneGraph directory using the OSG_DIR di

Re: invalid use of incomplete type ‘std::ifstream in readNodeFile

2016-09-13 Thread kyungsoo hong
Hi, I tried with FIND_PACKAGE(OpenThreads) but it failed to find package. /etc/ld.so.conf.d/openscenegraph.conf already exist with "/usr/local/lib64" of course /usr/loca/lib64/ there are all so filese ... Thank you! Cheers, kyungsoo -- Read this topic online here: http:

Re: [osg-users] invalid use of incomplete type ‘std::ifstream in readNodeFile

2016-09-13 Thread Robert Osfield
Hi Hong, Thanks for the example code. You're Cmake script is hardwired to certain locations of the OSG I've created a CMakeLists.txt file that is a bit more flexible utilizing the CMake find scripts for the OSG. Attached, I can build and run the example using this cmake script without problems a

Re: invalid use of incomplete type ‘std::ifstream in readNodeFile

2016-09-13 Thread kyungsoo hong
Hi, this is the whole code #include #include #include int main() { osg::ref_ptr root = osgDB::readNodeFile( std::string("cessna.osg" )); osgViewer::Viewer viewer; viewer.setSceneData( root.get() ); return viewer.run(); } and using cmake with below CMakeList cmake_minimum_r

Re: [osg-users] invalid use of incomplete type ‘std::ifstream in readNodeFile

2016-09-13 Thread Robert Osfield
On 13 September 2016 at 13:10, kyungsoo hong wrote: > Hi, Robert > Thanks for the concern, > > I built it by myself i didn't see any compilation error. > if there was, even library wasn't created. If the OSG is building and contains very similar usage to the snippet you've posted then the differe

Re: invalid use of incomplete type ‘std::ifstream in readNodeFile

2016-09-13 Thread kyungsoo hong
Hi, Robert Thanks for the concern, I built it by myself i didn't see any compilation error. if there was, even library wasn't created. ... Thank you! Cheers, kyungsoo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68590#68590 __

Re: [osg-users] invalid use of incomplete type ‘std::ifstream in readNodeFile

2016-09-13 Thread Robert Osfield
Hi Kyungsoo, I used Kubuntu 16.04 for development and haven't seen an error like you've described so there must be something specific to your system that is causing the problem. Did you build the OSG youself or did you pull it into from a repository? If you built it yourself did you get any comp

invalid use of incomplete type ‘std::ifstream in readNodeFile

2016-09-13 Thread kyungsoo hong
Hi, I'm newbie to osg, just installed and started 'hello world' with below code osg::ref_ptr root = osgDB::readNodeFile( std::string("cessna.osg" )); but I got error like this In file included from /osgTester/main.cpp:2:0: /usr/local/include/osgDB/fstream:34:30: error: invalid use of incomplete

Re: [osg-users] Better data loading

2016-09-13 Thread Valerian Merkling
Ok thank you for your help, I'll do this. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68588#68588 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listi