Hi Mick,
I can gladly help testing on a 64bit machine from my end.
OsgCuda seems to compile when I linked to the 32bit cudart.lib library. But I
get a lot of errors when compiling the examples provided.
List of errors for osgTexDemo.
1>------ Build started: Project: Examples osgTexDemo, Configuration: Debug
Win32 ------
1>Compiling...
1>TexStreamer.gen.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdefs.h(480) :
error C2371: 'size_t' : redefinition; different basic types
1> predefined C++ types (compiler internal)(19) : see declaration of
'size_t'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\stdlib.h(395) :
error C4235: nonstandard extension used : '__unaligned' keyword not supported
on this architecture
1>c:\cuda\include\texture_fetch_functions.h(1913) : error C2719: 'index':
formal parameter with __declspec(align('16')) won't be aligned
1>c:\cuda\include\texture_fetch_functions.h(1922) : error C2719: 'index':
formal parameter with __declspec(align('16')) won't be aligned
1>c:\cuda\include\texture_fetch_functions.h(1931) : error C2719: 'index':
formal parameter with __declspec(align('16')) won't be aligned
1>c:\cuda\include\texture_fetch_functions.h(1940) : error C2719: 'index':
formal parameter with __declspec(align('16')) won't be aligned
1>c:\cuda\include\texture_fetch_functions.h(1949) : error C2719: 'index':
formal parameter with __declspec(align('16')) won't be aligned
1>c:\cuda\include\texture_fetch_functions.h(1958) : error C2719: 'index':
formal parameter with __declspec(align('16')) won't be aligned
1>c:\cuda\include\math_functions.h(1613) : error C2719: 'x': formal parameter
with __declspec(align('8')) won't be aligned
1>c:\cuda\include\math_functions.h(1613) : error C2719: 'y': formal parameter
with __declspec(align('8')) won't be aligned
1>Build log was saved at
"file://c:\Users\Tatric\Desktop\osgCompute-0.4\build\examples\osgTexDemo\src\example_osgTexDemo.dir\Debug\BuildLog.htm"
1>Examples osgTexDemo - 10 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped ==========
Thank you!
Cheers,
Arun
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18340#18340
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org