Hi Sajjadul,

The ‘BEGIN_BRACKET' and 'END_BRACKET' macros are changed from static ones
to class members in rev. 13058 to fix threading read/write problems . They
are not modified yet in OSG 3.0.1 (older than rev.13058) so you will see
the compiling problems above. Please try to use some later developer
releases (like 3.1.4, or directly use the trunk) instead to make osgCompute
compiled.

Wang Rui



2013/2/13 Sajjadul Islam <[email protected]>

> Hi,
>
> I downloaded the latest osgCompute from the repository and i have the
> openscenegraph 3.0.1 installed in the system.
>
> And i am getting the similar compilation error while building the
> osgCompute:
>
>
> Code:
>
> [ 35%] Building CXX object
> src/osgCudaSerializer/CMakeFiles/osgdb_serializers_osgCuda.dir/Program.cpp.o
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:
> In function ‘bool writeResources(osgDB::OutputStream&, const
> osgCuda::Program&)’:
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:66:21:
> error: ‘class osgDB::OutputStream’ has no member named ‘BEGIN_BRACKET’
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:87:11:
> error: ‘class osgDB::OutputStream’ has no member named ‘END_BRACKET’
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:
> In function ‘bool readResources(osgDB::InputStream&, osgCuda::Program&)’:
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:95:21:
> error: ‘class osgDB::InputStream’ has no member named ‘BEGIN_BRACKET’
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:116:11:
> error: ‘class osgDB::InputStream’ has no member named ‘END_BRACKET’
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:
> In function ‘bool writeComputations(osgDB::OutputStream&, const
> osgCuda::Program&)’:
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:141:22:
> error: ‘class osgDB::OutputStream’ has no member named ‘BEGIN_BRACKET’
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:152:11:
> error: ‘class osgDB::OutputStream’ has no member named ‘END_BRACKET’
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:
> In function ‘bool readComputations(osgDB::InputStream&, osgCuda::Program&)’:
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:160:22:
> error: ‘class osgDB::InputStream’ has no member named ‘BEGIN_BRACKET’
> /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgCudaSerializer/Program.cpp:184:11:
> error: ‘class osgDB::InputStream’ has no member named ‘END_BRACKET’
> make[2]: ***
> [src/osgCudaSerializer/CMakeFiles/osgdb_serializers_osgCuda.dir/Program.cpp.o]
> Error 1
> make[1]: ***
> [src/osgCudaSerializer/CMakeFiles/osgdb_serializers_osgCuda.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
>
>
>
> Any idea folks?
>
> Cheers,
> Sajjadul
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=52627#52627
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to