Hi Art,

On Ubuntu 9.0.4 & CMake 2.6:  good results.
I do not see where osgPPU is installed under linux, though.  I see no osgPPU 
install directory entry within the CMAKE variables.

Code:

The C compiler identification is GNU
The CXX compiler identification is GNU
Check for working C compiler: /usr/bin/gcc
Check for working C compiler: /usr/bin/gcc -- 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 XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/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/libX11.so
CUDA compiler found, CUDA examples would be built if not disabled by 
CUDA_BUILD_EXAMPLES
Detected OpenSceneGraph v2.8.3.
Plugins will be installed under osgPlugins-2.8.3 directory.
Configuring done

Detected OpenSceneGraph v2.8.3.
Plugins will be installed under osgPlugins-2.8.3 directory.
Configuring done
Generating done




ubuntu 9.0.4 compilation

Code:

[al...@nlosdemobox:]$ ls
bin             CMakeFiles           CMakeModules           Data  include  
Makefile
CMakeCache.txt  cmake_install.cmake  cmake_uninstall.cmake  doc   lib      src
[al...@nlosdemobox:]$ make
Scanning dependencies of target osgPPU
[  2%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/Unit.o
[  5%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitBypass.o
[  7%] Building CXX object 
src/osgPPU/CMakeFiles/osgPPU.dir/UnitDepthbufferBypass.o
[ 10%] Building CXX object 
src/osgPPU/CMakeFiles/osgPPU.dir/UnitCameraAttachmentBypass.o
[ 12%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitTexture.o
[ 15%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitOut.o
[ 17%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitOutCapture.o
[ 20%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitInOut.o
[ 22%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitText.o
[ 25%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitInResampleOut.o
[ 27%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitInMipmapOut.o
[ 30%] Building CXX object 
src/osgPPU/CMakeFiles/osgPPU.dir/UnitMipmapInMipmapOut.o
[ 32%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/Processor.o
[ 35%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/Visitor.o
[ 37%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/Utility.o
[ 40%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/ColorAttribute.o
[ 42%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/ShaderAttribute.o
[ 45%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitCamera.o
[ 47%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitInOutModule.o
[ 50%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/Camera.o
Linking CXX shared library ../../lib/libosgPPU.so
[ 50%] Built target osgPPU
Scanning dependencies of target osgppu_hdr
[ 52%] Building CXX object src/example/hdr/CMakeFiles/osgppu_hdr.dir/osgppu.o
Linking CXX executable ../../../bin/osgppu_hdr
[ 52%] Built target osgppu_hdr
Scanning dependencies of target osgppu_viewer
[ 55%] Building CXX object 
src/example/viewer/CMakeFiles/osgppu_viewer.dir/view.o
Linking CXX executable ../../../bin/osgppu_viewer
[ 55%] Built target osgppu_viewer
Scanning dependencies of target osgppu_dof
[ 57%] Building CXX object src/example/dof/CMakeFiles/osgppu_dof.dir/dofppu.o
Linking CXX executable ../../../bin/osgppu_dof
[ 57%] Built target osgppu_dof
Scanning dependencies of target osgppu_cubemap
[ 60%] Building CXX object 
src/example/cubemap/CMakeFiles/osgppu_cubemap.dir/cubemap.o
Linking CXX executable ../../../bin/osgppu_cubemap
[ 60%] Built target osgppu_cubemap
Scanning dependencies of target osgppu_texture3D
[ 62%] Building CXX object 
src/example/texture3D/CMakeFiles/osgppu_texture3D.dir/texture3D.o
Linking CXX executable ../../../bin/osgppu_texture3D
[ 62%] Built target osgppu_texture3D
Scanning dependencies of target osgppu_video
[ 65%] Building CXX object src/example/video/CMakeFiles/osgppu_video.dir/video.o
Linking CXX executable ../../../bin/osgppu_video
[ 65%] Built target osgppu_video
Scanning dependencies of target osgppu_ssao
[ 67%] Building CXX object src/example/ssao/CMakeFiles/osgppu_ssao.dir/ssao.o
Linking CXX executable ../../../bin/osgppu_ssao
[ 67%] Built target osgppu_ssao
Scanning dependencies of target osgppu_glow
[ 70%] Building CXX object src/example/glow/CMakeFiles/osgppu_glow.dir/glow.o
Linking CXX executable ../../../bin/osgppu_glow
[ 70%] Built target osgppu_glow
Scanning dependencies of target osgppu_motionblur
[ 72%] Building CXX object 
src/example/motionblur/CMakeFiles/osgppu_motionblur.dir/view.o
Linking CXX executable ../../../bin/osgppu_motionblur
[ 72%] Built target osgppu_motionblur
Scanning dependencies of target osgppu_blurscene
[ 75%] Building CXX object 
src/example/blurScene/CMakeFiles/osgppu_blurscene.dir/blurScene.o
Linking CXX executable ../../../bin/osgppu_blurscene
[ 75%] Built target osgppu_blurscene
Scanning dependencies of target osgppu_cuda
[ 77%] Building CXX object src/example/cuda/CMakeFiles/osgppu_cuda.dir/cuda.o
Linking CXX executable ../../../bin/osgppu_cuda
[ 77%] Built target osgppu_cuda
[ 80%] Building (Device) NVCC Dependency File: 
/home/allen/projects/osgPPU_041/build/src/cuda/kernel.cu_osgppu_cudakernel_generated.cpp.NVCC-depend
[ 82%] Converting NVCC dependency to CMake 
(/home/allen/projects/osgPPU_041/build/src/cuda/kernel.cu_osgppu_cudakernel_generated.cpp.depend)
[ 85%] Building (Device) NVCC -cubin File: 
/home/allen/projects/osgPPU_041/build/src/cuda/kernel.cu_osgppu_cudakernel_generated.cpp.NVCC-cubin.txt
ptxas /tmp/tmpxft_00006e7a_00000000-2_kernel.ptx, line 384; warning : Double is 
not supported. Demoting to float
[ 87%] Building (Device) NVCC 
/home/allen/projects/osgPPU_041/src/example/cuda/kernel.cu: 
/home/allen/projects/osgPPU_041/build/src/cuda/kernel.cu_osgppu_cudakernel_generated.cpp
ptxas kernel.ptx, line 384; warning : Double is not supported. Demoting to float
Scanning dependencies of target osgppu_cudakernel
[ 90%] Building CXX object 
src/example/cuda/CMakeFiles/osgppu_cudakernel.dir/__/__/cuda/kernel.cu_osgppu_cudakernel_generated.o
[ 92%] Building CXX object 
src/example/cuda/CMakeFiles/osgppu_cudakernel.dir/ProcessingModule.o
Linking CXX shared module ../../../lib/libosgppu_cudakernel.so
[ 92%] Built target osgppu_cudakernel
Scanning dependencies of target osgdb_ppu
[ 95%] Building CXX object 
src/osgPlugins/osgPPU/CMakeFiles/osgdb_ppu.dir/ReaderWriterPPU.o
[ 97%] Building CXX object 
src/osgPlugins/osgPPU/CMakeFiles/osgdb_ppu.dir/IO_Unit.o
[100%] Building CXX object src/osgPlugins/osgPPU/CMakeFiles/osgdb_ppu.dir/Base.o
Linking CXX shared module ../../../lib/osgPlugins-2.8.3/osgdb_ppu.so
[100%] Built target osgdb_ppu




make install

Code:

[al...@nlosdemobox:]$ sudo make install
[sudo] password for allen: 
[ 50%] Built target osgPPU
[ 52%] Built target osgppu_hdr
[ 55%] Built target osgppu_viewer
[ 57%] Built target osgppu_dof
[ 60%] Built target osgppu_cubemap
[ 62%] Built target osgppu_texture3D
[ 65%] Built target osgppu_video
[ 67%] Built target osgppu_ssao
[ 70%] Built target osgppu_glow
[ 72%] Built target osgppu_motionblur
[ 75%] Built target osgppu_blurscene
[ 77%] Built target osgppu_cuda
[ 92%] Built target osgppu_cudakernel
[100%] Built target osgdb_ppu
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/./ChangeLog
-- Installing: /usr/local/./CONTRIBUTORS.txt
-- Installing: /usr/local/./README.txt
-- Installing: /usr/local/./LICENSE.txt
-- Installing: /usr/local/./CMakeLists.txt
-- Installing: /usr/local/Data/bypass.ppu
-- Installing: /usr/local/Data/cessnafire.osg
-- Installing: /usr/local/Data/cow.osg
-- Installing: /usr/local/Data/cuda.ppu
-- Installing: /usr/local/Data/dof.ppu
-- Installing: /usr/local/Data/hdr.ppu
-- Installing: /usr/local/Data/motionblur.ppu
-- Installing: /usr/local/Data/temple.ive
-- Installing: /usr/local/Data/CMakeLists.txt
-- Installing: /usr/local/Data/glsl/brightpass_fp.glsl
-- Installing: /usr/local/Data/glsl/depth_of_field_fp.glsl
-- Installing: /usr/local/Data/glsl/gauss_convolution_1Dy_fp.glsl
-- Installing: /usr/local/Data/glsl/luminance_adapted_fp.glsl
-- Installing: /usr/local/Data/glsl/luminance_mipmap_fp.glsl
-- Installing: /usr/local/Data/glsl/ssao_renderscene_fp.glsl
-- Installing: /usr/local/Data/glsl/ssao_vp.glsl
-- Installing: /usr/local/Data/glsl/bypass_fp.glsl
-- Installing: /usr/local/Data/glsl/gauss_convolution_1Dx_fp.glsl
-- Installing: /usr/local/Data/glsl/gauss_convolution_vp.glsl
-- Installing: /usr/local/Data/glsl/luminance_fp.glsl
-- Installing: /usr/local/Data/glsl/ssao_fp.glsl
-- Installing: /usr/local/Data/glsl/ssao_renderscene_vp.glsl
-- Installing: /usr/local/Data/glsl/tonemap_hdr_fp.glsl
-- Installing: /usr/local/Data/glsl/CMakeLists.txt
-- Installing: /usr/local/Data/Images/lz.rgb
-- Installing: /usr/local/Data/Images/reflect.rgb
-- Installing: /usr/local/Data/Images/skymap.jpg
-- Installing: /usr/local/Data/Images/tank.rgb
-- Installing: /usr/local/Data/Images/video.avi
-- Installing: /usr/local/Data/Images/CMakeLists.txt
-- Installing: /usr/local/doc/config.doxy
-- Installing: /usr/local/doc/createChangelog.sh
-- Installing: /usr/local/doc/footer.html
-- Installing: /usr/local/doc/Makefile
-- Installing: /usr/local/doc/CMakeLists.txt
-- Installing: /usr/local/doc/scripts/svn2cl.xsl
-- Installing: /usr/local/doc/scripts/CMakeLists.txt
-- Installing: /usr/local/CMakeModules/cmake_uninstall.cmake.in
-- Installing: /usr/local/CMakeModules/FindOSG.cmake
-- Installing: /usr/local/CMakeModules/ModuleInstall.cmake
-- Installing: /usr/local/CMakeModules/OsgDetermineCompiler.cmake
-- Installing: /usr/local/CMakeModules/OsgPPUCPack.cmake
-- Installing: /usr/local/CMakeModules/OsgPPUCPackConfig.cmake.in
-- Installing: /usr/local/CMakeModules/OsgPPUMacroUtils.cmake
-- Installing: /usr/local/CMakeModules/CMakeLists.txt
-- Installing: /usr/local/CMakeModules/cuda/CudaDependency.cmake
-- Installing: /usr/local/CMakeModules/cuda/empty.depend.in
-- Installing: /usr/local/CMakeModules/cuda/FindCuda.cmake
-- Installing: /usr/local/CMakeModules/cuda/make2cmake.cmake
-- Installing: /usr/local/CMakeModules/cuda/parse_cubin.cmake
-- Installing: /usr/local/CMakeModules/cuda/CMakeLists.txt
-- Installing: /usr/local/src/examples/CMakeLists.txt
-- Installing: /usr/local/src/examples/hdr/CMakeLists.txt
-- Installing: /usr/local/src/examples/hdr/osgppu.cpp
-- Installing: /usr/local/src/examples/hdr/hdrppu.h
-- Installing: /usr/local/src/examples/hdr/osgteapot.h
-- Installing: /usr/local/src/examples/viewer/CMakeLists.txt
-- Installing: /usr/local/src/examples/viewer/view.cpp
-- Installing: /usr/local/src/examples/viewer/osgteapot.h
-- Installing: /usr/local/src/examples/dof/CMakeLists.txt
-- Installing: /usr/local/src/examples/dof/dofppu.cpp
-- Installing: /usr/local/src/examples/dof/dofppu.h
-- Installing: /usr/local/src/examples/dof/osgteapot.h
-- Installing: /usr/local/src/examples/cubemap/CMakeLists.txt
-- Installing: /usr/local/src/examples/cubemap/cubemap.cpp
-- Installing: /usr/local/src/examples/texture3D/CMakeLists.txt
-- Installing: /usr/local/src/examples/texture3D/texture3D.cpp
-- Installing: /usr/local/src/examples/video/CMakeLists.txt
-- Installing: /usr/local/src/examples/video/video.cpp
-- Installing: /usr/local/src/examples/ssao/CMakeLists.txt
-- Installing: /usr/local/src/examples/ssao/ssao.cpp
-- Installing: /usr/local/src/examples/ssao/simple.h
-- Installing: /usr/local/src/examples/ssao/osgteapot.h
-- Installing: /usr/local/src/examples/glow/CMakeLists.txt
-- Installing: /usr/local/src/examples/glow/glow.cpp
-- Installing: /usr/local/src/examples/motionblur/CMakeLists.txt
-- Installing: /usr/local/src/examples/motionblur/view.cpp
-- Installing: /usr/local/src/examples/motionblur/osgteapot.h
-- Installing: /usr/local/src/examples/blurScene/CMakeLists.txt
-- Installing: /usr/local/src/examples/blurScene/blurScene.cpp
-- Installing: /usr/local/src/examples/cuda/CMakeLists.txt
-- Installing: /usr/local/src/examples/cuda/cuda.cpp
-- Installing: /usr/local/src/examples/cuda/osgteapot.h
-- Installing: /usr/local/lib/libosgPPU.so.0.4.1
-- Installing: /usr/local/lib/libosgPPU.so.4
-- Installing: /usr/local/lib/libosgPPU.so
-- Removed runtime path from "/usr/local/lib/libosgPPU.so.0.4.1"
-- Installing: /usr/local/include/osgPPU/Export.h
-- Installing: /usr/local/include/osgPPU/UnitText.h
-- Installing: /usr/local/include/osgPPU/UnitInOut.h
-- Installing: /usr/local/include/osgPPU/UnitInResampleOut.h
-- Installing: /usr/local/include/osgPPU/UnitInMipmapOut.h
-- Installing: /usr/local/include/osgPPU/UnitMipmapInMipmapOut.h
-- Installing: /usr/local/include/osgPPU/UnitOut.h
-- Installing: /usr/local/include/osgPPU/UnitOutCapture.h
-- Installing: /usr/local/include/osgPPU/Processor.h
-- Installing: /usr/local/include/osgPPU/Unit.h
-- Installing: /usr/local/include/osgPPU/UnitBypass.h
-- Installing: /usr/local/include/osgPPU/UnitDepthbufferBypass.h
-- Installing: /usr/local/include/osgPPU/UnitCameraAttachmentBypass.h
-- Installing: /usr/local/include/osgPPU/UnitTexture.h
-- Installing: /usr/local/include/osgPPU/Visitor.h
-- Installing: /usr/local/include/osgPPU/BarrierNode.h
-- Installing: /usr/local/include/osgPPU/Utility.h
-- Installing: /usr/local/include/osgPPU/ColorAttribute.h
-- Installing: /usr/local/include/osgPPU/ShaderAttribute.h
-- Installing: /usr/local/include/osgPPU/UnitCamera.h
-- Installing: /usr/local/include/osgPPU/UnitInOutModule.h
-- Installing: /usr/local/include/osgPPU/Camera.h
-- Installing: /usr/local/src/osgPPU/Unit.cpp
-- Installing: /usr/local/src/osgPPU/UnitBypass.cpp
-- Installing: /usr/local/src/osgPPU/UnitDepthbufferBypass.cpp
-- Installing: /usr/local/src/osgPPU/UnitCameraAttachmentBypass.cpp
-- Installing: /usr/local/src/osgPPU/UnitTexture.cpp
-- Installing: /usr/local/src/osgPPU/UnitOut.cpp
-- Installing: /usr/local/src/osgPPU/UnitOutCapture.cpp
-- Installing: /usr/local/src/osgPPU/UnitInOut.cpp
-- Installing: /usr/local/src/osgPPU/UnitText.cpp
-- Installing: /usr/local/src/osgPPU/UnitInResampleOut.cpp
-- Installing: /usr/local/src/osgPPU/UnitInMipmapOut.cpp
-- Installing: /usr/local/src/osgPPU/UnitMipmapInMipmapOut.cpp
-- Installing: /usr/local/src/osgPPU/Processor.cpp
-- Installing: /usr/local/src/osgPPU/Visitor.cpp
-- Installing: /usr/local/src/osgPPU/Utility.cpp
-- Installing: /usr/local/src/osgPPU/ColorAttribute.cpp
-- Installing: /usr/local/src/osgPPU/ShaderAttribute.cpp
-- Installing: /usr/local/src/osgPPU/UnitCamera.cpp
-- Installing: /usr/local/src/osgPPU/UnitInOutModule.cpp
-- Installing: /usr/local/src/osgPPU/CMakeLists.txt
-- Installing: /usr/local/src/osgPPU/Camera.cpp
-- Up-to-date: /usr/local/./CMakeLists.txt
-- Up-to-date: /usr/local/./ChangeLog
-- Up-to-date: /usr/local/./CONTRIBUTORS.txt
-- Up-to-date: /usr/local/./LICENSE.txt
-- Installing: /usr/local/src/CMakeLists.txt
-- Installing: /usr/local/src/osgPlugins/CMakeLists.txt
-- Up-to-date: /usr/local/src/osgPlugins/CMakeLists.txt
-- Installing: /usr/local/lib/osgPlugins-2.8.3/osgdb_ppu.so
-- Removed runtime path from "/usr/local/lib/osgPlugins-2.8.3/osgdb_ppu.so"
-- Installing: /usr/local/src/osgPlugins/osgPPU/CMakeLists.txt
-- Installing: /usr/local/src/osgPlugins/osgPPU/ReaderWriterPPU.cpp
-- Installing: /usr/local/src/osgPlugins/osgPPU/IO_Unit.cpp
-- Installing: /usr/local/src/osgPlugins/osgPPU/Base.cpp
-- Installing: /usr/local/src/osgPlugins/osgPPU/Base.h





good work, Art.  I'll let you know if I run into any run-time issues.

Cheers,
Allen

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27334#27334





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to