Hi,

pls send the error messages you are getting. Also pls send output of gcc -v and g++ -v.

Did you build the CUDA examples that came with 4.0? What did you build OSG with?

jp

On 06/10/2011 23:16, Conan Doyle wrote:
Things are moving along nicely, until I tried to build osgCompute with CUDA 4.0 
and gcc44.  It appears that some thing is getting pulled from gcc 4.1.2 tree in 
the build process.  I set an alias for gcc/g++ to point to gcc44 and g++44, as 
well as exported CC/CXX to point to these versions...   Sounds like maybe I am 
missing something on selecting the desired version of gcc.  I made all of the 
changes in the CMake files to point to the correct version of cuda, and check 
it thrice.  Any suggetsion?

CD


J.P. Delport wrote:
Hi,

I've just recently compiled osgCuda with CUDA 4.0 on 64-bit with gcc/g++
4.4 (which is a requirement for nvcc). I had to make only minor changes
and most of these are already checked into the trunk of osgCuda.

See thread here:
http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/71107

cheers
jp

On 05/10/2011 15:10, Conan Doyle wrote:

64 bit.  I modified this post after your reply to say that I am using Cuda 4.0, 
which is a requirement.  I have a feeling there may need to be some mods made 
to osgCuda to support 4.0.

CD


J.P. Delport wrote:

Hi,

I think it should work, 32/64 bit? What compiler do you have? If you
supply some error messages maybe someone can help.

cheers
jp

On 05/10/2011 14:58, Conan Doyle wrote:


osgCuda was my first choice, but I will not compile on my machine.  I am using 
OSG 3.0.1 and the SVN version of osgCuda, on RHEL 5.4. Is that a workable 
combination?

CD


J.P. Delport wrote:


Hi,

an alternative to doing this manually would be to look at
osgCompute/osgCuda. Even if you don't use osgCuda you can learn from
there how to do what you want.

cheers
jp

On 05/10/2011 01:28, Conan Doyle wrote:



Hi,

[dumbquestion]

I am integrating some cuda into my osg app and one call requires the texture 
name/id.  How do I get that from my texture object?  I look through the source 
code and only found and id method in TextureObject, but my attempts to 
retrieive this bit of data eludes me.

[/dumbquestion]

Thank you!

Cheers,
Conan

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





_______________________________________________
osg-users mailing list

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





--
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.

_______________________________________________
osg-users mailing list

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

------------------
Post generated by Mail2Forum




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





_______________________________________________
osg-users mailing list

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



--
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.

_______________________________________________
osg-users mailing list

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

------------------
Post generated by Mail2Forum



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





_______________________________________________
osg-users mailing list

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



--
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.

_______________________________________________
osg-users mailing list

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

  ------------------
Post generated by Mail2Forum


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





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


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

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

Reply via email to