Package Details: openrave-git 3364.1cf3710-1

Git Clone URL: https://aur.archlinux.org/openrave-git.git (read-only)
Package Base: openrave-git
Description: An environment for testing, developing, and deploying motion planning algorithms in real-world robotics applications.
Upstream URL: http://openrave.org
Licenses: LGPL, Apache
Submitter: hauptmech
Maintainer: None
Last Packager: drevilt
Votes: 1
Popularity: 0.000000
First Submitted: 2013-08-05 13:21
Last Updated: 2015-06-08 18:40

Latest Comments

drevilt commented on 2014-05-23 14:54

i have updated the package.
after FS # 40505 will be fixed it can be built. currently assimp package has an error which does not allow it to be built with this package.

@de-vries: i have not added the two cmake options because i was able to built it without them. but i have removed the sed command.

de-vries commented on 2014-05-21 15:53

sed -i -e 's/BIND_PER_PRIMITIVE/BIND_OVERALL/' plugins/qtosgrave/Item.cpp

This breaks stuff. It turns BIND_PER_PRIMITIVE_SET into BIND_OVERALL_SET which doesn't exist. Note that BIND_PER_PRIMITIVE without _SET doesn't exist either.

I'm not sure why it's there in the first place, but if it's really needed then it should be:
sed -i -e 's/BIND_PER_PRIMITIVE_SET/BIND_OVERALL/' plugins/qtosgrave/Item.cpp

Also, why delete and clone the build directory every time? Fixing errors becomes quite annoying when you have to restart from scratch when you changed something..

On a final note, I can't get it to compile without -DOPT_OCTAVE=OFF and/or -DOPT_MATLAB=OFF .

fwalch commented on 2014-03-10 12:06

