problems compiling the tutorial

94 views
Skip to first unread message

Simon Hangl

unread,
Feb 14, 2012, 8:48:06 AM2/14/12
to RobWork
hi,

at the moment i am reading through the functionalities in
robwork...unfortunately i have problems to compile the robwork
tutorial files...here is the error i get:


/home/simon/robwork/RobWork/example/tutorial/WorkCellAndDevices.cpp:
In function ‘int main(int, char**)’:
/home/simon/robwork/RobWork/example/tutorial/WorkCellAndDevices.cpp:
32:36: error: no matching function for call to
‘rw::kinematics::Kinematics::isDAF(rw::kinematics::MovableFrame&)’
/home/simon/robwork/RobWork/example/tutorial/WorkCellAndDevices.cpp:
32:36: note: candidate is:
/home/simon/robwork/RobWork/build/../src/rw/./kinematics/
Kinematics.hpp:263:21: note: static bool
rw::kinematics::Kinematics::isDAF(const rw::kinematics::Frame*)
/home/simon/robwork/RobWork/build/../src/rw/./kinematics/
Kinematics.hpp:263:21: note: no known conversion for argument 1 from
‘rw::kinematics::MovableFrame’ to ‘const rw::kinematics::Frame*’
/home/simon/robwork/RobWork/example/tutorial/WorkCellAndDevices.cpp:
34:66: error: no matching function for call to
‘rw::kinematics::Kinematics::gripFrame(rw::kinematics::State&,
rw::kinematics::MovableFrame&, rw::kinematics::Frame&)’
/home/simon/robwork/RobWork/example/tutorial/WorkCellAndDevices.cpp:
34:66: note: candidates are:
/home/simon/robwork/RobWork/build/../src/rw/./kinematics/
Kinematics.hpp:267:15: note: static void
rw::kinematics::Kinematics::gripFrame(rw::kinematics::Frame*,
rw::kinematics::Frame*, rw::kinematics::State&)
/home/simon/robwork/RobWork/build/../src/rw/./kinematics/
Kinematics.hpp:267:15: note: no known conversion for argument 1 from
‘rw::kinematics::State’ to ‘rw::kinematics::Frame*’
/home/simon/robwork/RobWork/build/../src/rw/./kinematics/
Kinematics.hpp:278:21: note: static void
rw::kinematics::Kinematics::gripFrame(rw::kinematics::MovableFrame*,
rw::kinematics::Frame*, rw::kinematics::State&)
/home/simon/robwork/RobWork/build/../src/rw/./kinematics/
Kinematics.hpp:278:21: note: no known conversion for argument 1 from
‘rw::kinematics::State’ to ‘rw::kinematics::MovableFrame*’
/home/simon/robwork/RobWork/example/tutorial/WorkCellAndDevices.cpp:
13:12: warning: unused variable ‘worldFrame’ [-Wunused-variable]
/home/simon/robwork/RobWork/example/tutorial/WorkCellAndDevices.cpp:
17:17: warning: unused variable ‘fframe’ [-Wunused-variable]
/home/simon/robwork/RobWork/example/tutorial/WorkCellAndDevices.cpp:
39:12: warning: unused variable ‘base’ [-Wunused-variable]
/home/simon/robwork/RobWork/example/tutorial/WorkCellAndDevices.cpp:
41:12: warning: unused variable ‘end’ [-Wunused-variable]
make[2]: *** [CMakeFiles/WorkCellAndDevices.dir/
WorkCellAndDevices.cpp.o] Error 1
make[1]: *** [CMakeFiles/WorkCellAndDevices.dir/all] Error 2
make: *** [all] Error 2

i already created simple projects, which worked with the same process

best regards
simon

Simon Hangl

unread,
Feb 14, 2012, 10:58:00 AM2/14/12
to RobWork
ok i solved that problem, but now i ran into another:

i tried to compile the RobWork/example/simplegui example, but the
compiler says:


In file included from /home/simon/robwork/RobWork/example/simplegui/
src/SimpleGLViewer.cpp:1:0:
/home/simon/robwork/RobWork/example/simplegui/src/SimpleGLViewer.h:
9:48: fatal error: rwlibs/drawable/WorkCellGLDrawer.hpp: No such file
or directory
compilation terminated.
make[2]: *** [CMakeFiles/rwtools_simpleviewer.dir/src/
SimpleGLViewer.cpp.o] Error 1
make[1]: *** [CMakeFiles/rwtools_simpleviewer.dir/all] Error 2
make: *** [all] Error 2

i checked that and the folder drawable is really not there...where can
i find the files to make this projects run?

best regards
simon

Jimmy Jorgensen

unread,
Feb 15, 2012, 4:22:36 AM2/15/12
to rob...@googlegroups.com
Hi,

 sorry about that. The example is a bit deprecated. lots of changes in the opengl drawing has not been transferred to the example yet. Working on it thought...

/Jimmy

2012/2/14 Simon Hangl <shang...@gmail.com>

best regards
simon

--
You received this message because you are subscribed to the Google Groups "RobWork" group.
To post to this group, send email to rob...@googlegroups.com.
To unsubscribe from this group, send email to robwork+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robwork?hl=en.


Reply all
Reply to author
Forward
0 new messages