PyKDL not building with sip 4.9.3 ?
Submitted by bdillow on Wed, 2016-03-16 00:42 |
Hello,
I posted this to the forum, but received no reply so thought I'd give the
mailing list a shot.
http://www.orocos.org/forum/orocos/orocos-users/pykdl-not-building-sip-493
I've been unable to build PyKDL on Scientific Linux 6.7 with sip version
4.9.3. Any help is appreciated.
After configuring cmake, running 'make' gives me the following sip usage
error:
user@box:~/src/orocos_kinematics_dynamics/python_orocos_kdl$ make
[ 11%] Generating PyKDL/sipPyKDLpart0.cpp, PyKDL/sipPyKDLpart1.cpp,
PyKDL/sipPyKDLpart2.cpp, PyKDL/sipPyKDLpart3.cpp,
PyKDL/sipPyKDLpart4.cpp, PyKDL/sipPyKDLpart5.cpp,
PyKDL/sipPyKDLpart6.cpp, PyKDL/sipPyKDLpart7.cpp
sip: Usage: sip [-h] [-V] [-a file] [-c dir] [-d file] [-e] [-g] [-I
dir] [-j #] [-m file] [-p module] [-r] [-s suffix] [-t tag] [-w] [-x
feature] [-z file] [file]
make[2]: *** [PyKDL/sipPyKDLpart0.cpp] Error 1
make[1]: *** [CMakeFiles/python_module_PyKDL.dir/all] Error 2
make: *** [all] Error 2
However, if I change line 60 of
python_orocos_kdl/CMakeFiles/python_module_PyDKL.dir/build.make to remove
the "-o" option (because it isn't listed as an option for version 4.9.3),
the error message becomes a sip syntax problem:
user@box:~/src/orocos_kinematics_dynamics/python_orocos_kdl$ make clean
user@box:~/src/orocos_kinematics_dynamics/python_orocos_kdl$ make
[ 11%] Generating PyKDL/sipPyKDLpart0.cpp, PyKDL/sipPyKDLpart1.cpp,
PyKDL/sipPyKDLpart2.cpp, PyKDL/sipPyKDLpart3.cpp,
PyKDL/sipPyKDLpart4.cpp, PyKDL/sipPyKDLpart5.cpp,
PyKDL/sipPyKDLpart6.cpp, PyKDL/sipPyKDLpart7.cpp
sip: /home/bdillow/src/orocos_kinematics_dynamics/python_orocos_kdl/PyKDL/PyKDL.sip:23:
syntax error
make[2]: *** [PyKDL/sipPyKDLpart0.cpp] Error 1
make[1]: *** [CMakeFiles/python_module_PyKDL.dir/all] Error 2
make: *** [all] Error 2
Line 23 of PyKDL.sip has the following:
%Module(name = PyKDL,version=0,keyword_arguments="All")
Not sure what is up here. Sip library version problem?
Thanks for the help.
Cheers,
Barrett