You can add -DOPT_VIDEORECORDING=OFF (see https://github.com/rdiankov/openrave/blob/master/docs/install.dox), then it should build.

a_user commented on 2013-12-09 16:26

==
[ 76%] Building CXX object plugins/logging/CMakeFiles/logging.dir/viewerrecorder.cpp.o
/var/abs/local/yaourtbuild/openrave-git/src/openrave-build/plugins/logging/viewerrecorder.cpp: In member function ‘void ViewerRecorder::_StartVideo(const string&, double, int, int, int, int)’:
/var/abs/local/yaourtbuild/openrave-git/src/openrave-build/plugins/logging/viewerrecorder.cpp:717:9: error: ‘CodecID’ was not declared in this scope
CodecID video_codec = codecid == -1 ? CODEC_ID_MPEG4 : (CodecID)codecid;
^
/var/abs/local/yaourtbuild/openrave-git/src/openrave-build/plugins/logging/viewerrecorder.cpp:717:17: error: expected ‘;’ before ‘video_codec’
CodecID video_codec = codecid == -1 ? CODEC_ID_MPEG4 : (CodecID)codecid;
^
/var/abs/local/yaourtbuild/openrave-git/src/openrave-build/plugins/logging/viewerrecorder.cpp:724:37: error: ‘video_codec’ was not declared in this scope
if (fmt->video_codec == video_codec) {
^
/var/abs/local/yaourtbuild/openrave-git/src/openrave-build/plugins/logging/viewerrecorder.cpp:746:31: error: ‘video_codec’ was not declared in this scope
codec_ctx->codec_id = video_codec;
^
/var/abs/local/yaourtbuild/openrave-git/src/openrave-build/plugins/logging/viewerrecorder.cpp: In member function ‘void ViewerRecorder::_AddFrame(void*)’:
/var/abs/local/yaourtbuild/openrave-git/src/openrave-build/plugins/logging/viewerrecorder.cpp:876:9: warning: ‘void av_destruct_packet(AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3461) [-Wdeprecated-declarations]
av_destruct_packet(&pkt);
^
/var/abs/local/yaourtbuild/openrave-git/src/openrave-build/plugins/logging/viewerrecorder.cpp:876:32: warning: ‘void av_destruct_packet(AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3461) [-Wdeprecated-declarations]
av_destruct_packet(&pkt);
^
plugins/logging/CMakeFiles/logging.dir/build.make:80: recipe for target 'plugins/logging/CMakeFiles/logging.dir/viewerrecorder.cpp.o' failed
make[2]: *** [plugins/logging/CMakeFiles/logging.dir/viewerrecorder.cpp.o] Error 1
CMakeFiles/Makefile2:1510: recipe for target 'plugins/logging/CMakeFiles/logging.dir/all' failed
make[1]: *** [plugins/logging/CMakeFiles/logging.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
==

any suggestions?

hauptmech commented on 2013-08-05 13:22

Not tested very much....

Tastalian commented on 2012-11-12 05:37

I get the following error while trying to install openrave-svn: "error: invalid conversion from ‘const btCollisionObject*’ to ‘btCollisionObject*’"

Some research suggests that it is because the version of bullet (2.81) in community/bullet is too recent?

Complete log:

==
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp: In member function ‘virtual btScalar BulletCollisionChecker::AllRayResultCallback::addSingleResult(btCollisionWorld::LocalRayResult&, bool)’:
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp:270:90: error: invalid conversion from ‘const btCollisionObject*’ to ‘btCollisionObject*’ [-fpermissive]
In file included from /tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp:16:0:
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletspace.h:457:25: error: initializing argument 1 of ‘OpenRAVE::KinBody::LinkPtr GetLinkFromCollision(btCollisionObject*)’ [-fpermissive]
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp: In member function ‘bool BulletCollisionChecker::CheckCollisionP(btOverlapFilterCallback*, OpenRAVE::CollisionReportPtr)’:
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp:319:97: error: static_cast from type ‘const btCollisionObject*’ to type ‘btCollisionObject*’ casts away qualifiers
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp:320:97: error: static_cast from type ‘const btCollisionObject*’ to type ‘btCollisionObject*’ casts away qualifiers
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp: In member function ‘virtual bool BulletCollisionChecker::CheckCollision(const RAY&, OpenRAVE::KinBody::LinkConstPtr, OpenRAVE::CollisionReportPtr)’:
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp:605:84: error: invalid conversion from ‘const btCollisionObject*’ to ‘btCollisionObject*’ [-fpermissive]
In file included from /tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp:16:0:
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletspace.h:457:25: error: initializing argument 1 of ‘OpenRAVE::KinBody::LinkPtr GetLinkFromCollision(btCollisionObject*)’ [-fpermissive]
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp: In member function ‘virtual bool BulletCollisionChecker::CheckCollision(const RAY&, OpenRAVE::KinBodyConstPtr, OpenRAVE::CollisionReportPtr)’:
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp:674:84: error: invalid conversion from ‘const btCollisionObject*’ to ‘btCollisionObject*’ [-fpermissive]
In file included from /tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp:16:0:
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletspace.h:457:25: error: initializing argument 1 of ‘OpenRAVE::KinBody::LinkPtr GetLinkFromCollision(btCollisionObject*)’ [-fpermissive]
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp: In member function ‘virtual bool BulletCollisionChecker::CheckCollision(const RAY&, OpenRAVE::CollisionReportPtr)’:
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp:738:84: error: invalid conversion from ‘const btCollisionObject*’ to ‘btCollisionObject*’ [-fpermissive]
In file included from /tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletcollision.cpp:16:0:
/tmp/yaourt-tmp-tastalian/aur-openrave-svn/src/openrave-build/plugins/bulletrave/bulletspace.h:457:25: error: initializing argument 1 of ‘OpenRAVE::KinBody::LinkPtr GetLinkFromCollision(btCollisionObject*)’ [-fpermissive]
make[2]: *** [plugins/bulletrave/CMakeFiles/bulletrave.dir/bulletcollision.cpp.o] Error 1
make[1]: *** [plugins/bulletrave/CMakeFiles/bulletrave.dir/all] Error 2
make: *** [all] Error 2
==