OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Potential error condition when installing osgPPU under ubuntu linux 9.0.4


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU]
View previous topic :: View next topic  
Author Message
allensaucier
Appreciator


Joined: 10 Apr 2009
Posts: 126

PostPosted: Thu Apr 15, 2010 2:04 pm    Post subject:
Potential error condition when installing osgPPU under ubuntu linux 9.0.4
Reply with quote

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:

[allen@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
[allen@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
Back to top
View user's profile Send private message
art (Art Tevs)
Site Admin


Joined: 20 Dec 2008
Posts: 414
Location: Saarbr├╝cken, Germany

PostPosted: Thu Apr 15, 2010 8:07 pm    Post subject:
Re: Potential error condition when installing osgPPU under ubuntu linux 9.0.4
Reply with quote

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:

[allen@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
[allen@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
Back to top
View user's profile Send private message Visit poster's website
allensaucier
Appreciator


Joined: 10 Apr 2009
Posts: 126

PostPosted: Thu Apr 15, 2010 8:53 pm    Post subject:
Reply with quote

Hi Art,
You are correct. I am definitely using 0.4 on Ubuntu 9.0.4. I'll be glad to try the svn version and let you know what I find. I just wanted to pass along this information just in case you had not been told of this situation before.

Cheers,
Allen
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Up to date tutorials for linux Rodrigo General 7 Wed Mar 01, 2017 9:57 pm View latest post
No new posts Error building terrain with shapefile... robertosfield VirtualPlanetBuilder [vpb] 0 Mon Feb 06, 2017 9:11 am View latest post
No new posts Error building terrain with shapefile... vinothrajendran4 VirtualPlanetBuilder [vpb] 0 Mon Feb 06, 2017 6:24 am View latest post
No new posts [Solved] Bug while updating geometry ... Nikkitta General 2 Thu Jan 26, 2017 9:27 am View latest post
No new posts WG: Fix for DICOM plugin (DCMTK) : co... robertosfield Submission 0 Wed Dec 21, 2016 4:03 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP