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 

END_BRACKET


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgCompute [osgCompute]
View previous topic :: View next topic  
Author Message
sholmes
User


Joined: 05 Sep 2011
Posts: 62

PostPosted: Wed Apr 25, 2012 12:04 pm    Post subject:
END_BRACKET
Reply with quote

Hi,

Trying to build osgCompute... It has built fine every time I have tried, except for now on my new machine.... My brain just isn't working right now so this is probably an easy fix, but I cant' see it... The error I am getting is:

In function ‘bool writeResources(osgDB::OutputStream&, const osgCuda::Computation&)’:
path/to/SOURCES/osgCompute/src/osgCudaSerializer/Computation.cpp:31: error: ‘BEGIN_BRACKET’ is not a member of ‘osgDB’
path/to/SOURCES/osgCompute/src/osgCudaSerializer/Computation.cpp:52: error: ‘END_BRACKET’ is not a member of ‘osgDB’



Thank you!

Cheers,
Conan
Back to top
View user's profile Send private message
jens.svt
User


Joined: 16 Mar 2009
Posts: 30

PostPosted: Wed May 02, 2012 12:55 pm    Post subject:
Reply with quote

Hi sholmes,

What version of OSG do you use?
2.9.9 and above should work.


Cheers,
Jens
Back to top
View user's profile Send private message
sholmes
User


Joined: 05 Sep 2011
Posts: 62

PostPosted: Wed May 02, 2012 5:03 pm    Post subject:
Reply with quote

I was using 3.0.1, w/osgCompute 1.1, but I switched to the latest greatest osgCompute from svn and now I am compiling fine. Thanks for the feedback.

jens.svt wrote:
Hi sholmes,

What version of OSG do you use?
2.9.9 and above should work.


Cheers,
Jens
Back to top
View user's profile Send private message
Martin Naylor
Guest





PostPosted: Wed May 02, 2012 5:54 pm    Post subject:
END_BRACKET
Reply with quote

Hi,
There was a fix for this applied to Virtual Planer Builder just yesterday.
I am assuming of course you are building osgcompute against VPB.

Cheers

Martin


-----Original Message-----
From: [mailto:] On Behalf Of Conan Doyle
Sent: 25 April 2012 13:04
To:
Subject: [osgCompute] END_BRACKET

Hi,

Trying to build osgCompute... It has built fine every time I have tried, except for now on my new machine.... My brain just isn't working right now so this is probably an easy fix, but I cant' see it... The error I am getting is:

In function ‘bool writeResources(osgDB::OutputStream&, const osgCuda::Computation&)’:
path/to/SOURCES/osgCompute/src/osgCudaSerializer/Computation.cpp:31: error: ‘BEGIN_BRACKET’ is not a member of ‘osgDB’
path/to/SOURCES/osgCompute/src/osgCudaSerializer/Computation.cpp:52: error: ‘END_BRACKET’ is not a member of ‘osgDB’



Thank you!

Cheers,
Conan

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









------------------
Post generated by Mail2Forum
Back to top
sajis997
User


Joined: 28 Nov 2010
Posts: 87

PostPosted: Wed Feb 13, 2013 6:57 am    Post subject:
Reply with quote

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
Back to top
View user's profile Send private message
Wang Rui
Guest





PostPosted: Wed Feb 13, 2013 7:19 am    Post subject:
END_BRACKET
Reply with quote

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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>
Quote:
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
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgCompute [osgCompute] 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 osgCompute 1.1 patched for OSG 3.1.3+... socke osgCompute [osgCompute] 1 Thu Feb 07, 2013 8:17 am 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