Re: [osg-users] osgQt include files
Well I got osgQt built finally. Now I am wondering how I need to edit my CMakeList.txt file to get it to find the osgQt library, mine is built against QT5. I am finding some info googling, any suggestions appreciated. Thanks, Michael On Tue, 2018-09-25 at 17:31 +0200, Mathieu MARACHE wrote: > osgEarth provides it's own set of FindOSG macros that correct the > vanilla CMake ones... > -- > nǝıɥʇɐƜ > > > On Mon, 24 Sep 2018 at 03:49, Michael W. Hall wrote: > > Well I built OSG and did not install from a package. I made the > > change in Option two. I changed the two lines to add lib64. I > > also had to add /usr/local to the PATHS section. That got rid of > > some of the error. It now finds all but osg. Not sure what it > > up. I see the libosg library in the /usr/local/lib64 directory. > > Still working on it. > > > > Thanks, > > Michael > > > > On Sat, 2018-09-22 at 00:04 -0500, Michael W. Hall wrote: > > > My osg libraries are in /usr/local/lib64. I built osgEarth and > > > it found the osg libs, but the osgQt does not find the libs. Not > > > sure what is up with the osgQt. I run ccmake to do the configure > > > and it does not find the libraries. Has anyone else had this > > > issue? > > > > > > Thanks, > > > Michael > > > > > > On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote: > > > > Hi Michael, > > > > > > > > Thanks that help understanding the issue. CMake finds the > > > > include file named 'osg/Version' in /usr/local/include but > > > > fails to find any library for the following components 'osgDB', > > > > 'osgGA', 'osgUtil', 'osgText', 'osgViewer', 'osgWidget ' and > > > > lastly ''osg' not 'OpenThreads' itself. > > > > > > > > For example it looks for osgDB for optimized libraries and > > > > osgDBd for debug libraries. Could you verify that your > > > > /usr/local/lib folder contains such libraries ? > > > > > > > > I recall that on linux 64bits libraries may be installed in > > > > /usr/local/lib64 and not in /usr/local/lib (without the 64 > > > > appended). > > > > > > > > If this is the case, you are then left with two options : > > > > > > > > Option 1 you are the one building osg and installing it so you > > > > can modify osg's CMake install path for libraries. > > > > > > > > You can call CMake to set LIB_POSTFIX to an empty string when > > > > configuring osg on your system > > > > it is set by default to 64 when building on unix 64bits > > > > architectures > > > > SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir > > > > placement") > > > > > > > > that would mean configuring like this : > > > > > > > > $> cmake -DLIB_POSTFIX="" > > > > > > > > Option 2 if you get osg from a package you need to modify your > > > > local copy of CMake's module to add the lib64 to the > > > > PATH_SUFFIXES On your system that would be /usr/share/cmake- > > > > 3.5/Modules/Findosg_functions.cmake . You need to modify two > > > > lines to replace > > > > > > > > 'PATH_SUFFIXES lib' > > > > > > > > by > > > > > > > > 'PATH_SUFFIXES lib lib64' > > > > > > > > > > > > > > > > HTH > > > > -- > > > > nǝıɥʇɐƜ > > > > > > > > > > > > On Wed, 19 Sep 2018 at 03:54, Michael W. Hall > > > > wrote: > > > > > Hope this is correct. > > > > > > > > > > On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote: > > > > > > Hi Micheal, > > > > > > > > > > > > This is not the output of cmake but the output of cmake > > > > > determining > > > > > > your compiler capabilities. I should have been more clear > > > > > last time. > > > > > > Please run: > > > > > > > > > > > > cmake --debug-output --trace-expand > > > > > -DOpenSceneGraph_DEBUG=On . &> > > > > > > output.log > > > > > > > > > > > > and send back this output.log file that will contain > > > > > everything cmake > > > > > > has run through
Re: [osg-users] osgQt include files
I have been looking into the problem on and off. Looking at the output below, I have looked at FindOpenSceneGraph.cmake. It looks ok. it calls the Findosg_functions.cmake. I have modified this file and it finds all but the items listed below. I am not really sure what I am missing or what the file is missing to not find the lib. I am running Ubuntu Mate 16.04. I have built osg and osgEarth on my machine and installed both after building. They are both running so they seem to be fine. osgQt on the other hand is giving me fits. Any help appreciated. Still looking. On Tue, 2018-09-25 at 18:08 -0500, Michael W. Hall wrote: > Well when I try to configure osgQt here is what I am getting: > > CMake Error at > /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 > (message): > Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES > OPENTHREADS_FOUND) (found suitable version "3.7.0", minimum > required is > "3.0.0") > Call Stack (most recent call first): > /usr/share/cmake- > 3.5/Modules/FindPackageHandleStandardArgs.cmake:388 > (_FPHSA_FAILURE_MESSAGE) > /usr/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234 > (FIND_PACKAGE_HANDLE_STANDARD_ARGS) > CMakeLists.txt:130 (FIND_PACKAGE) > > I have cleared the other packages it was not finding, but still > cannot find the osg library. The configure is showing that it is > looking in /usr/local/lib64 so not sure why it cannot find the > library. Any help appreciated. > > On Tue, 2018-09-25 at 17:31 +0200, Mathieu MARACHE wrote: > > osgEarth provides it's own set of FindOSG macros that correct the > > vanilla CMake ones... > > -- > > nǝıɥʇɐƜ > > > > > > On Mon, 24 Sep 2018 at 03:49, Michael W. Hall > > wrote: > > > Well I built OSG and did not install from a package. I made the > > > change in Option two. I changed the two lines to add lib64. I > > > also had to add /usr/local to the PATHS section. That got rid of > > > some of the error. It now finds all but osg. Not sure what it > > > up. I see the libosg library in the /usr/local/lib64 directory. > > > Still working on it. > > > > > > Thanks, > > > Michael > > > > > > On Sat, 2018-09-22 at 00:04 -0500, Michael W. Hall wrote: > > > > My osg libraries are in /usr/local/lib64. I built osgEarth and > > > > it found the osg libs, but the osgQt does not find the libs. > > > > Not sure what is up with the osgQt. I run ccmake to do the > > > > configure and it does not find the libraries. Has anyone else > > > > had this issue? > > > > > > > > Thanks, > > > > Michael > > > > > > > > On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote: > > > > > Hi Michael, > > > > > > > > > > Thanks that help understanding the issue. CMake finds the > > > > > include file named 'osg/Version' in /usr/local/include but > > > > > fails to find any library for the following components > > > > > 'osgDB', 'osgGA', 'osgUtil', 'osgText', 'osgViewer', > > > > > 'osgWidget ' and lastly ''osg' not 'OpenThreads' itself. > > > > > > > > > > For example it looks for osgDB for optimized libraries and > > > > > osgDBd for debug libraries. Could you verify that your > > > > > /usr/local/lib folder contains such libraries ? > > > > > > > > > > I recall that on linux 64bits libraries may be installed in > > > > > /usr/local/lib64 and not in /usr/local/lib (without the 64 > > > > > appended). > > > > > > > > > > If this is the case, you are then left with two options : > > > > > > > > > > Option 1 you are the one building osg and installing it so > > > > > you can modify osg's CMake install path for libraries. > > > > > > > > > > You can call CMake to set LIB_POSTFIX to an empty string when > > > > > configuring osg on your system > > > > > it is set by default to 64 when building on unix 64bits > > > > > architectures > > > > > SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir > > > > > placement") > > > > > > > > > > that would mean configuring like this : > > > > > > > > > > $> cmake -DLIB_POSTFIX="" > > > > > > > > > > Option 2 if you get osg from a package you n
Re: [osg-users] osgQt include files
Well when I try to configure osgQt here is what I am getting: CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES OPENTHREADS_FOUND) (found suitable version "3.7.0", minimum required is "3.0.0") Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:130 (FIND_PACKAGE) I have cleared the other packages it was not finding, but still cannot find the osg library. The configure is showing that it is looking in /usr/local/lib64 so not sure why it cannot find the library. Any help appreciated. On Tue, 2018-09-25 at 17:31 +0200, Mathieu MARACHE wrote: > osgEarth provides it's own set of FindOSG macros that correct the > vanilla CMake ones... > -- > nǝıɥʇɐƜ > > > On Mon, 24 Sep 2018 at 03:49, Michael W. Hall wrote: > > Well I built OSG and did not install from a package. I made the > > change in Option two. I changed the two lines to add lib64. I > > also had to add /usr/local to the PATHS section. That got rid of > > some of the error. It now finds all but osg. Not sure what it > > up. I see the libosg library in the /usr/local/lib64 directory. > > Still working on it. > > > > Thanks, > > Michael > > > > On Sat, 2018-09-22 at 00:04 -0500, Michael W. Hall wrote: > > > My osg libraries are in /usr/local/lib64. I built osgEarth and > > > it found the osg libs, but the osgQt does not find the libs. Not > > > sure what is up with the osgQt. I run ccmake to do the configure > > > and it does not find the libraries. Has anyone else had this > > > issue? > > > > > > Thanks, > > > Michael > > > > > > On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote: > > > > Hi Michael, > > > > > > > > Thanks that help understanding the issue. CMake finds the > > > > include file named 'osg/Version' in /usr/local/include but > > > > fails to find any library for the following components 'osgDB', > > > > 'osgGA', 'osgUtil', 'osgText', 'osgViewer', 'osgWidget ' and > > > > lastly ''osg' not 'OpenThreads' itself. > > > > > > > > For example it looks for osgDB for optimized libraries and > > > > osgDBd for debug libraries. Could you verify that your > > > > /usr/local/lib folder contains such libraries ? > > > > > > > > I recall that on linux 64bits libraries may be installed in > > > > /usr/local/lib64 and not in /usr/local/lib (without the 64 > > > > appended). > > > > > > > > If this is the case, you are then left with two options : > > > > > > > > Option 1 you are the one building osg and installing it so you > > > > can modify osg's CMake install path for libraries. > > > > > > > > You can call CMake to set LIB_POSTFIX to an empty string when > > > > configuring osg on your system > > > > it is set by default to 64 when building on unix 64bits > > > > architectures > > > > SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir > > > > placement") > > > > > > > > that would mean configuring like this : > > > > > > > > $> cmake -DLIB_POSTFIX="" > > > > > > > > Option 2 if you get osg from a package you need to modify your > > > > local copy of CMake's module to add the lib64 to the > > > > PATH_SUFFIXES On your system that would be /usr/share/cmake- > > > > 3.5/Modules/Findosg_functions.cmake . You need to modify two > > > > lines to replace > > > > > > > > 'PATH_SUFFIXES lib' > > > > > > > > by > > > > > > > > 'PATH_SUFFIXES lib lib64' > > > > > > > > > > > > > > > > HTH > > > > -- > > > > nǝıɥʇɐƜ > > > > > > > > > > > > On Wed, 19 Sep 2018 at 03:54, Michael W. Hall > > > > wrote: > > > > > Hope this is correct. > > > > > > > > > > On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote: > > > > > > Hi Micheal, > > > > > > > > > > > > This is not the output of cmake but the output of
Re: [osg-users] osgQt include files
Well I built OSG and did not install from a package. I made the change in Option two. I changed the two lines to add lib64. I also had to add /usr/local to the PATHS section. That got rid of some of the error. It now finds all but osg. Not sure what it up. I see the libosg library in the /usr/local/lib64 directory. Still working on it. Thanks, Michael On Sat, 2018-09-22 at 00:04 -0500, Michael W. Hall wrote: > My osg libraries are in /usr/local/lib64. I built osgEarth and it > found the osg libs, but the osgQt does not find the libs. Not sure > what is up with the osgQt. I run ccmake to do the configure and it > does not find the libraries. Has anyone else had this issue? > > Thanks, > Michael > > On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote: > > Hi Michael, > > > > Thanks that help understanding the issue. CMake finds the include > > file named 'osg/Version' in /usr/local/include but fails to find > > any library for the following components 'osgDB', 'osgGA', > > 'osgUtil', 'osgText', 'osgViewer', 'osgWidget ' and lastly ''osg' > > not 'OpenThreads' itself. > > > > For example it looks for osgDB for optimized libraries and osgDBd > > for debug libraries. Could you verify that your /usr/local/lib > > folder contains such libraries ? > > > > I recall that on linux 64bits libraries may be installed in > > /usr/local/lib64 and not in /usr/local/lib (without the 64 > > appended). > > > > If this is the case, you are then left with two options : > > > > Option 1 you are the one building osg and installing it so you can > > modify osg's CMake install path for libraries. > > > > You can call CMake to set LIB_POSTFIX to an empty string when > > configuring osg on your system > > it is set by default to 64 when building on unix 64bits > > architectures > > SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir > > placement") > > > > that would mean configuring like this : > > > > $> cmake -DLIB_POSTFIX="" > > > > Option 2 if you get osg from a package you need to modify your > > local copy of CMake's module to add the lib64 to the PATH_SUFFIXES. > > On your system that would be /usr/share/cmake- > > 3.5/Modules/Findosg_functions.cmake . You need to modify two lines > > to replace > > > > 'PATH_SUFFIXES lib' > > > > by > > > > 'PATH_SUFFIXES lib lib64' > > > > > > > > HTH > > -- > > nǝıɥʇɐƜ > > > > > > On Wed, 19 Sep 2018 at 03:54, Michael W. Hall > > wrote: > > > Hope this is correct. > > > > > > On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote: > > > > Hi Micheal, > > > > > > > > This is not the output of cmake but the output of cmake > > > determining > > > > your compiler capabilities. I should have been more clear last > > > time. > > > > Please run: > > > > > > > > cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On . > > > &> > > > > output.log > > > > > > > > and send back this output.log file that will contain everything > > > cmake > > > > has run through > > > > > > > > As a last note. It is always better to do out of source or > > > below > > > > source cmake like this : > > > > > > > > .../osgQt > > > > .../osgQt-build > > > > > > > > the run cmake from osgQt-build like this : > > > > > > > > cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On > > > > ../osgQt > > > > &> output.log > > > > > > > > or > > > > > > > > .../osgQt > > > > .../osgQt/build > > > > > > > > and run cmake from osgQt/build like this : > > > > > > > > cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On > > > .. &> > > > > output.log > > > > > > > > I prefer the later and either way generated files won't lie > > > with > > > > original source code > > > > > > > > Regards, > > > > Mathieu > > > > > > > > > > > > On 18/09/2018, Michael W. Hall wrote: > > > > > > > > > > Just wondering the if anyone has noticed anything in the log > > > files. > > > > > Still have not had any luck. > &g
Re: [osg-users] osgQt include files
My osg libraries are in /usr/local/lib64. I built osgEarth and it found the osg libs, but the osgQt does not find the libs. Not sure what is up with the osgQt. I run ccmake to do the configure and it does not find the libraries. Has anyone else had this issue? Thanks, Michael On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote: > Hi Michael, > > Thanks that help understanding the issue. CMake finds the include > file named 'osg/Version' in /usr/local/include but fails to find any > library for the following components 'osgDB', 'osgGA', 'osgUtil', > 'osgText', 'osgViewer', 'osgWidget ' and lastly ''osg' not > 'OpenThreads' itself. > > For example it looks for osgDB for optimized libraries and osgDBd for > debug libraries. Could you verify that your /usr/local/lib folder > contains such libraries ? > > I recall that on linux 64bits libraries may be installed in > /usr/local/lib64 and not in /usr/local/lib (without the 64 appended). > > If this is the case, you are then left with two options : > > Option 1 you are the one building osg and installing it so you can > modify osg's CMake install path for libraries. > > You can call CMake to set LIB_POSTFIX to an empty string when > configuring osg on your system > it is set by default to 64 when building on unix 64bits architectures > SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir > placement") > > that would mean configuring like this : > > $> cmake -DLIB_POSTFIX="" > > Option 2 if you get osg from a package you need to modify your local > copy of CMake's module to add the lib64 to the PATH_SUFFIXES. On your > system that would be /usr/share/cmake- > 3.5/Modules/Findosg_functions.cmake . You need to modify two lines to > replace > > 'PATH_SUFFIXES lib' > > by > > 'PATH_SUFFIXES lib lib64' > > > > HTH > -- > nǝıɥʇɐƜ > > > On Wed, 19 Sep 2018 at 03:54, Michael W. Hall wrote: > > Hope this is correct. > > > > On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote: > > > Hi Micheal, > > > > > > This is not the output of cmake but the output of cmake > > determining > > > your compiler capabilities. I should have been more clear last > > time. > > > Please run: > > > > > > cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On . > > &> > > > output.log > > > > > > and send back this output.log file that will contain everything > > cmake > > > has run through > > > > > > As a last note. It is always better to do out of source or below > > > source cmake like this : > > > > > > .../osgQt > > > .../osgQt-build > > > > > > the run cmake from osgQt-build like this : > > > > > > cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On > > > ../osgQt > > > &> output.log > > > > > > or > > > > > > .../osgQt > > > .../osgQt/build > > > > > > and run cmake from osgQt/build like this : > > > > > > cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On .. > > &> > > > output.log > > > > > > I prefer the later and either way generated files won't lie with > > > original source code > > > > > > Regards, > > > Mathieu > > > > > > > > > On 18/09/2018, Michael W. Hall wrote: > > > > > > > > Just wondering the if anyone has noticed anything in the log > > files. > > > > Still have not had any luck. > > > > Thanks, > > > > Michael > > > > On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote: > > > > > > > > > > Here is the output you requested. > > > > > > > > > > Thanks, > > > > > Michael > > > > > > > > > > On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote: > > > > > > > > > > > > Hi Michael, > > > > > > > > > > > > I'd like the output of the command : > > > > > > > > > > > > cmake -DOpenSceneGraph_DEBUG=On ./ > > > > > > > > > > > > Regards > > > > > > -- > > > > > > nǝıɥʇɐƜ > > > > > > > > > > > > > > > > > > On Wed, 12 Sep 2018 at 02:56, Michael W. Hall > > et> > > > > > > wrote: > > > > > >
Re: [osg-users] osgQt include files
Just wondering the if anyone has noticed anything in the log files. Still have not had any luck. Thanks, Michael On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote: > Here is the output you requested. > > Thanks, > Michael > > On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote: > > Hi Michael, > > > > I'd like the output of the command : > > > > cmake -DOpenSceneGraph_DEBUG=On ./ > > > > Regards > > -- > > nǝıɥʇɐƜ > > > > > > On Wed, 12 Sep 2018 at 02:56, Michael W. Hall > > wrote: > > > I attached the log file. When I do cmake, I am just doing cmake > > > ./ I am not really sure what you are asking for in your second > > > question. > > > > > > On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote: > > > > Hi Michael, > > > > > > > > It's difficult to tell what went wrong, could you try to add > > > > the 'OpenSceneGraph_DEBUG' variable when running cmake ? And > > > > also include the parameters you set to your cmake call for > > > > osgQt ? > > > > > > > > > cmake -DOpenSceneGraph_DEBUG=True ... > > > > > > > > Regards > > > > -- > > > > nǝıɥʇɐƜ > > > > > > > > > > > > On Sun, 9 Sep 2018 at 08:04, Michael W. Hall > > > > wrote: > > > > > Got the osgQt from github. When I try to configure I am > > > > > getting the following error. > > > > > > > > > > CMake Error at > > > > > /usr/share/cmake- > > > > > 3.5/Modules/FindPackageHandleStandardArgs.cmake:148 > > > > > (message): > > > > > Could NOT find OpenSceneGraph (missing: > > > > > OPENSCENEGRAPH_LIBRARIES > > > > > OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND > > > > > OSGVIEWER_FOUND > > > > > OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable version > > > > > "3.7.0", minimum > > > > > required is "3.0.0") > > > > > Call Stack (most recent call first): > > > > > /usr/share/cmake- > > > > > 3.5/Modules/FindPackageHandleStandardArgs.cmake:388 > > > > > (_FPHSA_FAILURE_MESSAGE) > > > > > /usr/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234 > > > > > (FIND_PACKAGE_HANDLE_STANDARD_ARGS) > > > > > CMakeLists.txt:130 (FIND_PACKAGE) > > > > > > > > > > I have osg 3.7.0 installed. Any idea why it is not finding > > > > > it? > > > > > > > > > > Thanks, > > > > > Michael > > > > > > > > > > On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote: > > > > > > Thanks, > > > > > > > > > > > > On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov > > > > > > wrote: > > > > > > > Hello Michael! > > > > > > > > > > > > > > 0:13, 12 August 2018 г., "Michael W. Hall" > > > > > > > t>: > > > > > > > This may have been answered. I got the latest version of > > > > > > > OpenSceneGraph from github. It is version 3.7. I built > > > > > > > and installed. > > > > > > > When I try to compile my program I am getting the > > > > > > > following error: > > > > > > > > > > > > > > In file included from > > > > > > > /home/hallmw/Projects/osgMap/applications/osgmap/osgmap.c > > > > > > > pp:12:0: > > > > > > > /home/hallmw/Projects/osgMap/include/osgmap/MainWindow:31 > > > > > > > :34: fatal > > > > > > > error: osgQt/GraphicsWindowQt: No such file or directory > > > > > > > > > > > > > > I can check that directory and there are no header files > > > > > > > in it. Any > > > > > > > idea whey they are missing? > > > > > > > > > > > > > > Thanks, > > > > > > > Michael > > > > > > > > > > > > > > The osgQt now is a separate project. > > > > > > > You should build and install osgQt too. > > > > > > > > > > > > > > https://github.com/opensce
Re: [osg-users] osgQt include files
Here is the output you requested. Thanks, Michael On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote: > Hi Michael, > > I'd like the output of the command : > > cmake -DOpenSceneGraph_DEBUG=On ./ > > Regards > -- > nǝıɥʇɐƜ > > > On Wed, 12 Sep 2018 at 02:56, Michael W. Hall wrote: > > I attached the log file. When I do cmake, I am just doing cmake ./ > > I am not really sure what you are asking for in your second > > question. > > > > On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote: > > > Hi Michael, > > > > > > It's difficult to tell what went wrong, could you try to add the > > > 'OpenSceneGraph_DEBUG' variable when running cmake ? And also > > > include the parameters you set to your cmake call for osgQt ? > > > > > > > cmake -DOpenSceneGraph_DEBUG=True ... > > > > > > Regards > > > -- > > > nǝıɥʇɐƜ > > > > > > > > > On Sun, 9 Sep 2018 at 08:04, Michael W. Hall > > > wrote: > > > > Got the osgQt from github. When I try to configure I am > > > > getting the following error. > > > > > > > > CMake Error at > > > > /usr/share/cmake- > > > > 3.5/Modules/FindPackageHandleStandardArgs.cmake:148 > > > > (message): > > > > Could NOT find OpenSceneGraph (missing: > > > > OPENSCENEGRAPH_LIBRARIES > > > > OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND > > > > OSGVIEWER_FOUND > > > > OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable version > > > > "3.7.0", minimum > > > > required is "3.0.0") > > > > Call Stack (most recent call first): > > > > /usr/share/cmake- > > > > 3.5/Modules/FindPackageHandleStandardArgs.cmake:388 > > > > (_FPHSA_FAILURE_MESSAGE) > > > > /usr/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234 > > > > (FIND_PACKAGE_HANDLE_STANDARD_ARGS) > > > > CMakeLists.txt:130 (FIND_PACKAGE) > > > > > > > > I have osg 3.7.0 installed. Any idea why it is not finding it? > > > > > > > > Thanks, > > > > Michael > > > > > > > > On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote: > > > > > Thanks, > > > > > > > > > > On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov > > > > > wrote: > > > > > > Hello Michael! > > > > > > > > > > > > 0:13, 12 August 2018 г., "Michael W. Hall" > > > > > > : > > > > > > This may have been answered. I got the latest version of > > > > > > OpenSceneGraph from github. It is version 3.7. I built > > > > > > and installed. > > > > > > When I try to compile my program I am getting the following > > > > > > error: > > > > > > > > > > > > In file included from > > > > > > /home/hallmw/Projects/osgMap/applications/osgmap/osgmap.cpp > > > > > > :12:0: > > > > > > /home/hallmw/Projects/osgMap/include/osgmap/MainWindow:31:3 > > > > > > 4: fatal > > > > > > error: osgQt/GraphicsWindowQt: No such file or directory > > > > > > > > > > > > I can check that directory and there are no header files in > > > > > > it. Any > > > > > > idea whey they are missing? > > > > > > > > > > > > Thanks, > > > > > > Michael > > > > > > > > > > > > The osgQt now is a separate project. > > > > > > You should build and install osgQt too. > > > > > > > > > > > > https://github.com/openscenegraph/osgQt > > > > > > > > > > > > -- > > > > > > Regards, > > > > > > Konstantin Podsvirov > > > > > > ___ > > > > > > osg-users mailing list > > > > > > osg-users@lists.openscenegraph.org > > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-open > > > > > > scenegraph.org > > > > > ___ > > > > > osg-users mailing list > > > > > osg-users@lists.openscenegraph.org > > > > > http://lists.openscenegr
Re: [osg-users] osgQt include files
I attached the log file. When I do cmake, I am just doing cmake ./ I am not really sure what you are asking for in your second question. On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote: > Hi Michael, > > It's difficult to tell what went wrong, could you try to add the > 'OpenSceneGraph_DEBUG' variable when running cmake ? And also include > the parameters you set to your cmake call for osgQt ? > > > cmake -DOpenSceneGraph_DEBUG=True ... > > Regards > -- > nǝıɥʇɐƜ > > > On Sun, 9 Sep 2018 at 08:04, Michael W. Hall wrote: > > Got the osgQt from github. When I try to configure I am getting > > the following error. > > > > CMake Error at > > /usr/share/cmake- > > 3.5/Modules/FindPackageHandleStandardArgs.cmake:148 > > (message): > > Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES > > OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND > > OSGVIEWER_FOUND > > OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable version > > "3.7.0", minimum > > required is "3.0.0") > > Call Stack (most recent call first): > > /usr/share/cmake- > > 3.5/Modules/FindPackageHandleStandardArgs.cmake:388 > > (_FPHSA_FAILURE_MESSAGE) > > /usr/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234 > > (FIND_PACKAGE_HANDLE_STANDARD_ARGS) > > CMakeLists.txt:130 (FIND_PACKAGE) > > > > I have osg 3.7.0 installed. Any idea why it is not finding it? > > > > Thanks, > > Michael > > > > On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote: > > > Thanks, > > > > > > On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov wrote: > > > > Hello Michael! > > > > > > > > 0:13, 12 August 2018 г., "Michael W. Hall" : > > > > This may have been answered. I got the latest version of > > > > OpenSceneGraph from github. It is version 3.7. I built and > > > > installed. > > > > When I try to compile my program I am getting the following > > > > error: > > > > > > > > In file included from > > > > /home/hallmw/Projects/osgMap/applications/osgmap/osgmap.cpp:12: > > > > 0: > > > > /home/hallmw/Projects/osgMap/include/osgmap/MainWindow:31:34: > > > > fatal > > > > error: osgQt/GraphicsWindowQt: No such file or directory > > > > > > > > I can check that directory and there are no header files in > > > > it. Any > > > > idea whey they are missing? > > > > > > > > Thanks, > > > > Michael > > > > > > > > The osgQt now is a separate project. > > > > You should build and install osgQt too. > > > > > > > > https://github.com/openscenegraph/osgQt > > > > > > > > -- > > > > Regards, > > > > Konstantin Podsvirov > > > > ___ > > > > osg-users mailing list > > > > osg-users@lists.openscenegraph.org > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen > > > > egraph.org > > > ___ > > > osg-users mailing list > > > osg-users@lists.openscenegraph.org > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensceneg > > > raph.org > > ___ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegrap > > h.org > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph > .orgThe system is: Linux - 4.15.0-33-generic - x86_64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /usr/bin/cc Build flags: Id flags: The output was: 0 Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is GNU, found in "/home/hallmw/Projects/osgQt/CMakeFiles/3.5.1/CompilerIdC/a.out" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /usr/bin/c++ Build flags: Id flags: The output was: 0 Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" The CXX compiler identification is GNU, found in "/home/hall
Re: [osg-users] osgQt include files
Got the osgQt from github. When I try to configure I am getting the following error. CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND OSGVIEWER_FOUND OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable version "3.7.0", minimum required is "3.0.0") Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:130 (FIND_PACKAGE) I have osg 3.7.0 installed. Any idea why it is not finding it? Thanks, Michael On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote: > Thanks, > > On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov wrote: > > Hello Michael! > > > > 0:13, 12 August 2018 г., "Michael W. Hall" : > > This may have been answered. I got the latest version of > > OpenSceneGraph from github. It is version 3.7. I built and > > installed. > > When I try to compile my program I am getting the following error: > > > > In file included from > > /home/hallmw/Projects/osgMap/applications/osgmap/osgmap.cpp:12:0: > > /home/hallmw/Projects/osgMap/include/osgmap/MainWindow:31:34: fatal > > error: osgQt/GraphicsWindowQt: No such file or directory > > > > I can check that directory and there are no header files in it. > > Any > > idea whey they are missing? > > > > Thanks, > > Michael > > > > The osgQt now is a separate project. > > You should build and install osgQt too. > > > > https://github.com/openscenegraph/osgQt > > > > -- > > Regards, > > Konstantin Podsvirov > > ___ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegra > > ph.org > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph > .org___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgQt include files
Thanks, On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov wrote: > Hello Michael! > > 0:13, 12 August 2018 г., "Michael W. Hall" : > This may have been answered. I got the latest version of > OpenSceneGraph from github. It is version 3.7. I built and > installed. > When I try to compile my program I am getting the following error: > > In file included from > /home/hallmw/Projects/osgMap/applications/osgmap/osgmap.cpp:12:0: > /home/hallmw/Projects/osgMap/include/osgmap/MainWindow:31:34: fatal > error: osgQt/GraphicsWindowQt: No such file or directory > > I can check that directory and there are no header files in it. Any > idea whey they are missing? > > Thanks, > Michael > > The osgQt now is a separate project. > You should build and install osgQt too. > > https://github.com/openscenegraph/osgQt > > -- > Regards, > Konstantin Podsvirov > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph > .org___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osgQt include files
This may have been answered. I got the latest version of OpenSceneGraph from github. It is version 3.7. I built and installed. When I try to compile my program I am getting the following error: In file included from /home/hallmw/Projects/osgMap/applications/osgmap/osgmap.cpp:12:0: /home/hallmw/Projects/osgMap/include/osgmap/MainWindow:31:34: fatal error: osgQt/GraphicsWindowQt: No such file or directory I can check that directory and there are no header files in it. Any idea whey they are missing? Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] LIDAR plugin
I rebuilt with your FindLIBLAS.cmake file. I had found the LIBLASC library and had already installed it. When I did a ccmake, the LIBLASC was found. After building, I ran osgViewer and it loaded the plugin. Your FindLIBLAS.cmake file worked on my Ubuntu system. Thanks for the help and thanks for the reply Chris Hanson. I do not believe that the plugin was getting built before. Looks like Robert could put it in. Thanks, Michael On Fri, 2017-09-08 at 09:57 +0200, Voerman, L. wrote: > Hi Michael, > the cmake script demands a las_c library - I created a version of > OpenSceneGraph\CMakeModules\FindLIBLAS.cmake (attached) that skips > this demand. > > This works just as well on my windows 10/Visual Studio 2015 build, so > if you can test it on linux we could ask Robert to merge it. (My > linux setup does not have liblas ) > Regards, Laurens. > > On Fri, Sep 8, 2017 at 5:57 AM, Chris Hanson> wrote: > > I think it might be just a C-language API to liblas (which is C++): > > > > http://osgeo-org.1560.x6.nabble.com/Liblas-devel-C-API-usage-td4918 > > 858.html > > > > I wouldn't think OSG would even use it, but perhaps the CMake find > > script is rigged to look for it. I wouldn't expect you would need > > it. > > > > ___ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegrap > > h.org > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph > .org___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] LIDAR plugin
Rebuilding with the cmake script you provided. Will give update when done. On Fri, 2017-09-08 at 09:57 +0200, Voerman, L. wrote: > Hi Michael, > the cmake script demands a las_c library - I created a version of > OpenSceneGraph\CMakeModules\FindLIBLAS.cmake (attached) that skips > this demand. > > This works just as well on my windows 10/Visual Studio 2015 build, so > if you can test it on linux we could ask Robert to merge it. (My > linux setup does not have liblas ) > Regards, Laurens. > > On Fri, Sep 8, 2017 at 5:57 AM, Chris Hanson> wrote: > > I think it might be just a C-language API to liblas (which is C++): > > > > http://osgeo-org.1560.x6.nabble.com/Liblas-devel-C-API-usage-td4918 > > 858.html > > > > I wouldn't think OSG would even use it, but perhaps the CMake find > > script is rigged to look for it. I wouldn't expect you would need > > it. > > > > ___ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegrap > > h.org > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph > .org___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] LIDAR plugin
I saw the pluging building during the build process. What is the name and where would it have been installed? I will double check. I am running Ubuntu. Thanks. On Thu, 2017-08-31 at 22:07 -0600, Chris Hanson wrote: > LAZ is a compressed variant of LAS. > > Refer to this for how to convert to LAS: https://gis.stackexchange.co > m/questions/188170/converting-lidar-files-from-laz-to-las-format > > On Thu, Aug 31, 2017 at 7:48 PM, Michael W. Hall <hal...@att.net> > wrote: > > I have OSG 3.4.0 installed. I have some LIDAR Data and when is > > type: > > > > osgviewer > > > > I get a message saying that it cannot find a plugin for the data. > > The > > data has a .laz extension, but it looks like the plugin is looking > > for > > las extension. I renamed the files with a .las extension and still > > did not work. > > > > Anyone using the LIDAR plugin that can tell me what I am doing > > wrong? > > ___ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegrap > > h.org > > > > > -- > Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http:// > www.alphapixel.com/ > Training • Consulting • Contracting > 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • > OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL > Legal/IP • Code Forensics • Digital Imaging • GIS • GPS • > osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • > Mobile • iPhone/iPad/iOS • Android > @alphapixel facebook.com/alphapixel (775) 623-PIXL [7495] > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph > .org___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] LIDAR plugin
Thanks for the reply. I have the files converted to .las now. Still when I do osgviewer Hoboken_001,las I get the same error about no plugin. I have also tried osgviewer -e .las and not luck either. I can see that the plugin is built. Here is the actual output: Warning: Could not find plugin to read objects from file "Hoboken_001.las". Looks like osgviewer is looking for the plugin but for some reason cannot find it. On Thu, 2017-08-31 at 22:07 -0600, Chris Hanson wrote: > LAZ is a compressed variant of LAS. > > Refer to this for how to convert to LAS: https://gis.stackexchange.co > m/questions/188170/converting-lidar-files-from-laz-to-las-format > > On Thu, Aug 31, 2017 at 7:48 PM, Michael W. Hall <hal...@att.net> > wrote: > > I have OSG 3.4.0 installed. I have some LIDAR Data and when is > > type: > > > > osgviewer > > > > I get a message saying that it cannot find a plugin for the data. > > The > > data has a .laz extension, but it looks like the plugin is looking > > for > > las extension. I renamed the files with a .las extension and still > > did not work. > > > > Anyone using the LIDAR plugin that can tell me what I am doing > > wrong? > > ___ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegrap > > h.org > > > > > -- > Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http:// > www.alphapixel.com/ > Training • Consulting • Contracting > 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • > OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL > Legal/IP • Code Forensics • Digital Imaging • GIS • GPS • > osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • > Mobile • iPhone/iPad/iOS • Android > @alphapixel facebook.com/alphapixel (775) 623-PIXL [7495] > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph > .org___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] LIDAR plugin
I have OSG 3.4.0 installed. I have some LIDAR Data and when is type: osgviewer I get a message saying that it cannot find a plugin for the data. The data has a .laz extension, but it looks like the plugin is looking for .las extension. I renamed the files with a .las extension and still did not work. Anyone using the LIDAR plugin that can tell me what I am doing wrong? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG 3.2.1
My bad Robert. No I do not need it and I am on Ubuntu 14.04. I tried to see where to turn it off with no luck. Michael On Sun, 2014-12-14 at 20:14 +, Robert Osfield wrote: Hi Michael, I am away from my dev machine right now so can't look into things in detail. Do you need the RestHttp plugin? What platform are you compiling on? Robert On 14 Dec 2014 16:36, Michael W. Hall hal...@att.net wrote: I just thought I would upgrade to the lastest version of OSG. I am sure this question has been answered, but I have not found the answer in my searching. CCMake reported that the ASIO_INCLUDE_DIR - was not found. I installed libboost-all-dev, and set the directory to the location. That seemed to fix that issue. Now when i compile I am getting the following output: [ 98%] Building CXX object src/osgPlugins/RestHttpDevice/CMakeFiles/osgdb_resthttp.dir/connection.o In file included from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:19:0, from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.cpp:11: /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/reply.hpp:55:15: error: ‘asio’ was not declared in this scope std::vectorasio::const_buffer to_buffers(); ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/reply.hpp:55:15: note: suggested alternative: In file included from /usr/include/boost/asio/async_result.hpp:19:0, from /usr/include/boost/asio.hpp:20, from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:14, from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.cpp:11: /usr/include/boost/asio/handler_type.hpp:23:16: note: ‘boost::asio’ namespace asio { ^ In file included from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:19:0, from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.cpp:11: /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/reply.hpp:55:33: error: template argument 1 is invalid std::vectorasio::const_buffer to_buffers(); ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/reply.hpp:55:33: error: template argument 2 is invalid In file included from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.cpp:11:0: /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:34:23: error: ‘asio’ has not been declared explicit connection(asio::io_service io_service, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:34:39: error: expected ‘)’ before ‘’ token explicit connection(asio::io_service io_service, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:38:3: error: ‘asio’ does not name a type asio::ip::tcp::socket socket(); ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:45:26: error: ‘asio’ does not name a type void handle_read(const asio::error_code e, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:45:42: error: expected unqualified-id before ‘’ token void handle_read(const asio::error_code e, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:45:42: error: expected ‘)’ before ‘’ token /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:45:32: error: expected ‘;’ at end of member declaration void handle_read(const asio::error_code e, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:45:44: error: ISO C++ forbids declaration of ‘e’ with no type [-fpermissive] void handle_read(const asio::error_code e, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:46:12: error: ISO C++ forbids declaration of ‘size_t’ with no type [-fpermissive] std::size_t bytes_transferred); ^ /home/hallmw
[osg-users] OSG 3.2.1
I just thought I would upgrade to the lastest version of OSG. I am sure this question has been answered, but I have not found the answer in my searching. CCMake reported that the ASIO_INCLUDE_DIR - was not found. I installed libboost-all-dev, and set the directory to the location. That seemed to fix that issue. Now when i compile I am getting the following output: [ 98%] Building CXX object src/osgPlugins/RestHttpDevice/CMakeFiles/osgdb_resthttp.dir/connection.o In file included from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:19:0, from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.cpp:11: /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/reply.hpp:55:15: error: ‘asio’ was not declared in this scope std::vectorasio::const_buffer to_buffers(); ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/reply.hpp:55:15: note: suggested alternative: In file included from /usr/include/boost/asio/async_result.hpp:19:0, from /usr/include/boost/asio.hpp:20, from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:14, from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.cpp:11: /usr/include/boost/asio/handler_type.hpp:23:16: note: ‘boost::asio’ namespace asio { ^ In file included from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:19:0, from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.cpp:11: /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/reply.hpp:55:33: error: template argument 1 is invalid std::vectorasio::const_buffer to_buffers(); ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/reply.hpp:55:33: error: template argument 2 is invalid In file included from /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.cpp:11:0: /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:34:23: error: ‘asio’ has not been declared explicit connection(asio::io_service io_service, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:34:39: error: expected ‘)’ before ‘’ token explicit connection(asio::io_service io_service, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:38:3: error: ‘asio’ does not name a type asio::ip::tcp::socket socket(); ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:45:26: error: ‘asio’ does not name a type void handle_read(const asio::error_code e, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:45:42: error: expected unqualified-id before ‘’ token void handle_read(const asio::error_code e, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:45:42: error: expected ‘)’ before ‘’ token /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:45:32: error: expected ‘;’ at end of member declaration void handle_read(const asio::error_code e, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:45:44: error: ISO C++ forbids declaration of ‘e’ with no type [-fpermissive] void handle_read(const asio::error_code e, ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:46:12: error: ISO C++ forbids declaration of ‘size_t’ with no type [-fpermissive] std::size_t bytes_transferred); ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:46:12: error: invalid use of ‘::’ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:46:12: error: expected ‘;’ at end of member declaration /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:46:19: error: ‘bytes_transferred’ does not name a type std::size_t bytes_transferred); ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:49:27: error: ‘asio’ does not name a type void handle_write(const asio::error_code e); ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:49:43: error: expected unqualified-id before ‘’ token void handle_write(const asio::error_code e); ^ /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:49:43: error: expected ‘)’ before ‘’ token /home/hallmw/Downloads/OpenSceneGraph/src/osgPlugins/RestHttpDevice/connection.hpp:49:33:
[osg-users] OT: Qt Statusbar question
Not really a osg question directly. I am using osgEarth in my application. I have a callback function that updates the statusbar. If I have my callback function parameters set to take a statusbar pointer, it will update the status bar with the lat/long under the mouse. However, I have added two QLabels to my statusbar. I have changed my callback function to take a QLabel pointer. I pass in the label that I added to the status bar. When I set up the function this way, the lat/long is not displayed in the statusbar. I have searched the web for examples with no success. Can anyone shed some light on this? Is there a way to pass in the status bar and then access the label you added to set the text? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] getting errors in creating First OSG program
I think you class MonitoringTarget should look like the following: class MonitoringTarget : public osg::Referenced Give that a try. Not sure if that is what you error is, but the way it is below is an error. On Sat, 2013-02-02 at 10:55 +0530, om prakash Paliwal wrote: #include osg/Referenced #include iostream class MonitoringTarget : public osg:Referenced { public: MonitoringTarget(int id) : _id(id) { std::cout Constructing target _idstd::endl; } protected: virtual ~MonitoringTarget() { std::cout Destroying target _idstd::endl; } int _id; }; int main() { osg::ref_ptrMonitoringTarget target =new MonitoringTarget(0); std::cout Referenced count before referring: target-referenceCount() std::endl; osg::ref_ptrMonitoringTarget anotherTarget = target; std::cout Referenced count after referring: target-referenceCount() std::endl; for (unsigned int i=1;i5;i++) { osg::ref_ptrMonitoringTarget subTarget = new MonitoringTarget(i); } } On Sat, Feb 2, 2013 at 4:54 AM, Michael W. Hall hal...@att.net wrote: Sounds like you may have missed an include file in your test.cpp file, or you have included something that it does not know about. If your program is short you may want to paste it into a reply and then people could maybe determine the problem. Michael On Fri, 2013-r2-01 at 19:10 +0530, om prakash Paliwal wrote: i am a beggineer ... and i stuck at very begining . i created my first OSG program in ubuntu i get this error message ... Scanning dependencies of target MyProject [100%] Building CXX object CMakeFiles/MyProject.dir/test.cpp.o /home/heart-hacker/osgproject/program-2/test.cpp:1:23: fatal error: osg/ref_ptr: No such file or directory compilation terminated. make[2]: *** [CMakeFiles/MyProject.dir/test.cpp.o] Error 1 make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2 make: *** [all] Error 2 i have used cmake to build CMakeLists.txt .. suceeded but when run make command , above errors occured. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] getting errors in creating First OSG program
omprakash.paliwa...@gmail.com wrote: #include osg/Referenced #include iostream class MonitoringTarget : public osg:Referenced { public: MonitoringTarget(int id) : _id(id) { std::cout Constructing target _idstd::endl; } protected: virtual ~MonitoringTarget() { std::cout Destroying target _idstd::endl; } int _id; }; int main() { osg::ref_ptrMonitoringTarget target =new MonitoringTarget(0); std::cout Referenced count before referring: target-referenceCount() std::endl; osg::ref_ptrMonitoringTarget anotherTarget = target; std::cout Referenced count after referring: target-referenceCount() std::endl; for (unsigned int i=1;i5;i++) { osg::ref_ptrMonitoringTarget subTarget = new MonitoringTarget(i); } } On Sat, Feb 2, 2013 at 4:54 AM, Michael W. Hall hal...@att.net wrote: Sounds like you may have missed an include file in your test.cpp file, or you have included something that it does not know about. If your program is short you may want to paste it into a reply and then people could maybe determine the problem. Michael On Fri, 2013-r2-01 at 19:10 +0530, om prakash Paliwal wrote: i am a beggineer ... and i stuck at very begining . i created my first OSG program in ubuntu i get this error message ... Scanning dependencies of target MyProject [100%] Building CXX object CMakeFiles/MyProject.dir/test.cpp.o /home/heart-hacker/osgproject/program-2/test.cpp:1:23: fatal error: osg/ref_ptr: No such file or directory compilation terminated. make[2]: *** [CMakeFiles/MyProject.dir/test.cpp.o] Error 1 make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2 make: *** [all] Error 2 i have used cmake to build CMakeLists.txt .. suceeded but when run make command , above errors occured. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] getting errors in creating First OSG program
Sounds like you may have missed an include file in your test.cpp file, or you have included something that it does not know about. If your program is short you may want to paste it into a reply and then people could maybe determine the problem. Michael On Fri, 2013-r2-01 at 19:10 +0530, om prakash Paliwal wrote: i am a beggineer ... and i stuck at very begining . i created my first OSG program in ubuntu i get this error message ... Scanning dependencies of target MyProject [100%] Building CXX object CMakeFiles/MyProject.dir/test.cpp.o /home/heart-hacker/osgproject/program-2/test.cpp:1:23: fatal error: osg/ref_ptr: No such file or directory compilation terminated. make[2]: *** [CMakeFiles/MyProject.dir/test.cpp.o] Error 1 make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2 make: *** [all] Error 2 i have used cmake to build CMakeLists.txt .. suceeded but when run make command , above errors occured. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] CMake errors
I just updated my system from Ubuntu 11.04 to 12.04. I am trying to rebuild my OSG 3.0.1. I am getting the following when I try to configure: CMake Warning at /usr/share/cmake-2.8/Modules/FindITK.cmake:48 (FIND_PACKAGE): Could not find a configuration file for package ITK. Set ITK_DIR to the directory containing a CMake configuration file for ITK. The file will be called ITKConfig.cmake Call Stack (most recent call first): CMakeLists.txt:465 (FIND_PACKAGE) CMake Warning (dev) at /usr/share/cmake-2.8/Modules/FindPNG.cmake:33 (find_package): File /usr/share/cmake-2.8/Modules/FindPNG.cmake includes /home/hallmw/Downloads/OpenSceneGraph/CMakeModules/FindZLIB.cmake (found via CMAKE_MODULE_PATH) which shadows I have ITK installed, any ideas? I think that is it not generating the output correctly because of this. Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to get position information
Well I have my application displaying maps. I also believe that I have some DTED data loading. Now I would like to have the lat/long and elevation display in the status bar. My question is how do you get the position information as you move the mouse over the map? I was trying to make my own class derived from osgGA::GUIEventHandler. Before I go off in some direction I thought I would ask. Thanks for any help. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Errors after switch to osgEarth
Will do. Thought about that after I posted. On Sat, 2012-09-15 at 01:36 -0400, Glenn Waldron wrote: Michael, May I suggest you post osgEarth questions to the osgEarth forum at: http://forum.osgearth.org Please go there and post your earth file. Thanks. Glenn Waldron / @glennwaldron On Fri, Sep 14, 2012 at 7:30 PM, Michael W. Hall hal...@att.net wrote: I am receiving the following errors after switching to reading files with osgEarth: [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_east.tif [osgEarth]* Could not initialize TileSource for layer east-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_east.tif [osgEarth]* Could not initialize TileSource for layer east-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [ImageLayer] Error: layer does not have a valid TileSource, cannot create image [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_west.tif [osgEarth]* Could not initialize TileSource for layer west-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_west.tif [osgEarth]* Could not initialize TileSource for layer west-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [ImageLayer] Error: layer does not have a valid TileSource, cannot create image [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_east.tif [osgEarth]* Could not initialize TileSource for layer east-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_west.tif [osgEarth]* Could not initialize TileSource for layer west-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_east.tif [osgEarth]* Could not initialize TileSource for layer east-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_west.tif [osgEarth]* Could not initialize TileSource for layer west-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. Object::connect: No such slot QMainWindow::open() in /home/hallmw/Projects/osgMap/src/osgmap/MainWindow.cpp:88 Inconsistency detected by ld.so: dl-close.c: 737: _dl_close: Assertion `map-l_init_called' failed! Previously, I was reading .ive files with my program. I switched to osgEarth and I am getting the above errors. I am assuming they are coming from osgEarth. All I see is a white sphere. No image of the BMNG on that sphere. I am not sure what I am missing. I call osgDB::readNodeFile() and it appears that the file is recognized. Any ideas? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osgEarthild
I have been trying to modify my CMakeList.txt file to find the osgEarth package. I added the line: FIND_PACKAGE(osgEarth) It tells me the following: CMake Warning at CMakeLists.txt:128 (FIND_PACKAGE): Could not find module FindOsgEarth.cmake or a configuration file for package OsgEarth. Adjust CMAKE_MODULE_PATH to find FindOsgEarth.cmake or set OsgEarth_DIR to the directory containing a CMake configuration file for OsgEarth. The file will have one of the following names: OsgEarthConfig.cmake osgearth-config.cmake What am I missing? Do I need to make a .cmake file? Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Errors after switch to osgEarth
I am receiving the following errors after switching to reading files with osgEarth: [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_east.tif [osgEarth]* Could not initialize TileSource for layer east-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_east.tif [osgEarth]* Could not initialize TileSource for layer east-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [ImageLayer] Error: layer does not have a valid TileSource, cannot create image [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_west.tif [osgEarth]* Could not initialize TileSource for layer west-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_west.tif [osgEarth]* Could not initialize TileSource for layer west-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [ImageLayer] Error: layer does not have a valid TileSource, cannot create image [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_east.tif [osgEarth]* Could not initialize TileSource for layer east-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_west.tif [osgEarth]* Could not initialize TileSource for layer west-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_east.tif [osgEarth]* Could not initialize TileSource for layer east-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. [osgEarth]* [GDAL driver] Dataset has no spatial reference information: /home/hallmw/Projects/osgMap/Build/bin/Data/land_shallow_topo_west.tif [osgEarth]* Could not initialize TileSource for layer west-tiff ERROR 10: Pointer 'hDS' is NULL in 'GDALClose'. Object::connect: No such slot QMainWindow::open() in /home/hallmw/Projects/osgMap/src/osgmap/MainWindow.cpp:88 Inconsistency detected by ld.so: dl-close.c: 737: _dl_close: Assertion `map-l_init_called' failed! Previously, I was reading .ive files with my program. I switched to osgEarth and I am getting the above errors. I am assuming they are coming from osgEarth. All I see is a white sphere. No image of the BMNG on that sphere. I am not sure what I am missing. I call osgDB::readNodeFile() and it appears that the file is recognized. Any ideas? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Maps DTED data
I downloaded osgEarth and build. It is working. Now I need to dig into it. Thanks, Michael On Tue, 2012-08-21 at 15:31 -0400, Glenn Waldron wrote: Michael, osgEarth is a C++ terrain rendering SDK. It is built on top of OSG. It renders 3D terrains from elevation, imagery, and vector data sources, and it provides a ton of other geospatial tools and functionality as well. Main site: http://osgearth.org Source code: http://github.com/gwaldron/osgearth Forums: http://forum.osgearth.org/ Glenn Waldron / Pelican Mapping / @glennwaldron On Tue, Aug 21, 2012 at 3:13 PM, Michael Hall hal...@att.net wrote: Yes, I have heard of it and have actually downloaded it. I don't think I have installed it on my new Laptop I am using. I am not sure exactly its purpose. I know it says something about terrains. Is it library like OSG? I will have to look at it this evening. Any more info would be great. Thanks, Michael __ From: Chris Hanson xe...@alphapixel.com To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Sent: Sat, August 18, 2012 7:25:56 PM Subject: Re: [osg-users] Maps DTED data On Fri, Aug 17, 2012 at 3:59 PM, Michael Hall hal...@att.net wrote: I have a little alpplication I am doing to learn OSG. I have also read the OSG 3.0 for Beginners book. It has been helpful in learning more about how OSG works. I have generated an earth.ive database from the BMNG east and west tifs. I can display this database in my application. I would like to now associate DTED data on that and then overlay maps. What is the best way to do this? Would also like to display the lat/long of where the mouse is in the status bar of my application. Any tips or suggestions are appreciated. You're getting into the realm (multiple data layers) where osgEarth significantly makes your life easier. Have you considered using it? -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Maps DTED data
My application uses Qt. Currently I have it just reading a .ive file when it starts. This .ive was generated from the BMNG. I would like to keep using this for the app, and apply my maps to it. I would like to have a menu option to allow users to import maps into the application. Importing the maps would be handled by a Map Data Manager. This would also allow the user to see the coverage they have imported by selecting that type and the Map Data Manager would highlight the maptiles in a specified color. That is my main goal for now. I am doing this as a way to learn maps and OSG and 3D programming. I have always been interested in maps and want to do this to create a program that maybe useful to people. I have downloaded some SRTM data that is in DTED format. I would like to get this on my .ive earth on the fly. If some people can point me in the right direction on how I can utilize osgEarth to help that would be great. I am looking at the osgEarth Documentation as I type. Looks like more research. Thanks, Michael On Tue, 2012-08-21 at u15:31 -0400, Glenn Waldron wrote: Michael, osgEarth is a C++ terrain rendering SDK. It is built on top of OSG. It renders 3D terrains from elevation, imagery, and vector data sources, and it provides a ton of other geospatial tools and functionality as well. Main site: http://osgearth.org Source code: http://github.com/gwaldron/osgearth Forums: http://forum.osgearth.org/ Glenn Waldron / Pelican Mapping / @glennwaldron On Tue, Aug 21, 2012 at 3:13 PM, Michael Hall hal...@att.net wrote: Yes, I have heard of it and have actually downloaded it. I don't think I have installed it on my new Laptop I am using. I am not sure exactly its purpose. I know it says something about terrains. Is it library like OSG? I will have to look at it this evening. Any more info would be great. Thanks, Michael __ From: Chris Hanson xe...@alphapixel.com To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Sent: Sat, August 18, 2012 7:25:56 PM Subject: Re: [osg-users] Maps DTED data On Fri, Aug 17, 2012 at 3:59 PM, Michael Hall hal...@att.net wrote: I have a little alpplication I am doing to learn OSG. I have also read the OSG 3.0 for Beginners book. It has been helpful in learning more about how OSG works. I have generated an earth.ive database from the BMNG east and west tifs. I can display this database in my application. I would like to now associate DTED data on that and then overlay maps. What is the best way to do this? Would also like to display the lat/long of where the mouse is in the status bar of my application. Any tips or suggestions are appreciated. You're getting into the realm (multiple data layers) where osgEarth significantly makes your life easier. Have you considered using it? -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Maps DTED data
The DTED data I have has the .dt2 extension. Can osgEarth load that or do you have to modify it somehow? On Fri, 2012-08-24 at 19:32 -0600, Chris Hanson wrote: On Fri, Aug 24, 2012 at 6:56 PM, Michael W. Hall hal...@att.net wrote: My application uses Qt. Currently I have it just reading a .ive file when it starts. This .ive was generated from the BMNG. I would like to keep using this for the app, and apply my maps to it. If you still have the BMNG data around, osgEarth can consume it directly, and not need your .IVE. Alternately, you can feed it a VPB IVE as well. I don't know how well it can merge terrain from a VPB IVE with additional SRTM data. I would like to have a menu option to allow users to import maps into the application. Importing the maps would be handled by a Map Data Manager. This would also allow the user to see the coverage they have imported by selecting that type and the Map Data Manager would highlight the maptiles in a specified color. That's all UI that's up to you. I have downloaded some SRTM data that is in DTED format. I would like to get this on my .ive earth on the fly. If some people can point me in the right direction on how I can utilize osgEarth to help that would be great. I am looking at the osgEarth Documentation as I type. Looks like more research. http://osgearth.org/wiki/DevelopersGuide // Add an elevationlayer (SRTM from a local GeoTiff file) { GDALOptions gdal; gdal.url() = c:/data/srtm.tif; ElevationLayer* layer = new ElevationLayer( SRTM, gdal ); map-addElevationLayer( layer ); } One of the sample .earth files provided with osgEarth might illustrate this as well. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Build
What is the limit? The attachment is only 168KB. On Fri, 2011-12-23 at 17:10 -0700, Chris 'Xenon' Hanson wrote: On 12/23/2011 5:00 PM, Michael W. Hall wrote: Here is my project I had mentioned. It builds the lib and then when it builds the main cpp file I get lots of undefined references in my library. I am probably missing something in one of the CMakeList.txt files. I am learning that also. You can't post large attachments to this mailing list. Is there somewhere you can put a copy where only those interested in it can download it? Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Building
I will tar it up and send it. On Sun, 2011-12-11 at 21:23 +0100, Marius Kintel wrote: On Dec 10, 2011, at 23:01 PM, Michael W. Hall wrote: I have taken the OSGViewerQT example program and have tried to break it into a nice example for myself. I did something similar and put it here: https://github.com/kintel/QOsgWidget Since it's a Qt app, it uses qmake, but apart from that I assume it's similar to yours. Feel free to post links to code and error messages. Anything which is self-contained enough to just cmake . make is easy to give a quick spin. -Marius ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Building
I have taken the OSGViewerQT example program and have tried to break it into a nice example for myself. The library portion builds with a few warnings. When it builds the application that kicks off the library, I am getting undefined reference errors in the library. I was wondering if anyone on the list could offer any advice. I will gladly send the program for you to compile and see. It is not very big. I thought I would let Robert put it on the OSG site as a starting point for others. Once I get it running, I would like to get rid of the grid and have a window with a menu, window were your scene is rendered, and a status bar at the bottom. If someone has this done already and does not mind sharing that would be great. I have learned much about CMake, but I would like to get into the OSG part and learn about rendering map data over the databases I can create with VPB. Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] QT code
I am trying to use this as a starting point. I have downloaded the latest and compiled. I may have a question later this evening about the code. Michael On Sun, 2011-08-14 at 11:07 +0100, Robert Osfield wrote: HI Michael, OSG-3.0.x has an osgQt library that provides a class for adapting Qt window to work with the osgViewer classes. The osgviewerQt example illustrates this in action. Robert. On Sat, Aug 13, 2011 at 10:25 PM, Michael W. Hall hal...@att.net wrote: Would someone mind sharing their code for creating a QT application? I have spend numerous hours trying to create a QT window and have a window to render in. I have looked at the example code and it looks very different from the QT books I have. I would like to be able to create the menus using the QT. The progress I have made so far uses CMake to build which I like. But after reading some of the forums on using QT, I believe that what I have so far will not render any osg data. I really want to learn how to use OSG and I am getting frustrated just trying to create the window app. If someone could share there code or point me in the right direction I would appreciate it. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] QT code
Would someone mind sharing their code for creating a QT application? I have spend numerous hours trying to create a QT window and have a window to render in. I have looked at the example code and it looks very different from the QT books I have. I would like to be able to create the menus using the QT. The progress I have made so far uses CMake to build which I like. But after reading some of the forums on using QT, I believe that what I have so far will not render any osg data. I really want to learn how to use OSG and I am getting frustrated just trying to create the window app. If someone could share there code or point me in the right direction I would appreciate it. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Osg issue
I type osgversion. On Thu, 2011-04-07 at 15:56 +0200, Alberto Luaces wrote: Michael Hall writes: I have compiled ash on my laptop. It is running Ubuntu 10.10 X64. OSG compiles and installs. When I run osgversion from my home dir I get an error about an undefined symbol. If I go to/use/local/lib64 and run osgversion, it works. Can someone tell me what is missing? Usually it installs and runs no problem. Some tools for diagnose the problem: * At each directory, type which osgversion * The same with ldd $(which osgversion) * Are you typing ./osgversion or osgversion instead? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] runtime error
Thanks for the reply. Might have confused you. I have a 64 bit machine and a 32 bit machine. I have been building osg on both machines and installing the openscenegraph package on both from package manager. I just removed the osg package with package manager and then got the latest trunk on both machines. I build fine and they install fine on each platform. However, I get the same result. I get the error when I build osg from source and I can run osgversion when I install 2.8.1 from the package manager. I am doing this independently on both machines to see if I can get one or the other to work. I am wondering if it is the code? I am at a loss. I have not had trouble with osg for a while. All compiles well. Any ideas? On Mon, 2011-01-03 at 20:17 +0100, David Callu wrote: I Michael, This seem that you run 64bit osgversion executable and use 32bit libosg.so library, or vice versa. You have to choose one version to install on your computer, or put the directory containing the right version of osg library in first place of your PATH environment variable ex : if you use the 32bit version of osg, do # export PATH=/usr/local/lib:$PATH # /usr/local/bin/osgversion HTH David Callu 2011/1/3 Michael Hall hal...@att.net Ok. I installed OSG using apt-get and it installed 2.8.1 on both my 32 and 64 bit machines. Both ran the osgversion command. However, I removed the package from the 32 bit machine and tried to compile the latest. The compile goes fine no errors, the make install works great. However, when I try osgversion, I still get the following: osgversion: symbol lookup error: /usr/local/lib/libosg.so.70: undefined symbol: _ZN11OpenThreads5MutexC1ENS0_9MutexTypeE How do I run the ldd with osgversion to see what it needed? I have tried and I cannot figure out how to use it. I do have the libosg.s0.70 on my machine. Is any one else seeing this. Could be that I am missing something needed to run. Any help with ldd will be appreciated. Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg question
That occurred to me. How do you use the ldd command? I will give that a try and report back. I am thinking though that is may be the code. I am getting the same problem with two separate machines. Both run Ubuntu 10.04 LTS. The only difference is that one is 64 bit and the other is 32. The 32 is a laptop and the 64 bit is a desktop. I have not had any trouble with osg in a while. I do not get any compile errors, just the runtime error. On Mon, 2010-12-27 at 14:15 +0100, Alberto Luaces wrote: Michael W. Hall writes: My bad. The error now states: osgversion: symbol lookup error: /usr/local/lib64/libosg.so.70: undefined symbol: _ZN11OpenThreads5MutexC1ENS0_9MutexTypeE Ideas? It seems you are mixing libraries and executables from different OSG versions. Use the ldd command with osgversion in order to now which so's are picked for your system an environment. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg question
Just got latest and build now when I run osgversion, to see if osg is working, I get the same error with libosg.so.70. I am running Ubuntu 10.04 x64. Michael On Fri, 2010-12-24 at 13:41 +0100, Mourad Boufarguine wrote: On Thu, Dec 23, 2010 at 9:44 PM, Michael W. Hall hal...@att.net wrote: I get the following error when I run osgversion to see if it is working: osgversion: error while loading shared libraries: libosg.so.69: cannot open shared object file: No such file or directory The file does exist in /usr/local/lib64. I am using the latest version from svn. I have had this before and fixed it, now I can't remember how I used to fix it. Thanks for any help. Michael Hi Michael, The current SO number of svn/trunk is 70 (since rev 12056, committed last wednesday). If you really got the latest svn, a full rebuilt should solve your problem. Mourad ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg question
My bad. The error now states: osgversion: symbol lookup error: /usr/local/lib64/libosg.so.70: undefined symbol: _ZN11OpenThreads5MutexC1ENS0_9MutexTypeE Ideas? On Fri, 2010-12-24 at 13:41 +0100, Mourad Boufarguine wrote: On Thu, Dec 23, 2010 at 9:44 PM, Michael W. Hall hal...@att.net wrote: I get the following error when I run osgversion to see if it is working: osgversion: error while loading shared libraries: libosg.so.69: cannot open shared object file: No such file or directory The file does exist in /usr/local/lib64. I am using the latest version from svn. I have had this before and fixed it, now I can't remember how I used to fix it. Thanks for any help. Michael Hi Michael, The current SO number of svn/trunk is 70 (since rev 12056, committed last wednesday). If you really got the latest svn, a full rebuilt should solve your problem. Mourad ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osg question
I get the following error when I run osgversion to see if it is working: osgversion: error while loading shared libraries: libosg.so.69: cannot open shared object file: No such file or directory The file does exist in /usr/local/lib64. I am using the latest version from svn. I have had this before and fixed it, now I can't remember how I used to fix it. Thanks for any help. Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] website down
Is anyone else having trouble getting to the website? I am getting the following errors: Traceback (most recent call last): File /usr/lib/python2.5/site-packages/trac/web/api.py, line 339, in send_error 'text/html') File /usr/lib/python2.5/site-packages/trac/web/chrome.py, line 684, in render_template data = self.populate_data(req, data) File /usr/lib/python2.5/site-packages/trac/web/chrome.py, line 592, in populate_data d['chrome'].update(req.chrome) File /usr/lib/python2.5/site-packages/trac/web/api.py, line 168, in __getattr__ value = self.callbacks[name](self) File /usr/lib/python2.5/site-packages/trac/web/chrome.py, line 460, in prepare_request for category, name, text in contributor.get_navigation_items(req): File /usr/lib/python2.5/site-packages/trac/versioncontrol/web_ui/browser.py, line 295, in get_navigation_items if 'BROWSER_VIEW' in req.perm: File /usr/lib/python2.5/site-packages/trac/perm.py, line 523, in has_permission return self._has_permission(action, resource) File /usr/lib/python2.5/site-packages/trac/perm.py, line 537, in _has_permission check_permission(action, perm.username, resource, perm) File /usr/lib/python2.5/site-packages/trac/perm.py, line 424, in check_permission perm) File /usr/lib/python2.5/site-packages/trac/perm.py, line 282, in check_permission get_user_permissions(username) File /usr/lib/python2.5/site-packages/trac/perm.py, line 357, in get_user_permissions for perm in self.store.get_user_permissions(username): File /usr/lib/python2.5/site-packages/trac/perm.py, line 175, in get_user_permissions cursor.execute(SELECT username,action FROM permission) File /usr/lib/python2.5/site-packages/trac/db/util.py, line 51, in execute return self.cursor.execute(sql) File /usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py, line 58, in execute args or []) File /usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py, line 50, in _rollback_on_error return function(self, *args, **kwargs) OperationalError: database is locked Just a FYI. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Visual Studio 2005
I have my environment variables setup. However, linking the example I get numerous unresolved external errors. Not sure what is wrong. No compile errors. Trying to figure if it is my osglibs that are bad or what. Still trying to figure it out. Michael On Sun, 2009-08-16 at 16:52 -0400, Jean-Sébastien Guay wrote: Hi Andrew, Michael, Here, follow this guide: http://www.macs.hw.ac.uk/modules/F24VS2/Labs/OpenSceneGraphTutorial.pdf No, please don't. It's horribly out of date. Please use the documentation on the OSG web site, which has gotten much better, in particular: http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio This one is also good if you want to compile OSG from sources: http://www.skew-matrix.com/bb/viewtopic.php?f=8t=3 Also, Paul Martz has published an OSG quick start guide, which is free in PDF: http://www.osgbooks.com/ Hope this helps, J-S ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Visual Studio 2005
Finally found it. I am having trouble compiling it. I keep getting osg/Geode does not exist. It is in C:\Program Files\OpenSceneGraph\include\osg. What could be wrong? I have changed the project and told the project file where my osg is installed. Michael On Sat, 2009-08-15 at 12:07 +0100, Andrew Burnett-Thompson wrote: It's here: http://www.april1985.com/2008/02/19/osgnetdemo/ under osgDotNetDemo.rar http://www.april1985.com/?dl_id=7 Hope that helps, Andrew On Sat, Aug 15, 2009 at 4:46 AM, Michael W. Hall hal...@att.net wrote: I for the life of me cannot find the demo. Can you send it to me off of the list? Thanks, Michael On Wed, 2009-08-12 at 14:55 +0100, Andrew Burnett-Thompson wrote: Hi there, there's a great demo covering integration of OpenSceneGraph with C++/CLI discussed here: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-February/007430.html http://www.april1985.com/2008/02/19/osgnetdemo/ I'm using this successfully in a C# / OpenSceneGraph app by keeping all my OSG workings in C++ and the UI in C# with C++/CLI as a bridge between the two. Fast and performant, relatively trouble free. Not a bad way to work with OSG! Hope this helps, Andrew On Wed, Aug 12, 2009 at 2:51 PM, Michael W. Hall hal...@att.net wrote: I am just trying to create a project. What type of project is the best to start with. I chose the C++/CLR application. I got just a blank form and I have added a status bar to it and a menu bar with the designer. I am now trying to figure out how to create a window on the form to render the scene. That is where I am stuck. Have not done any 3D with windows/VS 2005 and was looking for a little help to get going. Michael On Tue, 2009-08-04 at 21:48 -0600, Chris 'Xenon' Hanson wrote: Michael W. Hall wrote: Since I am having issues with my linux box, I am tinkering with OSG in Visual Studio 2005. I am not having much luck. I was wondering if anyone can point me to some good example code for VS 2005. Clarify what you're trying to do, and what you're having problems with exactly? I use OSG with VC++ 2005 every day. I am wanting to do C++/CLR. Well, that is a different can of worms. I can't help you much there, but you should be able to get the regular C++ portion of OSG working without problems and then build on that to do your CLR stuff. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Visual Studio 2005
I for the life of me cannot find the demo. Can you send it to me off of the list? Thanks, Michael On Wed, 2009-08-12 at 14:55 +0100, Andrew Burnett-Thompson wrote: Hi there, there's a great demo covering integration of OpenSceneGraph with C++/CLI discussed here: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-February/007430.html http://www.april1985.com/2008/02/19/osgnetdemo/ I'm using this successfully in a C# / OpenSceneGraph app by keeping all my OSG workings in C++ and the UI in C# with C++/CLI as a bridge between the two. Fast and performant, relatively trouble free. Not a bad way to work with OSG! Hope this helps, Andrew On Wed, Aug 12, 2009 at 2:51 PM, Michael W. Hall hal...@att.net wrote: I am just trying to create a project. What type of project is the best to start with. I chose the C++/CLR application. I got just a blank form and I have added a status bar to it and a menu bar with the designer. I am now trying to figure out how to create a window on the form to render the scene. That is where I am stuck. Have not done any 3D with windows/VS 2005 and was looking for a little help to get going. Michael On Tue, 2009-08-04 at 21:48 -0600, Chris 'Xenon' Hanson wrote: Michael W. Hall wrote: Since I am having issues with my linux box, I am tinkering with OSG in Visual Studio 2005. I am not having much luck. I was wondering if anyone can point me to some good example code for VS 2005. Clarify what you're trying to do, and what you're having problems with exactly? I use OSG with VC++ 2005 every day. I am wanting to do C++/CLR. Well, that is a different can of worms. I can't help you much there, but you should be able to get the regular C++ portion of OSG working without problems and then build on that to do your CLR stuff. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Visual Studio 2005
I am just trying to create a project. What type of project is the best to start with. I chose the C++/CLR application. I got just a blank form and I have added a status bar to it and a menu bar with the designer. I am now trying to figure out how to create a window on the form to render the scene. That is where I am stuck. Have not done any 3D with windows/VS 2005 and was looking for a little help to get going. Michael On Tue, 2009-08-04 at 21:48 -0600, Chris 'Xenon' Hanson wrote: Michael W. Hall wrote: Since I am having issues with my linux box, I am tinkering with OSG in Visual Studio 2005. I am not having much luck. I was wondering if anyone can point me to some good example code for VS 2005. Clarify what you're trying to do, and what you're having problems with exactly? I use OSG with VC++ 2005 every day. I am wanting to do C++/CLR. Well, that is a different can of worms. I can't help you much there, but you should be able to get the regular C++ portion of OSG working without problems and then build on that to do your CLR stuff. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Visual Studio 2005
Since I am having issues with my linux box, I am tinkering with OSG in Visual Studio 2005. I am not having much luck. I was wondering if anyone can point me to some good example code for VS 2005. I am wanting to do C++/CLR. Thanks for any help. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osgDotNet
Can someone help me out with building this? I have been following the directions, but no luck yet. I created the environment variable as the instructions said, but I get errors saying that it cannot open the osg files. These files are on my system and in the location specified. Any help is appreciated. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgDotNet
Additional information. The error is looking for files in osgIntrospection. I do not see this in my osg install directory. However, I had no errors on the build of OSG or the install and none on VPB. Michael On Fri, 2009-07-10 at 17:05 -0500, Michael W. Hall wrote: Can someone help me out with building this? I have been following the directions, but no luck yet. I created the environment variable as the instructions said, but I get errors saying that it cannot open the osg files. These files are on my system and in the location specified. Any help is appreciated. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgDotNet
I did find an osgIntrospection include file in the directory where I got OSG from SVN. Copied that to the installed location of OSG. The osgDotNet built, but gave a link error about OsgIntrospection.lib. I downloaded the precompiled libs and copied that to the OSG install directory. The project seemed to build. I then tried to run the generate function as stated in the readme. Now I am getting an error saying that the application failed to start because osg55-osgIntrospectiond.dll was not found. Should this have been installed when I build OSG? Again, if anyone is using osgDotNet I would appreciate any help. Michael On Fri, 2009-07-10 at 17:10 -0500, Michael W. Hall wrote: Additional information. The error is looking for files in osgIntrospection. I do not see this in my osg install directory. However, I had no errors on the build of OSG or the install and none on VPB. Michael On Fri, 2009-07-10 at 17:05 -0500, Michael W. Hall wrote: Can someone help me out with building this? I have been following the directions, but no luck yet. I created the environment variable as the instructions said, but I get errors saying that it cannot open the osg files. These files are on my system and in the location specified. Any help is appreciated. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB
I got it to build. I kept messing with it and finally got it to work. However, I am trying to build the osgDotNet wrappers and I am having trouble there. Has anyone built these? I have been following the steps and have had no luck. Michael On Sun, 2009-07-05 at 15:47 -0600, Chris 'Xenon' Hanson wrote: Michael W. Hall wrote: Just got the latest SVN of OSG to compile on VS2005. I am now trying to get VPB to build. Was wondering if some one could point me to some help. I have tried CMAKE and when I build it I see no executable. I've built it in the last week or so without problems. Can you outline your steps? I think I'm the most recent contributor to VPB's codebase, so if it's broken, I broke it. ;) ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Warning message during VPB configure
Hi Robert, Here are the files. Let me correct myself. When I got the latest version from SVN, I did not have to make the correction. I thought I had, sorry about that. I had to make the correction to the files in the VPB version I had previously gotten from SVN. I went ahead and attached them. I still have the VPB I was trying to build. The dates on the files are 26 April 2009, so that is probably the date I got them from SVN. Michael On Sun, 2009-05-03 at 09:18 +0100, Robert Osfield wrote: Hi Michael, So in theory we have the same CMake version, but different results Anyway could send me the modifications you made so I can review them. Thanks, Robert. On Sat, May 2, 2009 at 10:17 PM, Michael W. Hall hal...@att.net wrote: Robert, I got the latest VPB from SVN and it built after I made the changes to the files I mentioned below. I am using CMake 2.6-patch 2 on FC10 x86_64. I only have OSG 2.80 installed. I think all the issues I was having prior to this message was that I had installed FC9 and then upgraded through FC10 betas. I finally last Thursday wiped my system and installed FC10 fresh and OSG built. The only issue I had was the Policy issue. Michael On Sat, 2009-05-02 at 08:58 +0100, Robert Osfield wrote: Hi Michael, What version of Cmake are you using? I'm using CMake 2.6.2 and don't see any warning. W.r.t you follow up email, it looks like VPB isn't finding the correct OSG version. Do you have multiple versions of the OSG installed? Which version of the VPB are you using? Robert. On Fri, May 1, 2009 at 8:39 PM, Michael W. Hall hal...@att.net wrote: I get the following warning during the generate of ccmake for VPB: CMake Warning (dev) at src/vpb/CMakeLists.txt:38 (ADD_LIBRARY): Policy CMP0003 should be set before this line. Add code such as if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) endif(COMMAND cmake_policy) as early as possible but after the most recent call to cmake_minimum_required or cmake_policy(VERSION). This warning appears because target vpb links to some libraries for which the linker must search: -lpthread and other libraries with known full path: /usr/local/lib64/libosg.so CMake is adding directories in the second list to the linker search path in case they are needed to find libraries from the first list (for backwards compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable. Could someone tell me how to fix this? My OSG is build and working. I am running 2.8.0 Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ### # macro for linking libraries that come from Find commands, so there is a variable that contains the # full path of the library name. in order to differentiate release and debug, this macro get the # NAME of the variables, so the macro gets as arguments the target name and the following list of parameters # is intended as a list of variable names each one containing the path of the libraries to link to # The existance of a varibale name with _DEBUG appended is tested and, in case it' s value is used # for linking to when in debug mode # the content of this library for linking when in debugging ### MACRO(LINK_WITH_VARIABLES TRGTNAME) FOREACH(varname ${ARGN}) IF(${varname}_DEBUG) TARGET_LINK_LIBRARIES(${TRGTNAME} optimized ${${varname}} debug ${${varname}_DEBUG}) ELSE(${varname}_DEBUG) TARGET_LINK_LIBRARIES(${TRGTNAME} ${${varname}} ) ENDIF(${varname}_DEBUG) ENDFOREACH(varname) ENDMACRO(LINK_WITH_VARIABLES TRGTNAME) MACRO(LINK_INTERNAL TRGTNAME) FOREACH(LINKLIB ${ARGN}) TARGET_LINK_LIBRARIES(${TRGTNAME} optimized ${LINKLIB} debug ${LINKLIB}${CMAKE_DEBUG_POSTFIX}) ENDFOREACH(LINKLIB) ENDMACRO(LINK_INTERNAL TRGTNAME) MACRO(LINK_EXTERNAL TRGTNAME) FOREACH(LINKLIB ${ARGN}) TARGET_LINK_LIBRARIES
Re: [osg-users] Warning message during VPB configure
Robert, I got the latest VPB from SVN and it built after I made the changes to the files I mentioned below. I am using CMake 2.6-patch 2 on FC10 x86_64. I only have OSG 2.80 installed. I think all the issues I was having prior to this message was that I had installed FC9 and then upgraded through FC10 betas. I finally last Thursday wiped my system and installed FC10 fresh and OSG built. The only issue I had was the Policy issue. Michael On Sat, 2009-05-02 at 08:58 +0100, Robert Osfield wrote: Hi Michael, What version of Cmake are you using? I'm using CMake 2.6.2 and don't see any warning. W.r.t you follow up email, it looks like VPB isn't finding the correct OSG version. Do you have multiple versions of the OSG installed? Which version of the VPB are you using? Robert. On Fri, May 1, 2009 at 8:39 PM, Michael W. Hall hal...@att.net wrote: I get the following warning during the generate of ccmake for VPB: CMake Warning (dev) at src/vpb/CMakeLists.txt:38 (ADD_LIBRARY): Policy CMP0003 should be set before this line. Add code such as if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) endif(COMMAND cmake_policy) as early as possible but after the most recent call to cmake_minimum_required or cmake_policy(VERSION). This warning appears because target vpb links to some libraries for which the linker must search: -lpthread and other libraries with known full path: /usr/local/lib64/libosg.so CMake is adding directories in the second list to the linker search path in case they are needed to find libraries from the first list (for backwards compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable. Could someone tell me how to fix this? My OSG is build and working. I am running 2.8.0 Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Warning message during VPB configure
I did what the warning suggested and added the if statement above the line given. I then had to do it for CMakeModules/VpbMacroUtils.cmake. It now runs without giving me a warning. However, I get the following when I try to make: [ 14%] Building CXX object src/vpb/CMakeFiles/vpb.dir/Commandline.o /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp: In member function ‘void vpb::Commandline::processImageOrHeightField(vpb::Source::Type, const std::string)’: /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:108: error: ‘class osgTerrain::Terrain’ has no member named ‘getNumColorLayers’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:108: error: ‘class osgTerrain::Terrain’ has no member named ‘getColorLayer’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:116: error: ‘class osgTerrain::Terrain’ has no member named ‘setColorLayer’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:121: error: ‘class osgTerrain::Terrain’ has no member named ‘getElevationLayer’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:129: error: ‘class osgTerrain::Terrain’ has no member named ‘setElevationLayer’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp: In member function ‘int vpb::Commandline::read(std::ostream, osg::ArgumentParser, osgTerrain::Terrain*)’: /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:491: error: ‘class osgTerrain::Terrain’ has no member named ‘getTerrainTechnique’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:495: error: ‘class osgTerrain::Terrain’ has no member named ‘setTerrainTechnique’ make[2]: *** [src/vpb/CMakeFiles/vpb.dir/Commandline.o] Error 1 make[1]: *** [src/vpb/CMakeFiles/vpb.dir/all] Error 2 make: *** [all] Error 2 Any ideas? Michael On Fri, 2009-05-01 at 14:39 -0500, Michael W. Hall wrote: I get the following warning during the generate of ccmake for VPB: CMake Warning (dev) at src/vpb/CMakeLists.txt:38 (ADD_LIBRARY): Policy CMP0003 should be set before this line. Add code such as if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) endif(COMMAND cmake_policy) as early as possible but after the most recent call to cmake_minimum_required or cmake_policy(VERSION). This warning appears because target vpb links to some libraries for which the linker must search: -lpthread and other libraries with known full path: /usr/local/lib64/libosg.so CMake is adding directories in the second list to the linker search path in case they are needed to find libraries from the first list (for backwards compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable. Could someone tell me how to fix this? My OSG is build and working. I am running 2.8.0 Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG 2.6.1 and VPB
Robert, I have LD_LIBRARY defined as /usr/local/lib64. This is where libOpenThreads.so.11 is located. I uninstalled OSG and did a make clean. I then ran make and make install. I am still getting the same error. I am running FC10 x86_64. should I make a symbolic link in /usr/local/lib? Let me know if I am missing something else. I am going to give that a try. Michael On Sat, 2009-03-07 at 09:49 +, Robert Osfield wrote: Hi Michael, You either have to install OSG and VPB or set up LD_LIBARARY and PATH env vars to point to respective lib and bin directories. Robert. On Sat, Mar 7, 2009 at 1:01 AM, Michael W. Hall hal...@att.net wrote: I appreciate the reply. I got OSG 2.6.1 and followed the info you provided to get the version of VPB that was was listed in the table to work with the version of OSG I have installed. It has been a while since I have played with it, but the both build and installed. When I try to run osgversion, I get the following: ./osgversion: error while loading shared libraries: libOpenThreads.so.11: cannot open shared object file: No such file or directory I have checked and the above lib is there. When I run osgdem, I get the following error: osgdem: error while loading shared libraries: libvpb.so.8: cannot open shared object file: No such file or directory That lib is there also. Any ideas to try? I am running FC10. Thanks, Michael On Sun, 2009-01-25 at 11:58 +0100, Ralf Stokholm wrote: Hi Michael I have set up my build of osg using externals in svn. osg http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.6.1 osgdata -r7561 http://www.openscenegraph.org/svn/osg/OpenSceneGraph-Data/trunk 3rdPartysvn -r403 https://osgtoy.svn.sourceforge.net/svnroot/osgtoy/3rdParty/branches/3rdParty_win32binaries_vs80sp1 osgdem -r927 http://www.openscenegraph.org/svn/VirtualPlanetBuilder/trunk this should work, at least it does on Windows xp and visual studio. If you simply want to get VPB in 924 or 927 which works for me, then simply do an update to revision in svn. Hope this helps. Brgs. Ralf Stokholm www.arenalogic.com 2009/1/25 Michael W. Hall hal...@att.net I have built OSG 2.6.1. Now I am trying to get the VPB to build. I got the latest from SVN, but I see that the chart says VPB r924 is the one to use. Could someone tell me how to get the version of VPB that will compile against OSG 2.6.1? I am using Fedora Core 10 x86_64. Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG 2.6.1 and VPB
I appreciate the reply. I got OSG 2.6.1 and followed the info you provided to get the version of VPB that was was listed in the table to work with the version of OSG I have installed. It has been a while since I have played with it, but the both build and installed. When I try to run osgversion, I get the following: ./osgversion: error while loading shared libraries: libOpenThreads.so.11: cannot open shared object file: No such file or directory I have checked and the above lib is there. When I run osgdem, I get the following error: osgdem: error while loading shared libraries: libvpb.so.8: cannot open shared object file: No such file or directory That lib is there also. Any ideas to try? I am running FC10. Thanks, Michael On Sun, 2009-01-25 at 11:58 +0100, Ralf Stokholm wrote: Hi Michael I have set up my build of osg using externals in svn. osg http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.6.1 osgdata -r7561 http://www.openscenegraph.org/svn/osg/OpenSceneGraph-Data/trunk 3rdPartysvn -r403 https://osgtoy.svn.sourceforge.net/svnroot/osgtoy/3rdParty/branches/3rdParty_win32binaries_vs80sp1 osgdem -r927 http://www.openscenegraph.org/svn/VirtualPlanetBuilder/trunk this should work, at least it does on Windows xp and visual studio. If you simply want to get VPB in 924 or 927 which works for me, then simply do an update to revision in svn. Hope this helps. Brgs. Ralf Stokholm www.arenalogic.com 2009/1/25 Michael W. Hall hal...@att.net I have built OSG 2.6.1. Now I am trying to get the VPB to build. I got the latest from SVN, but I see that the chart says VPB r924 is the one to use. Could someone tell me how to get the version of VPB that will compile against OSG 2.6.1? I am using Fedora Core 10 x86_64. Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] OSG 2.6.1 and VPB
I have built OSG 2.6.1. Now I am trying to get the VPB to build. I got the latest from SVN, but I see that the chart says VPB r924 is the one to use. Could someone tell me how to get the version of VPB that will compile against OSG 2.6.1? I am using Fedora Core 10 x86_64. Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Building VPB on Windows
I did stumble across FWTools and installed that. I will look at the other dependencies also. Michael On Wed, 2008-12-24 at 09:59 +0100, Raymond de Vries wrote: Hi, You can also get prebuilt gdal from VTP (Virtual Terrain Project): http://www.vterrain.org/Distrib/win.html But when using these you might need to use the other dependancies from this page as well. Best regards Raymond Ralf Stokholm wrote: Hi Michael For gdal on windows take a look at FWtools, it includes gdal and a lot of the plugins that you would have to build yourself. Brgs. Ralf Stokholm www.arenalogic.com http://www.arenalogic.com/ 2008/12/24 christophe loustaunau christophe.loustau...@gmail.com mailto:christophe.loustau...@gmail.com Hi Michael, Cmake can't fing gdal and osg on your system. / /For gdal, you can find it here : http://www.gdal.org// /For osg, you may have made an error with your Environment variable.You could add your lib path to the Environment variable path. Regards. On Wed, Dec 24, 2008 at 6:16 AM, Michael W. Hall hal...@att.net mailto:hal...@att.net wrote: Attached you will find reported errors. Michael On Wed, 2008-12-24 at 00:58 +, Simon Hammett wrote: Well it's hard to give you any pointers if you don't supply the error messages... 2008/12/23 Michael W. Hall hal...@att.net mailto:hal...@att.net: I just ran the configure utility. I am getting errors with CMake configure. Reports that a lot of the variables are set to not found. Windows XP BTW and Visual Studio 2005. Michael On Tue, 2008-12-23 at 15:33 -0600, Michael W. Hall wrote: I am trying to build VPB on my Windows machine. I get about 64 errors. I got the 2.6 version of OSG and I got the latest VPB from SVN. This could be my problem. I created all the Environment variables (i.e. OSG_ROOT, OSG_BIN_PATH, etc). When I tried a rebuild, it failed with the same errors. Could someone put me on track? Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto:osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto:osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto:osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Christophe Loustaunau. ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto:osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Building VPB on Windows
I am trying to build VPB on my Windows machine. I get about 64 errors. I got the 2.6 version of OSG and I got the latest VPB from SVN. This could be my problem. I created all the Environment variables (i.e. OSG_ROOT, OSG_BIN_PATH, etc). When I tried a rebuild, it failed with the same errors. Could someone put me on track? Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Building VPB on Windows
I just ran the configure utility. I am getting errors with CMake configure. Reports that a lot of the variables are set to not found. Windows XP BTW and Visual Studio 2005. Michael On Tue, 2008-12-23 at 15:33 -0600, Michael W. Hall wrote: I am trying to build VPB on my Windows machine. I get about 64 errors. I got the 2.6 version of OSG and I got the latest VPB from SVN. This could be my problem. I created all the Environment variables (i.e. OSG_ROOT, OSG_BIN_PATH, etc). When I tried a rebuild, it failed with the same errors. Could someone put me on track? Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Building VPB on Windows
Attached you will find reported errors. Michael On Wed, 2008-12-24 at 00:58 +, Simon Hammett wrote: Well it's hard to give you any pointers if you don't supply the error messages... 2008/12/23 Michael W. Hall hal...@att.net: I just ran the configure utility. I am getting errors with CMake configure. Reports that a lot of the variables are set to not found. Windows XP BTW and Visual Studio 2005. Michael On Tue, 2008-12-23 at 15:33 -0600, Michael W. Hall wrote: I am trying to build VPB on my Windows machine. I get about 64 errors. I got the 2.6 version of OSG and I got the latest VPB from SVN. This could be my problem. I created all the Environment variables (i.e. OSG_ROOT, OSG_BIN_PATH, etc). When I tried a rebuild, it failed with the same errors. Could someone put me on track? Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org Check for working C compiler: cl Check for working C compiler: cl -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working CXX compiler: cl Check for working CXX compiler: cl -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Looking for include files CMAKE_HAVE_PTHREAD_H Looking for include files CMAKE_HAVE_PTHREAD_H - not found. Found Threads: TRUE Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Entering C:/Documents and Settings/mwhall/Desktop/VPB/src Entering C:/Documents and Settings/mwhall/Desktop/VPB/src/vpb Returning to C:/Documents and Settings/mwhall/Desktop/VPB/src Returning to C:/Documents and Settings/mwhall/Desktop/VPB Entering C:/Documents and Settings/mwhall/Desktop/VPB/applications Entering C:/Documents and Settings/mwhall/Desktop/VPB/applications/osgdem Returning to C:/Documents and Settings/mwhall/Desktop/VPB/applications Entering C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbcache Returning to C:/Documents and Settings/mwhall/Desktop/VPB/applications Entering C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbsizes Returning to C:/Documents and Settings/mwhall/Desktop/VPB/applications Entering C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbmaster Returning to C:/Documents and Settings/mwhall/Desktop/VPB/applications Returning to C:/Documents and Settings/mwhall/Desktop/VPB CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GDAL_INCLUDE_DIR used as include directory in directory C:/Documents and Settings/mwhall/Desktop/VPB/src/vpb used as include directory in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/osgdem used as include directory in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbcache used as include directory in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbsizes used as include directory in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbmaster GDAL_LIBRARY linked by target vpb in directory C:/Documents and Settings/mwhall/Desktop/VPB/src/vpb linked by target application_osgdem in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/osgdem linked by target application_vpbcache in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbcache linked by target application_vpbsizes in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbsizes linked by target application_vpbmaster in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbmaster OPENTHREADS_LIBRARY linked by target vpb in directory C:/Documents and Settings/mwhall/Desktop/VPB/src/vpb linked by target vpb in directory C:/Documents and Settings/mwhall/Desktop/VPB/src/vpb linked by target application_osgdem in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/osgdem linked by target application_osgdem in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/osgdem linked by target application_vpbcache in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbcache linked by target application_vpbcache in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications/vpbcache linked by target application_vpbsizes in directory C:/Documents and Settings/mwhall/Desktop/VPB/applications
[osg-users] Compiling OSG on Windows
I am trying to build OSG on my Windows XP box. I downloaded CMake and I am having trouble getting it to build. I am following the Wiki instructions for building, but still having problems. I have not used CMake on Windows, so I am new to this. There is an error about WxWidgets not found is that required? If someone could give me some pointers it would be appreciated. I am trying to build it for VS 2003. Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Compiling OSG on Windows
I would like the viewer, but I would just like to build the OSG Lib for now. The configure button on the CMake GUI is not getting enabled. I only assume that something is not right. Not sure what is missing. Is there something in the CMakeList.txt file that I neeed to set? Thanks for the reply, Michael On Sat, 2008-12-06 at 19:08 +0100, Janusz wrote: Michael: You need wxwidgets/windows only if you intend to build the osgwxviewer example. If this is your only source of error, ignore it. Janusz Michael W. Hall pisze: I am trying to build OSG on my Windows XP box. I downloaded CMake and I am having trouble getting it to build. I am following the Wiki instructions for building, but still having problems. I have not used CMake on Windows, so I am new to this. There is an error about WxWidgets not found is that required? If someone could give me some pointers it would be appreciated. I am trying to build it for VS 2003. Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Compiling OSG on Windows
Never mind. I hit configure a second time and it enabled the Generate button. The project files were created and I am building it now. Thanks for the wxWindows infomation. Michael. On Sat, 2008-12-06 at 19:08 +0100, Janusz wrote: Michael: You need wxwidgets/windows only if you intend to build the osgwxviewer example. If this is your only source of error, ignore it. Janusz Michael W. Hall pisze: I am trying to build OSG on my Windows XP box. I downloaded CMake and I am having trouble getting it to build. I am following the Wiki instructions for building, but still having problems. I have not used CMake on Windows, so I am new to this. There is an error about WxWidgets not found is that required? If someone could give me some pointers it would be appreciated. I am trying to build it for VS 2003. Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB error
Got OSG/trunk and VPB/trunk both compiled and both installed. However, I still get the error when I try to run osgdem. osgdem: error while loading shared libraries: libvpb.so.8: cannot open shared object file: No such file or directory I looked in /usr/local/lib64 and here is what I have: lrwxrwxrwx 1 root root 11 2008-09-06 15:57 libvpb.so - libvpb.so.8 -rwxr-xr-x 1 root root 3577150 2008-09-06 15:57 libvpb.so.0.9.9 lrwxrwxrwx 1 root root 15 2008-09-06 15:57 libvpb.so.8 - libvpb.so.0.9.9 Not sure why I am getting the error, when it appears that the install did creat the symlink. Any ideas? Michael On Fri, 2008-09-05 at 20:59 +0100, Robert Osfield wrote: On Fri, Sep 5, 2008 at 8:26 PM, Michael W. Hall [EMAIL PROTECTED] wrote: I looked at the front page and nothing is mentioned about OSG 2.6. And yet you still wanted to make the assumption that implictly SVN/trunk meant OSG 2.6... the VPB wiki front page tells you everything that is to know. I have tried VPB 0.9.7 and make fails with several errors. The SVN version compiles, but gives the the error when I try to run it. Can you tell me which version of VPB I need? There is no VPB dev release that maps to OSG-2.6. VPB is in development, and isn't far away from its 1.0. To pick up on the latest VPB you'll need VPB svn/trunk and OSG svn/trunk as some of the recent additions to VPB required mods to osgTerrain in OSG, since 2.6. Once VPB is ready for its next dev release I'll match a VPB dev release with a corresponding OSG dev release. I'm not ready for this yet. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB error
Robert, I looked at the front page and nothing is mentioned about OSG 2.6. I have tried VPB 0.9.7 and make fails with several errors. The SVN version compiles, but gives the the error when I try to run it. Can you tell me which version of VPB I need? Michael On Thu, 2008-09-04 at 10:27 +0100, Robert Osfield wrote: HI Michael, There are notes on the virtualplanetbuidler.osgforge.osg front page that describes with versions of the VPB work with which versions of OSG. As always the VPB svn trunk works against the OSG svn trunk, not OSG 2.6. Robert. On Thu, Sep 4, 2008 at 4:00 AM, Michael W. Hall [EMAIL PROTECTED] wrote: Has there been a new release of VPB? I built it, but when I try to run it I get the following: osgdem: error while loading shared libraries: libvpb.so.8: cannot open shared object file: No such file or directory Looks as thought something did not install. Just wondering if someone may have some idea. I got the version of VPB from SVN and it appears to build with the OSG that I have, 2.6 RC1. Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VPB error
Has there been a new release of VPB? I built it, but when I try to run it I get the following: osgdem: error while loading shared libraries: libvpb.so.8: cannot open shared object file: No such file or directory Looks as thought something did not install. Just wondering if someone may have some idea. I got the version of VPB from SVN and it appears to build with the OSG that I have, 2.6 RC1. Thanks, Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VPB
I have VPB 0.9.7 and OSG 2.6 RC1. I am getting errors when building VPB. They are as follows: /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp: In member function ‘void vpb::Commandline::processImageOrHeightField(vpb::Source::Type, const std::string)’: /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:108: error: ‘class osgTerrain::Terrain’ has no member named ‘getNumColorLayers’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:108: error: ‘class osgTerrain::Terrain’ has no member named ‘getColorLayer’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:116: error: ‘class osgTerrain::Terrain’ has no member named ‘setColorLayer’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:121: error: ‘class osgTerrain::Terrain’ has no member named ‘getElevationLayer’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:129: error: ‘class osgTerrain::Terrain’ has no member named ‘setElevationLayer’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp: In member function ‘int vpb::Commandline::read(std::ostream, osg::ArgumentParser, osgTerrain::Terrain*)’: /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:505: error: ‘class osgTerrain::Terrain’ has no member named ‘getTerrainTechnique’ /home/mwhall/Download/VirtualPlanetBuilder/src/vpb/Commandline.cpp:509: error: ‘class osgTerrain::Terrain’ has no member named ‘setTerrainTechnique’ make[2]: *** [src/vpb/CMakeFiles/vpb.dir/Commandline.o] Error 1 make[1]: *** [src/vpb/CMakeFiles/vpb.dir/all] Error 2 make: *** [all] Error 2 Any suggestions? Should this version of VPB compile with 2.6? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BlueMarble example
Figured it out. Include problem. Thanks, Michael On Thu, 2008-06-12 at 11:16 +0200, David Callu wrote: Hi Michael osgDB::ImageOptions class is in the SVN trunk. I can't found osgbluemarble in the SVN trunk so no idea what is wrong. perhaps an include issue... can you send an exact error message. David Callu 2008/6/12 Michael W. Hall [EMAIL PROTECTED]: I was using some code from the osgbluemarble.cpp example. I am getting an error stating that ImageOptions is not a member of osgDB. I have been looking in the documentation on the website and have not found anything. Can someone tell me what has replaced this or where it is now? Thanks. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] BlueMarble example
I was using some code from the osgbluemarble.cpp example. I am getting an error stating that ImageOptions is not a member of osgDB. I have been looking in the documentation on the website and have not found anything. Can someone tell me what has replaced this or where it is now? Thanks. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Question on how to use the Graphics Context?
All, I am hoping someone with a little more experience could help me out. I have an application that I am working on to learn how to program using OSG. I have used Virtual Planet Builder (VPB) to generate a model of the earth using the BMNG data. I start my application and use File-Open and navigate to the location of my earth.ive file. When the model is displayed, it is not displayed inside my application window, but as a full screen view in a osgViewer. I know why is it doing this, but I am not familiar with using the drawing context to correct the problem. I have attached the .h and .ccp files from my program where the problem exists. I have a osgViewer::Viewer m_Viewer object defined in the header. The Read function is what I use to display the model and the function is as follows: void KMapView::open(QString filename) { m_Viewer.setSceneData(osgDB::readNodeFile(filename)); m_Viewer.run(); } This I believe is my problem. The m_Viewer is not part of the GraphicsWindow object and is getting started as a seperate thread than my application. First, am I on the right track that this is my problem? If so, how do I pass the data in the earth.ive file to a graphic window object to be rendered? I am new to graphics programming so please forgive the newbie type question. Thanks, Michael /*** * Copyright (C) 2007 by Michael W. Hall * * [EMAIL PROTECTED] * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of* * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***/ #include kmapview.h #include qpainter.h #include qlayout.h #include kurl.h #include ktrader.h #include klibloader.h #include kmessagebox.h #include krun.h #include klocale.h #include osgDB/ReadFile KMapView::KMapView(QWidget *parent) : QGLWidget(parent), DCOPObject(KMapIface) { // Get a graphics context. m_gw = new osgViewer::GraphicsWindowEmbedded(0,0,width(),height()); // Set the viewport. getCamera()-setViewport(new osg::Viewport(0,0,width(),height())); // Set the Projection Matrix. getCamera()-setProjectionMatrixAsPerspective(30.0f, static_castdouble(width())/static_castdouble(height()), 1.0f, 1.0f); // Set the graphics context. getCamera()-setGraphicsContext(getGraphicsWindow()); // Set our threading model. setThreadingModel(osgViewer::Viewer::SingleThreaded); // Create our world // createWorld(); } KMapView::~KMapView() { } osgViewer::GraphicsWindow* KMapView::getGraphicsWindow() { return m_gw.get(); } bool createWorld(const std::string left_hemisphere, const std::string right_hemisphere, const std::string baseName, unsigned int numLevels) { osgDB::ReaderWriter* readerWriter = osgDB::Registry::instance()-getReaderWriterForExtension(gdal); } void KMapView::print(QPainter *p, int height, int width) { // do the actual printing, here // p-drawText(etc..) } QString KMapView::currentURL() { return m_html-url().url(); } void KMapView::open(QString filename) { m_Viewer.setSceneData(osgDB::readNodeFile(filename)); m_Viewer.run(); } //void KMapView::openURL(const KURL url) //{ //m_html-openURL(url); //} void KMapView::slotOnURL(const QString url) { emit signalChangeStatusbar(url); } void KMapView::slotSetTitle(const QString title) { emit signalChangeCaption(title); } #include kmapview.moc /*** * Copyright (C) 2007 by Michael W. Hall * * [EMAIL PROTECTED] * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2
Re: [osg-users] osgdem issue
Yes, I noticed that a little while after posting. I looked and thought why do I have the western hemisphere and not the eastern. Then I noticed it. Well live and learn. Michael On Mon, 2008-02-25 at 08:45 +, Robert Osfield wrote: HI Michael, You'll kick yourself, parse the command line and you find no space between las_shallow_topo_east.tif and --geocentric. Robert. On Sun, Feb 24, 2008 at 8:35 PM, Michael W. Hall [EMAIL PROTECTED] wrote: I have the following files land_shallow_topo_east.tif and land_shallow_topo_west.tif. I run the following command: osgdem --bluemarble-west -t ../land_shallow_topo_west.tif --bluemarble-east -t ../land_shallow_topo_east.tif--geocentric -l 12 -o earth.ive When I view the earth.ive file in my program I am only getting a flat image of the western hemisphere. I thought this would generate a model of the earth? What am I missing? It looks like it is only generating six layers also. Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Using VPB to generate Earth Model
I have posted about this a few times. I finally stopped my previous process of running osgdem with the world.topo.200406.3x21600x21600.panels.jpg.tar and the land_shallow_topo_west.tif, and land_shallow_topo_east.tif files. It had generated 40 thousand .ive files and was still running. I started the generation process Tuesday. Before I killed the process I did view the earth.ive file and I did have a sphere. I downloaded the world.topo.200406.3x21600x10800.png BMNG image and tried again. The process completed and when I view the earth.ive file it is just a flat image. It is not a sphere. Can someone give me a little advice? I have the two tif files and the png file in a directory called MapData. I created a subdirectory called Earth from which I execute: osgdem --bluemarble-west -t ../land_shallow_topo_west.tif --bluemarble-east -t ../land_shallow_topo_east.tif--geocentric -l 12 -o earth.ive Should this not create a sphere with the png file textured to it? I am just going by the instructions on the webpage I got the command. Any tips appreciated. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] using VPB to make an earth model
Philip, Just wanted to let you know that it appears to be working. I had the two tif files that you have and the following BMNG tar which I extracted: world.topo.200406.3x21600x21600.panels.jpg.tar The osgdem program has been generating *.ive files for 4 days now. I hope it finishes soon. These are the 500m images and there are eight of them that create the image of the entire world. I am not sure if the osgdem program is actually using these or not. Here is the command I used: osgdem --bluemarble-west -t ../land_shallow_topo_west.tiff --bluemarble-east -t ../land_shallow_topo_east.tiff--geocentric -l 12 -o earth.ive I got this command from the webpage that I downloaed the tif files from, www.andesengineering.com/BlueMarbleViewer. It also stated that the following example uses Earth as a directory and has the blue marble images in the directory above the Earth directory. Then it had the command I used above following. Since I am learning could someone tell me how much data should be generated? Or can you tell by the command. Thanks, Michael On Sat, 2008-02-02 at 09:58 -0600, Philip Hahn wrote: Group, I realize Virtual Planet Builder is in a state of flux. Is it possible to use either 0.9.1 or 0.9.4 to create an earth model, similar to the older version of osgdem? I tried last night (tweaking the input syntax which apparently changed), but basically got garbage out. Could someone give me a valid syntax for such an operation using the land_shallow_topo_west and land_shallow_topo_east .tiff's (or recommending a different overlay image with a known working syntax)? Eventually I'd like a model that has actual terrain heights but for now a spheroid with imagery overlay is sufficient! Thanks, Philip ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] using VPB to make an earth model
Sorry to reply to my own message. I just noticed that I misspelled the extension of the files. They should be .tif once I fixed that it stated generating data. I will let you know if it works. Michael On Tue, 2008-02-05 at 17:15 -0600, Michael W. Hall wrote: Hey, Did you find out anything? I have been looking for data to create an earth model myself. I did a search for the tiff files you listed and found them. I tried the following command: osgdem --bluemarble-west -t ../land_shallow_topo_west.tiff --bluemarble-east -t ../land_shallow_topo_east.tiff--geocentric -l 12 -o earth.ive Here is the output I received: --bluemarble-west GEOGCS[WGS 84,DATUM[WGS_1984,SPHEROID[WGS 84,6378137,298.257223563,AUTHORITY[EPSG,7030]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[EPSG,6326]],PRIMEM[Greenwich,0,AUTHORITY[EPSG,8901]],UNIT[degree,0.0174532925199433,AUTHORITY[EPSG,9108]],AXIS[Lat,NORTH],AXIS[Long,EAST],AUTHORITY[EPSG,4326]] matrix={ 180 0 0 0 0 180 0 0 0 0 1 0 -180 -90 0 1 } -t ../land_shallow_topo_west.tiff --bluemarble-eastGEOGCS[WGS 84,DATUM[WGS_1984,SPHEROID[WGS 84,6378137,298.257223563,AUTHORITY[EPSG,7030]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[EPSG,6326]],PRIMEM[Greenwich,0,AUTHORITY[EPSG,8901]],UNIT[degree,0.0174532925199433,AUTHORITY[EPSG,9108]],AXIS[Lat,NORTH],AXIS[Long,EAST],AUTHORITY[EPSG,4326]] matrix={ 180 0 0 0 0 180 0 0 0 0 1 0 0 -90 0 1 } -t ../land_shallow_topo_east.tiff--geocentric -o earth.ive Realized window started DataSet::createDestination(12) completed DataSet::createDestination(12) Error: no scene graph to output, no file written. I have the 500m blue marble images in the same directory as the data files. I am learning. Just wanted to show what I tried and see if you had figured anything out. Thanks, Michael On Sat, 2008-02-02 at 09:58 -0600, Philip Hahn wrote: Group, I realize Virtual Planet Builder is in a state of flux. Is it possible to use either 0.9.1 or 0.9.4 to create an earth model, similar to the older version of osgdem? I tried last night (tweaking the input syntax which apparently changed), but basically got garbage out. Could someone give me a valid syntax for such an operation using the land_shallow_topo_west and land_shallow_topo_east .tiff's (or recommending a different overlay image with a known working syntax)? Eventually I'd like a model that has actual terrain heights but for now a spheroid with imagery overlay is sufficient! Thanks, Philip ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] SRTM DTED data
I would like to use the BMNG image file to create a model of earth in my program. I have one of the BMNG jpgs. Can I use osgdem with the jpg file to create a earth model? Do I need DTED data? I am trying to improve my knowledge of maps and learn OpenSceneGraph. Also, how do you know if a texture map and the data you have go together? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB configure error
Gordon, Thanks, for the help. Got that installed and was able to build VPB. I have ran into another question. I downloaded the file: world.topo.bathy.200411.3x86400x43200.bin.gz I unziped it and got the file world.topo.bathy.200411.3x86400x43200.bin When I try to execute this I get the following: bash: ./world.topo.bathy.200411.3x86400x43200.bin: File too large Can anyone tell me what this file is? I thought it would be the file I would provide to osgdem in my VPB that I built? I was hoping this would build the paged database for BMNG. On Sat, 2008-01-19 at 17:58 -0500, Gordon Tomlinson wrote: GDal is a third party plugin which is used by VPB but is not part of OSG, you will need to down load GDAL and build it for your system http://www.gdal.org/index.html see http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies for other 3rd party dependcies you might need __ Gordon Tomlinson Email : [EMAIL PROTECTED] YIM/AIM : gordon3dBrit MSN IM : [EMAIL PROTECTED] Website : www.vis-sim.com www.gordontomlinson.com __ Self defence is not a function of learning tricks but is a function of how quickly and intensely one can arouse one's instinct for survival -Master Tambo Tetsura -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael W. Hall Sent: Saturday, January 19, 2008 5:36 PM To: OSG-USERS Subject: [osg-users] VPB configure error I am getting the following error running configure for VirtualPlanetBuilder: -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found CMake Error: This project requires some variables to be set, and cmake can not find them. Please set the following variables: GDAL_INCLUDE_DIR GDAL_LIBRARY -- Configuring done Is GDAL not in osg? I have built osg and I am having trouble with VPB. I did some searching on google and ran across a file that I put in my VPB directory called FindGDAL.cmake. This did not make any difference. Any suggestions? Thanks. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VPB configure error
I am getting the following error running configure for VirtualPlanetBuilder: -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found CMake Error: This project requires some variables to be set, and cmake can not find them. Please set the following variables: GDAL_INCLUDE_DIR GDAL_LIBRARY -- Configuring done Is GDAL not in osg? I have built osg and I am having trouble with VPB. I did some searching on google and ran across a file that I put in my VPB directory called FindGDAL.cmake. This did not make any difference. Any suggestions? Thanks. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Blue Marble example
I am using OSG version 2.2.0. The blue marble example is probably left over from an older version I had. I am trying to basically create a sphere and overlay the NASA BMNG jpg over it. I would eventually like to be able to read in the elevation data, generated by the shuttle SRTM, and overlay various maps over the elevation data. I am mainly wanting to learn how to use the OSG lib, read elevation data and texture maps over that data. On Fri, 2008-01-11 at 09:36 +, Robert Osfield wrote: Hi Michael, The OSG's old blue marble example was removed well over a year ago, what version are you using? Could you back and say what you are trying to do/learn to do, there is likely to be an easier way to tackling the task now. Robert. On Jan 10, 2008 11:09 PM, Michael W. Hall [EMAIL PROTECTED] wrote: I am looking at the Blue Marble example that come with the source. I have a question about the createWorld function. The first line of the function they are getting a readerwriter. They make a call to getReaderWriterForExtension(gdal). What is this extension and how do you know what extensions to pass in? Is there a list of them somewhere? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Blue Marble example
I am looking at the Blue Marble example that come with the source. I have a question about the createWorld function. The first line of the function they are getting a readerwriter. They make a call to getReaderWriterForExtension(gdal). What is this extension and how do you know what extensions to pass in? Is there a list of them somewhere? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgViewer
I have attached the screenshot of my application running. I have also attached the view class. Again the class was generated by KDevelop and I have modified it. I have been looking at the example Rafa mentioned, but I still cannot find the solution to the issue I am having. I select the cube.osg file from the following location: OSG_OP_OT-1.2/Producer/Test/Trackball My application reads the file and it displays. However, what you see in my screenshot disappears and I get a full screen of the cube. I am hoping some one can tell me what I am missing. I would like the cube to be displayed in the window of the application. I am a beginner with OSG, so forgive me if this is trivial. If someone has any advice, please send it my way. Now back to the reference documentation. Thanks, Michael On Wed, 2008-01-02 at 08:53 +0100, Rafa Gaitan wrote: Hi Michael, mmh I don't know, I successfully created a Viewer in Java, so, probably you are missing something...Have you called to setUpViewerAsEmbedded method?.. .You should have all you need in the viewer examples of the OSG source tree. Rafa. On Jan 1, 2008 11:45 PM, Michael W. Hall [EMAIL PROTECTED] wrote: Thanks for the info Rafa. I appear to have something working. I my KMapView class is derived from QGLWidget and osgViewer::Viewer. The application compiled successfully. To test it I tried to open cube.osg that came with my osg source. It appeared to open the file. It was a yellow cube with a symbol that looked like a lamda. However, when the file was opened it was showing full screen. My question is how do you keep this from happening? Was it the file or is there something wrong in my code? Thanks, Michael On Thu, 2007-12-27 at 08:18 +0100, Rafa Gaitan wrote: Hi Michael, I'm not an expert in QT, but probably you can take a look to osgviewerQT example inside OSG source tree. Rafa. On Dec 27, 2007 4:35 AM, Michael W. Hall [EMAIL PROTECTED] wrote: I have created a KDevelop project using the Application framework template. I have made my kmapview.cpp class derive from QGLWidget. I created a member variable, m_Viewer in the KMapView class. I have in my constructor for KMapView the following: m_Viewer.getCamera()-setProjectionMatrixAsPerspective( 40., 1., 1., 100. ); m_Viewer.getCamera()-setClearColor( osg::Vec4( 0., 0., 0., 1. ) ); However, it doesn't appear that anything is changing. I ran the application after creating the project to see how it looked. With the above changes, it appears that nothing is being effected. The window still looks the same as when I first ran it. I have still have a window with a white background. I have attached a picture of the application running. I was hoping the big white field would have changed to an osgViewer as the window where the white field is. Any ideas as how to replace the white field with an osgViewer? I am a beginner with OSG. I am playing to learn. I have read the OpenSceneGraph Quick Start Quide. Thanks for any help. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users
Re: [osg-users] osgViewer
Thanks for the info Rafa. I appear to have something working. I my KMapView class is derived from QGLWidget and osgViewer::Viewer. The application compiled successfully. To test it I tried to open cube.osg that came with my osg source. It appeared to open the file. It was a yellow cube with a symbol that looked like a lamda. However, when the file was opened it was showing full screen. My question is how do you keep this from happening? Was it the file or is there something wrong in my code? Thanks, Michael On Thu, 2007-12-27 at 08:18 +0100, Rafa Gaitan wrote: Hi Michael, I'm not an expert in QT, but probably you can take a look to osgviewerQT example inside OSG source tree. Rafa. On Dec 27, 2007 4:35 AM, Michael W. Hall [EMAIL PROTECTED] wrote: I have created a KDevelop project using the Application framework template. I have made my kmapview.cpp class derive from QGLWidget. I created a member variable, m_Viewer in the KMapView class. I have in my constructor for KMapView the following: m_Viewer.getCamera()-setProjectionMatrixAsPerspective( 40., 1., 1., 100. ); m_Viewer.getCamera()-setClearColor( osg::Vec4( 0., 0., 0., 1. ) ); However, it doesn't appear that anything is changing. I ran the application after creating the project to see how it looked. With the above changes, it appears that nothing is being effected. The window still looks the same as when I first ran it. I have still have a window with a white background. I have attached a picture of the application running. I was hoping the big white field would have changed to an osgViewer as the window where the white field is. Any ideas as how to replace the white field with an osgViewer? I am a beginner with OSG. I am playing to learn. I have read the OpenSceneGraph Quick Start Quide. Thanks for any help. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Error when I try to run
That got it. Thanks, Michael On Fri, 2007-11-09 at 10:06 +0100, Alberto Luaces wrote: El Friday 09 November 2007 04:37:01 Michael W. Hall escribió: I downloaded the OpenSceneGraph Quick Start Guide and read it. I created a KDE app in KDevelop. I basically did the following in the header file: osgViewer::Viewer viewer I linked with libosgViewer.so and libosg.so. The program compiles and when I try to run it I am getting the following error: /home/mwhall/Projects/KMap/debug/./src/kmap: error while loading shared libraries: libosg.so.25: cannot open shared object file: No such file or directory Can anyone give me a clue as to what is going on? I linked with the libs in /usr/local/lib64. If you need more info I will provide it, just trying to take baby steps. Thanks. The OS is not finding the libraries at run time. You either have to set the LD_LIBRARY_PATH environment variable accordingly export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/usr/local/lib64 or add that path to your system's library paths. To do that, add the line /usr/local/lib64 to the bottom of your /etc/ld.so.conf and then run the ldconfig command. Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Error when I try to run
I downloaded the OpenSceneGraph Quick Start Guide and read it. I created a KDE app in KDevelop. I basically did the following in the header file: osgViewer::Viewer viewer I linked with libosgViewer.so and libosg.so. The program compiles and when I try to run it I am getting the following error: /home/mwhall/Projects/KMap/debug/./src/kmap: error while loading shared libraries: libosg.so.25: cannot open shared object file: No such file or directory Can anyone give me a clue as to what is going on? I linked with the libs in /usr/local/lib64. If you need more info I will provide it, just trying to take baby steps. Thanks. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Just getting started
Thanks for the info. I downloaded the guide and I was running version 1.2. I just downloaded OSG 2.2 and I am in the process of installing it. Again thanks and I am pretty sure I will have more questions as time goes on. Are the books mentioned on the site Paul gave me available in books stores or are they only available on the site? Michael On Fri, 2007-10-19 at 07:41 +0100, Robert Osfield wrote: Hi Michael, As Paul suggests, download and read the QuickStartGuide. There are also tutorials on the OSG websites. I'd also recommending use OSG-2.2 as the book is based on 2.x, and the build CMake system should be able to handle KDevelop. Exceptions should be on unless you turn them off with modern C++ compilers. There is no reason disable exceptions when using the OSG. If an exception is thrown then its down to a bug that needs fixing. Robert. On 10/19/07, Michael W. Hall [EMAIL PROTECTED] wrote: I am new to OSG and I have just started playing with OSG. I have checked out the website and have not had much luck figuring things out. Is there a good reference on-line someone can point me to? Also, I created a KDevelop project and was using the osgBluemarble example as a go by. I added the following lines to my project: Producer::ref_ptrProducer::RenderSurface rs; rs = new Producer::RenderSurface; When I tried to compile the file, the compiler reported an error on line 58 of /usr/local/include/Producer/Referenced. Line 58 is as follows: else if( _refCount0) throw 1; The error was exception handling was disabled use -fexceptions to turn on. Do I need to recompile OSG with this flag? Any help is appreciated. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org