Hi Allen,

it seems you are using osgPPU 0.4. In the current svn version of osgPPU I have 
some changes in the cmake files, which might prevent this error. At least I 
haven't encountered this bug on my machines. Could you please try the new 
version from svn. If this still not work, then let me know which version of 
CMake you are using, so that I will be able to reproduce the bug.

regards,
art



allensaucier wrote:
> Hi Art,
> 
> I have encountered a potential error when installing osgPPU under ubuntu 
> linux 9.0.4.  I wanted you to be aware of it.
> 
> Here is the output from my install today.  The anomaly that I found was a 
> warning that stated an if statement was not properly closed.  I just wanted 
> to make you aware of this.
> 
> 
> Code:
> 
> [al...@nlosdev3:]$ cmake ../ -DCMAKE_BUILD_TYPE=Release
> -- Detectd OpenSceneGraph v2.8.1.
> -- Plugins will be installed under osgPlugins-2.8.1 directory.
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/allen/Desktop/osgPPU-0.4.0/build
> [al...@nlosdev3:]$ 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
> [  8%] Building CXX object 
> src/osgPPU/CMakeFiles/osgPPU.dir/UnitDepthbufferBypass.o
> [ 11%] Building CXX object 
> src/osgPPU/CMakeFiles/osgPPU.dir/UnitCameraAttachmentBypass.o
> [ 13%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitTexture.o
> [ 16%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitOut.o
> [ 19%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitOutCapture.o
> [ 22%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitInOut.o
> [ 25%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitText.o
> [ 27%] Building CXX object 
> src/osgPPU/CMakeFiles/osgPPU.dir/UnitInResampleOut.o
> [ 30%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitInMipmapOut.o
> [ 33%] Building CXX object 
> src/osgPPU/CMakeFiles/osgPPU.dir/UnitMipmapInMipmapOut.o
> [ 36%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/Processor.o
> [ 38%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/Visitor.o
> [ 41%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/Utility.o
> [ 44%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/ColorAttribute.o
> [ 47%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/ShaderAttribute.o
> [ 50%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitCamera.o
> [ 52%] Building CXX object src/osgPPU/CMakeFiles/osgPPU.dir/UnitInOutModule.o
> Linking CXX shared library ../../lib/libosgPPU.so
> [ 52%] Built target osgPPU
> Scanning dependencies of target osgppu_hdr
> [ 55%] Building CXX object src/example/hdr/CMakeFiles/osgppu_hdr.dir/osgppu.o
> Linking CXX executable ../../../bin/osgppu_hdr
> [ 55%] Built target osgppu_hdr
> Scanning dependencies of target osgppu_viewer
> [ 58%] Building CXX object 
> src/example/viewer/CMakeFiles/osgppu_viewer.dir/view.o
> Linking CXX executable ../../../bin/osgppu_viewer
> [ 58%] Built target osgppu_viewer
> Scanning dependencies of target osgppu_dof
> [ 61%] Building CXX object src/example/dof/CMakeFiles/osgppu_dof.dir/dofppu.o
> Linking CXX executable ../../../bin/osgppu_dof
> [ 61%] Built target osgppu_dof
> Scanning dependencies of target osgppu_cubemap
> [ 63%] Building CXX object 
> src/example/cubemap/CMakeFiles/osgppu_cubemap.dir/cubemap.o
> Linking CXX executable ../../../bin/osgppu_cubemap
> [ 63%] Built target osgppu_cubemap
> Scanning dependencies of target osgppu_texture3D
> [ 66%] Building CXX object 
> src/example/texture3D/CMakeFiles/osgppu_texture3D.dir/texture3D.o
> Linking CXX executable ../../../bin/osgppu_texture3D
> [ 66%] Built target osgppu_texture3D
> Scanning dependencies of target osgppu_video
> [ 69%] Building CXX object 
> src/example/video/CMakeFiles/osgppu_video.dir/video.o
> Linking CXX executable ../../../bin/osgppu_video
> [ 69%] Built target osgppu_video
> Scanning dependencies of target osgppu_ssao
> [ 72%] Building CXX object src/example/ssao/CMakeFiles/osgppu_ssao.dir/ssao.o
> Linking CXX executable ../../../bin/osgppu_ssao
> [ 72%] Built target osgppu_ssao
> Scanning dependencies of target osgppu_glow
> [ 75%] Building CXX object src/example/glow/CMakeFiles/osgppu_glow.dir/glow.o
> Linking CXX executable ../../../bin/osgppu_glow
> [ 75%] Built target osgppu_glow
> [ 77%] Building (Device) NVCC Dependency File: 
> /home/allen/Desktop/osgPPU-0.4.0/build/src/cuda/kernel.cu_cudakernel_generated.cpp.NVCC-depend
> [ 80%] Converting NVCC dependency to CMake 
> (/home/allen/Desktop/osgPPU-0.4.0/build/src/cuda/kernel.cu_cudakernel_generated.cpp.depend)
> [ 83%] Building (Device) NVCC -cubin File: 
> /home/allen/Desktop/osgPPU-0.4.0/build/src/cuda/kernel.cu_cudakernel_generated.cpp.NVCC-cubin.txt
> ptxas /tmp/tmpxft_0000562d_00000000-2_kernel.ptx, line 384; warning : Double 
> is not supported. Demoting to float
> The end of a CMakeLists file was reached with an IF statement that was not 
> closed properly.
> Within the directory: /home/allen/Desktop/osgPPU-0.4.0/build/src/example/cuda
> The arguments are: ${file_text} MATCHES ".+" 
> [ 86%] Building (Device) NVCC 
> /home/allen/Desktop/osgPPU-0.4.0/src/example/cuda/kernel.cu: 
> /home/allen/Desktop/osgPPU-0.4.0/build/src/cuda/kernel.cu_cudakernel_generated.cpp
> ptxas kernel.ptx, line 384; warning : Double is not supported. Demoting to 
> float
> Scanning dependencies of target cudakernel
> [ 88%] Building CXX object 
> src/example/cuda/CMakeFiles/cudakernel.dir/__/__/cuda/kernel.cu_cudakernel_generated.o
> Linking CXX shared module ../../../lib/osgppu_cudakernel.so
> [ 88%] Built target cudakernel
> Scanning dependencies of target osgppu_cuda
> [ 91%] Building CXX object src/example/cuda/CMakeFiles/osgppu_cuda.dir/cuda.o
> Linking CXX executable ../../../bin/osgppu_cuda
> [ 91%] Built target osgppu_cuda
> Scanning dependencies of target osgdb_ppu
> [ 94%] 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.1/osgdb_ppu.so
> [100%] Built target osgdb_ppu
> 
> 
> 
> 
> Cheers,
> Allen


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





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

Reply via email to