Re: [osg-users] error build
Howdy, I don't have much time debugging this, need to work on my research. Hope this helps : g++ --version g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.8.1-10ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9) Cheers, -Joshua Robinson On Thu, May 28, 2015 at 2:21 PM, Chris Hanson xe...@alphapixel.com wrote: I have a Linux Mint box here that I think I've built OSG on. You can't find a more descriptive error with the ccmake command, I could try replicating the situation, but it will probably be a few days until I can get to it. On Thu, May 28, 2015 at 6:09 AM, Alberto Luaces alua...@udc.es wrote: Joshua Robinson writes: Howdy, cmake version 2.8.11.2 So far no problem with cmake. Built lots of project with it, no problems. Try the ccmake executable instead of cmake. Errors there are usually more apparent. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.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 https://twitter.com/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] error build
Howdy, Thank you all. We are heavily research group we use openXXX source stuff that works. Since we can't use it in our research, we decided to drop OSG and evaluate some else. Cheers, -Joshua On Thu, May 28, 2015 at 2:34 PM, Chris Hanson xe...@alphapixel.com wrote: Well, you probably need to try the ccmake recommendation. If it's not something you have time for, then we probably can't help you much. On Thu, May 28, 2015 at 12:32 PM, Joshua Robinson shooki.robin...@gmail.com wrote: Howdy, I don't have much time debugging this, need to work on my research. Hope this helps : g++ --version g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.8.1-10ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9) Cheers, -Joshua Robinson On Thu, May 28, 2015 at 2:21 PM, Chris Hanson xe...@alphapixel.com wrote: I have a Linux Mint box here that I think I've built OSG on. You can't find a more descriptive error with the ccmake command, I could try replicating the situation, but it will probably be a few days until I can get to it. On Thu, May 28, 2015 at 6:09 AM, Alberto Luaces alua...@udc.es wrote: Joshua Robinson writes: Howdy, cmake version 2.8.11.2 So far no problem with cmake. Built lots of project with it, no problems. Try the ccmake executable instead of cmake. Errors there are usually more apparent. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.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 https://twitter.com/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 -- 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 https://twitter.com/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] error build
Howdy, cmake version 2.8.11.2 So far no problem with cmake. Built lots of project with it, no problems. Cheers, -Joshua On Thu, May 28, 2015 at 6:03 AM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Joshua, On 28 May 2015 at 10:46, Joshua Robinson shooki.robin...@gmail.com wrote: Linux Mint 16. I've not used Linix Mint, and it's not one that gets mentioned on the mailing list/forum, so I don't know if usually users don't have problems, or perhaps it's just not tried that often, build problems under Linux aren't usually a significant issue, and when they do occur it tends to be with older release that the dependencies are very old, or so new that we haven't had a chance to test against them yet. In your case I don't know what might be amiss so we'll need to work through the options. First up because it's a configuration issue it could be that cmake itself is causing problems, or something unusually about the headers installed that is causing problems. What version of cmake are you using? Have you compiled any other projects with cmake on your system? FYI, Kubunty 15.04 that I'm using has cmake 3.0.2. Previously I've used the cmake 2.6.x and 2.8.x series, the OSG-3.2 branch should work fine with all of these in theory. The other thing to investigate is whether cmake can provide you with additional information about why it has a configuration error as right now there doesn't seem any obvious clues to what is causing the problem. 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] error build
been written to: /home/robert/temp/test This was done using Kubuntu 15.04, but when I tagged OSG-3.2.2.rc2 I was using Kubunut-14.10. OSG-3.2.0 goes back several years, since then it's been all build build and bug fixes, and in all that time it's been compiling find on a range of Linux version and range of other OS's. What OS version are you using? Robert. On 27 May 2015 at 22:10, Joshua Robinson shooki.robin...@gmail.com wrote: Howdy, 1) Downloaded a fresh copy of:: OpenSceneGraph-3.2.2 release candidate 2 from ::: http://www.openscenegraph.org/index.php/download-section/stable-releases 2) Created a build directory out of source ::: osg_build3.2.2-rc2 3) Ran cmake ../OpenSceneGraph-3.2.2-rc2/ -DCMAKE_BUILD_TYPE=Debug osg_cmake.txt 4) Error see attached file. Any suggestions ? Is Qt a must ? Cheers, -Joshua Robinson ___ 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] osgmovie error
Howdy, I have 4 things to say: 1) I compared OSG to OpenInventor or OpenCV and it is a toy. 2) I download osgmovie.cpp (attached a copy) and add it to my cmake file that works fine on other downloaded sample code. osgmovie.cpp, Line #150 + 151 view-computeIntersections takes x,y and not ea as parameters. 3) the error /home/shooki/swdev/osg-eval/build make Scanning dependencies of target hci571-hw01 [100%] Building CXX object CMakeFiles/hci571-hw01.dir/osgmovie.c++.o /home/shooki/swdev/osg-eval/osgmovie.c++: In member function ‘virtual bool MovieEventHandler::handle(const osgGA::GUIEventAdapter, osgGA::GUIActionAdapter, osg::Object*, osg::NodeVisitor*)’: /home/shooki/swdev/osg-eval/osgmovie.c++:151:70: error: no matching function for call to ‘osgViewer::View::computeIntersections(const osgGA::GUIEventAdapter, osgUtil::LineSegmentIntersector::Intersections)’ intersections) : view-computeIntersections(ea, nv-getNodePath(), intersections)); ^ /home/shooki/swdev/osg-eval/osgmovie.c++:151:70: note: candidates are: In file included from /usr/include/osgViewer/Viewer:21:0, from /home/shooki/swdev/osg-eval/osgmovie.c++:19: /usr/include/osgViewer/View:225:14: note: bool osgViewer::View::computeIntersections(float, float, osgUtil::LineSegmentIntersector::Intersections, osg::Node::NodeMask) bool computeIntersections(float x,float y, osgUtil::LineSegmentIntersector::Intersections intersections,osg::Node::NodeMask traversalMask = 0x); ^ /usr/include/osgViewer/View:225:14: note: candidate expects 4 arguments, 2 provided /usr/include/osgViewer/View:228:14: note: bool osgViewer::View::computeIntersections(float, float, const NodePath, osgUtil::LineSegmentIntersector::Intersections, osg::Node::NodeMask) bool computeIntersections(float x,float y, const osg::NodePath nodePath, osgUtil::LineSegmentIntersector::Intersections intersections,osg::Node::NodeMask traversalMask = 0x); ^ /usr/include/osgViewer/View:228:14: note: candidate expects 5 arguments, 2 provided /home/shooki/swdev/osg-eval/osgmovie.c++:151:138: error: no matching function for call to ‘osgViewer::View::computeIntersections(const osgGA::GUIEventAdapter, osg::NodePath, osgUtil::LineSegmentIntersector::Intersections)’ intersections) : view-computeIntersections(ea, nv-getNodePath(), intersections)); ^ /home/shooki/swdev/osg-eval/osgmovie.c++:151:138: note: candidates are: In file included from /usr/include/osgViewer/Viewer:21:0, from /home/shooki/swdev/osg-eval/osgmovie.c++:19: /usr/include/osgViewer/View:225:14: note: bool osgViewer::View::computeIntersections(float, float, osgUtil::LineSegmentIntersector::Intersections, osg::Node::NodeMask) bool computeIntersections(float x,float y, osgUtil::LineSegmentIntersector::Intersections intersections,osg::Node::NodeMask traversalMask = 0x); ^ /usr/include/osgViewer/View:225:14: note: no known conversion for argument 1 from ‘const osgGA::GUIEventAdapter’ to ‘float’ /usr/include/osgViewer/View:228:14: note: bool osgViewer::View::computeIntersections(float, float, const NodePath, osgUtil::LineSegmentIntersector::Intersections, osg::Node::NodeMask) bool computeIntersections(float x,float y, const osg::NodePath nodePath, osgUtil::LineSegmentIntersector::Intersections intersections,osg::Node::NodeMask traversalMask = 0x); ^ /usr/include/osgViewer/View:228:14: note: candidate expects 5 arguments, 3 provided make[2]: *** [CMakeFiles/hci571-hw01.dir/osgmovie.c++.o] Error 1 make[1]: *** [CMakeFiles/hci571-hw01.dir/all] Error 2 make: *** [all] Error 2 *** Failure: Exit code 2 *** 4) Cheers :), -Joshua Robinson Live long and prosper On Wed, May 27, 2015 at 8:27 AM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Am 27.05.2015 um 13:54 schrieb Joshua Robinson: Howdy, Newbie to OSG. Downloaded osgmovie.c++ to learn, But can't compile: first look show wrong coding. What exactly did not compile? The example is part of the osg-source package and builds fine with the rest. So please point to where you downloaded which version etc. Q: I wonder how uncompiled code end up as a sample for newbies ? This doesn't make sense at all. Compiled coded is usually an executable or library, so it won't serve as a sample how to do things. And the example code, even if not the nicest at some point due to #defines etc, compiles just fine and shows how to load and display a video and audio stream. So what else would be anyone's expectation? So far my personal impression from OSG that it is a toy, not ready for ... I've been using OSG in a professional environment and industry applications for years, so this is really
[osg-users] osgmovie error
Howdy, Newbie to OSG. Downloaded osgmovie.c++ to learn, But can't compile: first look show wrong coding. Q: I wonder how uncompiled code end up as a sample for newbies ? So far my personal impression from OSG that it is a toy, not ready for ... Cheers, -Joshua Robinson Live long and prosper ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgmovie error
Howdy, oops, forgot --- http://www.openinventor.com/ Cheers, -Joshua Robinson Live long and prosper On Wed, May 27, 2015 at 10:39 AM, Joshua Robinson shooki.robin...@gmail.com wrote: Howdy, Downloaded code came from: http://trac.openscenegraph.org/projects/osg//wiki/Support/UserGuides/Examples -Joshua On Wed, May 27, 2015 at 9:58 AM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Howdy, I have 4 things to say: 1) I compared OSG to OpenInventor or OpenCV and it is a toy. And OpenInventor/OpenCV compare to OpenSceneGraph how exactly? OpenInventor has a strong focus on 3D in the CAD area, but I haven't seen any military/industry grade simulator build around it. Also stop flaming - If you don't like it fine. No one is forcing you to use it. 2) I download osgmovie.cpp (attached a copy) and add it to my cmake file that works fine on other downloaded sample code. osgmovie.cpp, Line #150 + 151 view-computeIntersections takes x,y and not ea as parameters. Ok, so you are expecting to download some sample code from somewhere and and expect it to compile with an arbitrary version of OSG (you didn't even mention the version) Instead of downloading the complete source package you are complaining about combining non-compatible versions of OSG and some example version ... OSG has versioning, and evolves, so there might be incompatiblities. That's why the examples are included in the source and are adapted accordingly. 3) the error Sorry for being harsh, but the error here is between the keyboard and the chair. You simply could have asked where to start, instead of ranting about OSG being a toy etc. Judging OSG based on a self-induced compiler error shows nothing but ignorance to me. Cheers Sebastian 4) Cheers :), -Joshua Robinson Live long and prosper On Wed, May 27, 2015 at 8:27 AM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Am 27.05.2015 um 13:54 schrieb Joshua Robinson: Howdy, Newbie to OSG. Downloaded osgmovie.c++ to learn, But can't compile: first look show wrong coding. What exactly did not compile? The example is part of the osg-source package and builds fine with the rest. So please point to where you downloaded which version etc. Q: I wonder how uncompiled code end up as a sample for newbies ? This doesn't make sense at all. Compiled coded is usually an executable or library, so it won't serve as a sample how to do things. And the example code, even if not the nicest at some point due to #defines etc, compiles just fine and shows how to load and display a video and audio stream. So what else would be anyone's expectation? So far my personal impression from OSG that it is a toy, not ready for ... I've been using OSG in a professional environment and industry applications for years, so this is really silly to say. Please elaborate where you need help and where others can point you into the right direction Cheers, -Joshua Robinson Live long and prosper ___ osg-users mailing listosg-users@lists.openscenegraph.orghttp://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 listosg-users@lists.openscenegraph.orghttp://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] osgmovie error
Howdy, Downloaded code came from: http://trac.openscenegraph.org/projects/osg//wiki/Support/UserGuides/Examples -Joshua On Wed, May 27, 2015 at 9:58 AM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Howdy, I have 4 things to say: 1) I compared OSG to OpenInventor or OpenCV and it is a toy. And OpenInventor/OpenCV compare to OpenSceneGraph how exactly? OpenInventor has a strong focus on 3D in the CAD area, but I haven't seen any military/industry grade simulator build around it. Also stop flaming - If you don't like it fine. No one is forcing you to use it. 2) I download osgmovie.cpp (attached a copy) and add it to my cmake file that works fine on other downloaded sample code. osgmovie.cpp, Line #150 + 151 view-computeIntersections takes x,y and not ea as parameters. Ok, so you are expecting to download some sample code from somewhere and and expect it to compile with an arbitrary version of OSG (you didn't even mention the version) Instead of downloading the complete source package you are complaining about combining non-compatible versions of OSG and some example version ... OSG has versioning, and evolves, so there might be incompatiblities. That's why the examples are included in the source and are adapted accordingly. 3) the error Sorry for being harsh, but the error here is between the keyboard and the chair. You simply could have asked where to start, instead of ranting about OSG being a toy etc. Judging OSG based on a self-induced compiler error shows nothing but ignorance to me. Cheers Sebastian 4) Cheers :), -Joshua Robinson Live long and prosper On Wed, May 27, 2015 at 8:27 AM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Am 27.05.2015 um 13:54 schrieb Joshua Robinson: Howdy, Newbie to OSG. Downloaded osgmovie.c++ to learn, But can't compile: first look show wrong coding. What exactly did not compile? The example is part of the osg-source package and builds fine with the rest. So please point to where you downloaded which version etc. Q: I wonder how uncompiled code end up as a sample for newbies ? This doesn't make sense at all. Compiled coded is usually an executable or library, so it won't serve as a sample how to do things. And the example code, even if not the nicest at some point due to #defines etc, compiles just fine and shows how to load and display a video and audio stream. So what else would be anyone's expectation? So far my personal impression from OSG that it is a toy, not ready for ... I've been using OSG in a professional environment and industry applications for years, so this is really silly to say. Please elaborate where you need help and where others can point you into the right direction Cheers, -Joshua Robinson Live long and prosper ___ osg-users mailing listosg-users@lists.openscenegraph.orghttp://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 listosg-users@lists.openscenegraph.orghttp://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] error build
Howdy, 1) Downloaded a fresh copy of:: OpenSceneGraph-3.2.2 release candidate 2 http://www.openscenegraph.org/index.php/download-section/stable-releases/176-openscenegraph-3-2-2-release-candidate-2 from ::: http://www.openscenegraph.org/index.php/download-section/stable-releases 2) Created a build directory out of source ::: osg_build3.2.2-rc2 3) Ran cmake ../OpenSceneGraph-3.2.2-rc2/ -DCMAKE_BUILD_TYPE=Debug osg_cmake.txt 4) Error see attached file. Any suggestions ? Is Qt a must ? http://www.openscenegraph.org/index.php/download-section/stable-releases/176-openscenegraph-3-2-2-release-candidate-2 Cheers, -Joshua Robinson -- The C compiler identification is GNU 4.8.1 -- The CXX compiler identification is GNU 4.8.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not 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 -- Found Threads: TRUE -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/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 -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version 2.9.1) -- Found PkgConfig: /usr/bin/pkg-config (found version 0.26) -- checking for module 'gta' -- package 'gta' not found -- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) -- Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR) -- checking for module 'cairo' -- found cairo, version 1.12.16 -- checking for module 'poppler-glib' -- package 'poppler-glib' not found -- checking for module 'librsvg-2.0=2.35' -- package 'librsvg-2.0=2.35' not found -- checking for module 'gtk+-2.0' -- found gtk+-2.0, version 2.24.20 -- checking for module 'gtkglext-x11-1.0' -- package 'gtkglext-x11-1.0' not found -- Boost version: 1.53.0 -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found -- Found Qt4: /usr/bin/qmake (found version 4.8.4) -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version 1.2.8) -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version 1.2.49) -- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version 4.0.2) -- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS -- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Success -- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS -- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS - Failed -- Performing Test _OPENTHREADS_ATOMIC_USE_SUN -- Performing Test _OPENTHREADS_ATOMIC_USE_SUN - Failed -- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED -- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - Failed -- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC -- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC - Failed -- Looking for pthread_yield -- Looking for pthread_yield - not found -- Looking for sched_yield -- Looking for sched_yield - found -- Looking for pthread_setconcurrency -- Looking for pthread_setconcurrency - not found -- Looking for pthread_getconcurrency -- Looking for pthread_getconcurrency - not found -- Looking for pthread_setaffinity_np -- Looking for pthread_setaffinity_np - not found -- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY -- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY - Success -- checking for module 'xrandr' -- found xrandr, version 1.4.0 -- Looking for gethostbyname in nsl -- Looking for gethostbyname in nsl - found -- Looking for socket in socket -- Looking for socket in socket - not found -- Configuring incomplete, errors occurred! ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] undefined reference
Howdy Robert, In the name of a member of the Inter-galactic-federation I thank-thee. Cheers, -Joshua Robinson Live long and prosper On Tue, May 26, 2015 at 4:01 AM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Joshua, I'm afraid I'm just human, but hopefully will do. Add OSGWIDGET_LIBRARY is the list of libraries. Robert. On 26 May 2015 at 06:34, Joshua Robinson shooki.robin...@gmail.com wrote: Howdy Romulans Vulcans, Newbie to OSG, trying to compile sample program osgWidget, get the following error ... any help is appreciated. undefined reference to `osgWidget::Widget::addColor(float, float, float, float, osgWidget::Widget::Corner)' ## #cmake file - For ALL myProjects # cmake_minimum_required(VERSION 2.8) set(PROJECT_VERSION 1.0) set(EXECUTABLE_OUTPUT_PATH ./ ) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} /usr/local/lib/cmake/ /usr/lib/cmake) set(PROJECT_NAME home-prj01) # project(${PROJECT_NAME}) # include_directories(${GNULIBS_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ${GLUT_INCLUDE_DIRS} ${AR_DIRS} ${OpenCV_INCLUDE_DIRS} ${OPENSCENEGRAPH_INCLUDE_DIRS} ./dep/include) # Find Packages FIND_PACKAGE(OpenGL REQUIRED) FIND_PACKAGE(OpenSceneGraph REQUIRED) FIND_PACKAGE(osgREQUIRED) FIND_PACKAGE(osgDB REQUIRED) FIND_PACKAGE(osgGA REQUIRED) FIND_PACKAGE(osgViewer REQUIRED) FIND_PACKAGE(osgWidget REQUIRED) FIND_PACKAGE(osgUtilREQUIRED) FIND_PACKAGE(OpenThreadsREQUIRED) FIND_PACKAGE(OpenCV REQUIRED) FIND_PACKAGE(aruco REQUIRED) # file( GLOB SOURCE *.h osgWidgetCanvas.cpp ) # set(myOGL_LIBS ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES}) set(myOSG_LIBS ${OSG_LIBRARY} ${OSG_LIBS} ${OSGGA_LIBRARY} ${OSGDB_LIBRARY} ${OSGVIEWER_LIBRARY} ${OSGUTIL_LIBRARY} ${OSG} ${OPENSCENEGRAPH_LIBRARIES} ${OPENTHREADS_LIBRARY}) set(myAR_LIBS ${aruco_LIBS}) set(myOCV_LIB ${OpenCV_LIBS}) set(ALL_LIBRARIES ${myOGL_LIBS} ${myOSG_LIBS} ${myOCV_LIBS} ${myAR_LIBS}) # link_directories(${OpenCV_LIB_DIR} ${OPENSCENEGRAPH_LIBRARY_DIR} ./dep/lib) add_executable(${PROJECT_NAME} ${SOURCE}) target_link_libraries(${PROJECT_NAME} ${ALL_LIBRARIES}) # end What library am I missing ? Cheers, -Joshua Robinson Live long and prosper - Spock, a volcan. ___ 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] undefined reference
Howdy Romulans Vulcans, Newbie to OSG, trying to compile sample program osgWidget, get the following error ... any help is appreciated. undefined reference to `osgWidget::Widget::addColor(float, float, float, float, osgWidget::Widget::Corner)' ## #cmake file - For ALL myProjects # cmake_minimum_required(VERSION 2.8) set(PROJECT_VERSION 1.0) set(EXECUTABLE_OUTPUT_PATH ./ ) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} /usr/local/lib/cmake/ /usr/lib/cmake) set(PROJECT_NAME home-prj01) # project(${PROJECT_NAME}) # include_directories(${GNULIBS_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ${GLUT_INCLUDE_DIRS} ${AR_DIRS} ${OpenCV_INCLUDE_DIRS} ${OPENSCENEGRAPH_INCLUDE_DIRS} ./dep/include) # Find Packages FIND_PACKAGE(OpenGL REQUIRED) FIND_PACKAGE(OpenSceneGraph REQUIRED) FIND_PACKAGE(osgREQUIRED) FIND_PACKAGE(osgDB REQUIRED) FIND_PACKAGE(osgGA REQUIRED) FIND_PACKAGE(osgViewer REQUIRED) FIND_PACKAGE(osgWidget REQUIRED) FIND_PACKAGE(osgUtilREQUIRED) FIND_PACKAGE(OpenThreadsREQUIRED) FIND_PACKAGE(OpenCV REQUIRED) FIND_PACKAGE(aruco REQUIRED) # file( GLOB SOURCE *.h osgWidgetCanvas.cpp ) # set(myOGL_LIBS ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES}) set(myOSG_LIBS ${OSG_LIBRARY} ${OSG_LIBS} ${OSGGA_LIBRARY} ${OSGDB_LIBRARY} ${OSGVIEWER_LIBRARY} ${OSGUTIL_LIBRARY} ${OSG} ${OPENSCENEGRAPH_LIBRARIES} ${OPENTHREADS_LIBRARY}) set(myAR_LIBS ${aruco_LIBS}) set(myOCV_LIB ${OpenCV_LIBS}) set(ALL_LIBRARIES ${myOGL_LIBS} ${myOSG_LIBS} ${myOCV_LIBS} ${myAR_LIBS}) # link_directories(${OpenCV_LIB_DIR} ${OPENSCENEGRAPH_LIBRARY_DIR} ./dep/lib) add_executable(${PROJECT_NAME} ${SOURCE}) target_link_libraries(${PROJECT_NAME} ${ALL_LIBRARIES}) # end What library am I missing ? Cheers, -Joshua Robinson Live long and prosper - Spock, a volcan. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] (no subject)
Howdy OSG-Users Volcans, I am a newbie to OSG and need help to do : Add a video canvas to scale the video. It should do : 1) Create a video canvas. 2) Assign texture coordinates to the video canvas, I prefer manually, it can be automatically (function). Specify the number of columns and rows on your own, need to have more than 2. 3) Use texture coordinate video image rendering. I have no idea how, a small sample(s) code will be appreciate . Cheers, (oyori), -Joshua Robinson PS. Live long and prosper. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org