Fwd: WrenchSensor, Python KDL and xenomai ...

Hi,

this mails has three questions, I think that with some relation between them.

1) I hav compiled and installed in a amd64 box a xenomai kernel with success.
Also, using this this configuration, I have compiled and installed orocos-rtt
with success, but the make check fails in:

Changing directory into /usr/src/orocos/orocos-rtt-1.2.1/build/tests
1/ 7 Testing core-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/core-test
....................

0.000 [ Warning][Logger] 'MainThread' name was already in use.

OK (20)
-- Process completed
Passed
2/ 7 Testing task-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/task-test
0.000 [ Warning][Logger] 'MainThread' name was already in use.

-- Process completed

*** Exception executing: Child killed
***Exception: Other
3/ 7 Testing event-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/event-test
0.000 [ Warning][Logger] 'MainThread' name was already in use.

-- Process completed

*** Exception executing: Child killed
***Exception: Other
4/ 7 Testing taskcontext-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/taskcontext-test
.......................
0.001 [ Warning][Logger] 'MainThread' name was already in use.

OK (23)
-- Process completed

*** Exception executing: Child killed
***Exception: Other
5/ 7 Testing parser-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/parser-test
................

0.000 [ Warning][Logger] 'MainThread' name was already in use.

OK (16)
-- Process completed
Passed
6/ 7 Testing program-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/program-test
...................

0.000 [ Warning][Logger] 'MainThread' name was already in use.

OK (19)
-- Process completed
Passed
7/ 7 Testing state-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/state-test
......

0.000 [ Warning][Logger] 'MainThread' name was already in use.

OK (6)
-- Process completed
Passed

57% tests passed, 3 tests failed out of 7

The following tests FAILED:
2 - task-test (OTHER_FAULT)
3 - event-test (OTHER_FAULT)
4 - taskcontext-test (OTHER_FAULT)

is this important?

2) I would like to use the driver for the jr3 card to use the force sensor.
The driver provided for orocos _only_ works with rtai or it works also with
xenomai?

3) Which packages I need to compile the the binding for Python in the kdl
lib?

Regards,

Leo

-------------------------------------------------------
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Fwd: WrenchSensor, Python KDL and xenomai ...

Quoting Leopold Palomo-Avellaneda <lepalom [..] ...>:

> Hi,
>
> this mails has three questions, I think that with some relation between them.
>
> 1) I hav compiled and installed in a amd64 box a xenomai kernel with success.
> Also, using this this configuration, I have compiled and installed orocos-rtt
> with success, but the make check fails in:
>
>
> Changing directory into /usr/src/orocos/orocos-rtt-1.2.1/build/tests
> 1/ 7 Testing core-test
> Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/core-test
> ....................
>
> 0.000 [ Warning][Logger] 'MainThread' name was already in use.
>
> OK (20)
> -- Process completed
> Passed
> 2/ 7 Testing task-test
> Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/task-test
> 0.000 [ Warning][Logger] 'MainThread' name was already in use.
>
> -- Process completed
>
> *** Exception executing: Child killed

This is probably because you are using a fairly new Xenomai version. A
fix is ready (See:
) for the
1.2.2 release (to be released). This only occurs when your application
cleans up a thread.

Make sure you upgrade to Xenomai 2.3.4 or later as there is a critical
bug in Xenomai itself in 2.3.2 and 2.3.3.

>
> 2) I would like to use the driver for the jr3 card to use the force sensor.
> The driver provided for orocos _only_ works with rtai or it works also with
> xenomai?

There are other drivers available as well for the jr3. But I don't
know if they work with Xenomai either. You could temporarily use a
gnu-linux driver for the JR3 and use it under Xenomai. But you'll have
to test the performance if it is acceptable for you.

Peter

--
www.fmtc.be

--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Fwd: WrenchSensor, Python KDL and xenomai ...

[...]
> > 2) I would like to use the driver for the jr3 card to use the force sensor.
> > The driver provided for orocos _only_ works with rtai or it works also with
> > xenomai?
>
> There are other drivers available as well for the jr3. But I don't
> know if they work with Xenomai either. You could temporarily use a
> gnu-linux driver for the JR3 and use it under Xenomai. But you'll have
> to test the performance if it is acceptable for you.

AFAIR they recently got integrated into comedi-cvs too, but ATM that's
still RTAI only (I suppose you need to read them in real-time).

Klaas
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Fwd: WrenchSensor, Python KDL and xenomai ...

A Dijous 20 Setembre 2007 09:15, Klaas Gadeyne va escriure:
> [...]
>
> > > 2) I would like to use the driver for the jr3 card to use the force
> > > sensor. The driver provided for orocos _only_ works with rtai or it
> > > works also with xenomai?
> >
> > There are other drivers available as well for the jr3. But I don't
> > know if they work with Xenomai either. You could temporarily use a
> > gnu-linux driver for the JR3 and use it under Xenomai. But you'll have
> > to test the performance if it is acceptable for you.
>
> AFAIR they recently got integrated into comedi-cvs too, but ATM that's
> still RTAI only (I suppose you need to read them in real-time).

Ok,
I have tried to look on the comedi webcvs but I didn't find any. Howeber the
option is clear, if I want to use it with orocos and some kind of rt I have
to use rtai.

Regards,

Leo
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Fwd: WrenchSensor, Python KDL and xenomai ...

On 9/20/07, Leopold Palomo-Avellaneda <lepalom [..] ...> wrote:

[...]
> I have tried to look on the comedi webcvs but I didn't find any.


?
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Fwd: WrenchSensor, Python KDL and xenomai ...

A Dimecres 19 Setembre 2007 12:12, Peter Soetens va escriure:
> Quoting Leopold Palomo-Avellaneda <lepalom [..] ...>:
> > Hi,
> >
> > this mails has three questions, I think that with some relation between
> > them.
> >
> > 1) I hav compiled and installed in a amd64 box a xenomai kernel with
> > success. Also, using this this configuration, I have compiled and
> > installed orocos-rtt with success, but the make check fails in:
> >
> >
> > Changing directory into /usr/src/orocos/orocos-rtt-1.2.1/build/tests
> > 1/ 7 Testing core-test
> > Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/core-test
> > ....................
> >
> > 0.000 [ Warning][Logger] 'MainThread' name was already in use.
> >
> > OK (20)
> > -- Process completed
> > Passed
> > 2/ 7 Testing task-test
> > Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/task-test
> > 0.000 [ Warning][Logger] 'MainThread' name was already in use.
> >
> > -- Process completed
> >
> > *** Exception executing: Child killed
>
> This is probably because you are using a fairly new Xenomai version. A
> fix is ready (See:
> ) for the
> 1.2.2 release (to be released). This only occurs when your application
> cleans up a thread.
>
> Make sure you upgrade to Xenomai 2.3.4 or later as there is a critical
> bug in Xenomai itself in 2.3.2 and 2.3.3.

I'm using xenomai trunk updated yesterday. It's 2.4-rc3.

> > 2) I would like to use the driver for the jr3 card to use the force
> > sensor. The driver provided for orocos _only_ works with rtai or it works
> > also with xenomai?
>
> There are other drivers available as well for the jr3. But I don't
> know if they work with Xenomai either.

I only know the driver made by Mario Prats and yours.

> You could temporarily use a
> gnu-linux driver for the JR3 and use it under Xenomai. But you'll have
> to test the performance if it is acceptable for you.

I would like to use it with the WrechSensor class inside a orocos app. What do
you recommend?

Leo
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Ruben Smits's picture

Fwd: WrenchSensor, Python KDL and xenomai ...

On Wednesday September 19 2007 11:18:57 Leopold Palomo-Avellaneda wrote:
> Hi,
>
> this mails has three questions, I think that with some relation between
> them.
>
> 1) I hav compiled and installed in a amd64 box a xenomai kernel with
> success. Also, using this this configuration, I have compiled and installed
> orocos-rtt with success, but the make check fails in:
>
>
> Changing directory into /usr/src/orocos/orocos-rtt-1.2.1/build/tests
> 1/ 7 Testing core-test
> Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/core-test
> ....................
>
> 0.000 [ Warning][Logger] 'MainThread' name was already in use.
>
> OK (20)
> -- Process completed
> Passed
> 2/ 7 Testing task-test
> Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/task-test
> 0.000 [ Warning][Logger] 'MainThread' name was already in use.
>
> -- Process completed
>
> *** Exception executing: Child killed
> ***Exception: Other
> 3/ 7 Testing event-test
> Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/event-test
> 0.000 [ Warning][Logger] 'MainThread' name was already in use.
>
> -- Process completed
>
> *** Exception executing: Child killed
> ***Exception: Other
> 4/ 7 Testing taskcontext-test
> Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/taskcontext-test
> .......................
> 0.001 [ Warning][Logger] 'MainThread' name was already in use.
>
> OK (23)
> -- Process completed
>
> *** Exception executing: Child killed
> ***Exception: Other
> 5/ 7 Testing parser-test
> Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/parser-test
> ................
>
> 0.000 [ Warning][Logger] 'MainThread' name was already in use.
>
> OK (16)
> -- Process completed
> Passed
> 6/ 7 Testing program-test
> Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/program-test
> ...................
>
> 0.000 [ Warning][Logger] 'MainThread' name was already in use.
>
> OK (19)
> -- Process completed
> Passed
> 7/ 7 Testing state-test
> Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/state-test
> ......
>
> 0.000 [ Warning][Logger] 'MainThread' name was already in use.
>
> OK (6)
> -- Process completed
> Passed
>
> 57% tests passed, 3 tests failed out of 7
>
> The following tests FAILED:
> 2 - task-test (OTHER_FAULT)
> 3 - event-test (OTHER_FAULT)
> 4 - taskcontext-test (OTHER_FAULT)
>
>
> is this important?
>
> 2) I would like to use the driver for the jr3 card to use the force sensor.
> The driver provided for orocos _only_ works with rtai or it works also with
> xenomai?

Our driver for the jr3-card works only with rtai.

> 3) Which packages I need to compile the the binding for Python in the kdl
> lib?

You need SIP 4.5 or higher
() to create the
bindings. Most linux-distributions have packaged this software.

--
Ir. Ruben Smits
Robotics Group, Mechanical Engineering,
KULeuven
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

WrenchSensor, Python KDL and xenomai ...

Hi,

this mails has three questions, I think that with some relation between them.

1) I hav compiled and installed in a amd64 box a xenomai kernel with success.
Also, using this this configuration, I have compiled and installed orocos-rtt
with success, but the make check fails in:

Changing directory into /usr/src/orocos/orocos-rtt-1.2.1/build/tests
1/ 7 Testing core-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/core-test
....................

0.000 [ Warning][Logger] 'MainThread' name was already in use.

OK (20)
-- Process completed
Passed
2/ 7 Testing task-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/task-test
0.000 [ Warning][Logger] 'MainThread' name was already in use.

-- Process completed

*** Exception executing: Child killed
***Exception: Other
3/ 7 Testing event-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/event-test
0.000 [ Warning][Logger] 'MainThread' name was already in use.

-- Process completed

*** Exception executing: Child killed
***Exception: Other
4/ 7 Testing taskcontext-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/taskcontext-test
.......................
0.001 [ Warning][Logger] 'MainThread' name was already in use.

OK (23)
-- Process completed

*** Exception executing: Child killed
***Exception: Other
5/ 7 Testing parser-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/parser-test
................

0.000 [ Warning][Logger] 'MainThread' name was already in use.

OK (16)
-- Process completed
Passed
6/ 7 Testing program-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/program-test
...................

0.000 [ Warning][Logger] 'MainThread' name was already in use.

OK (19)
-- Process completed
Passed
7/ 7 Testing state-test
Test command: /usr/src/orocos/orocos-rtt-1.2.1/build/tests/state-test
......

0.000 [ Warning][Logger] 'MainThread' name was already in use.

OK (6)
-- Process completed
Passed

57% tests passed, 3 tests failed out of 7

The following tests FAILED:
2 - task-test (OTHER_FAULT)
3 - event-test (OTHER_FAULT)
4 - taskcontext-test (OTHER_FAULT)

is this important?

2) I would like to use the driver for the jr3 card to use the force sensor.
The driver provided for orocos _only_ works with rtai or it works also with
xenomai?

3) Which packages I need to compile the the binding for Python in the kdl lib?

Regards,

Leo

--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Fwd: WrenchSensor, Python KDL and xenomai ...

A Dimecres 19 Setembre 2007 11:35, Ruben Smits va escriure:
[...]
> > 2) I would like to use the driver for the jr3 card to use the force
> > sensor. The driver provided for orocos _only_ works with rtai or it works
> > also with xenomai?
>
> Our driver for the jr3-card works only with rtai.

oopss, :-(

Ruben Smits's picture

Fwd: WrenchSensor, Python KDL and xenomai ...

On Wednesday September 19 2007 11:54:14 Leopold Palomo-Avellaneda wrote:
> A Dimecres 19 Setembre 2007 11:35, Ruben Smits va escriure:
> [...]
>
> > > 2) I would like to use the driver for the jr3 card to use the force
> > > sensor. The driver provided for orocos _only_ works with rtai or it
> > > works also with xenomai?
> >
> > Our driver for the jr3-card works only with rtai.
>
> oopss, :-(
>
> ok
>
> > > 3) Which packages I need to compile the the binding for Python in the
> > > kdl lib?
> >
> > You need SIP 4.5 or higher
> > () to create the
> > bindings. Most linux-distributions have packaged this software.
>
> palomo@quasar:/usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source$ dpkg -l | grep
> sip
> ii python-sip4 4.4.5-4
> Python/C++ bindings generator runtime librar
> ii python-sip4-dev 4.4.5-4
> Python/C++ bindings generator development fi
> ii sip4 4.4.5-4
> Python/C++ bindings generator
>
> so, it will not work ... :-(

You can also compile SIP from source, it is really straightforward.

I have never tried it with that version i have:
ii python-sip4 4.5-0ubuntu2
Python/C++ bindings generator runtime librar
ii python-sip4-dev 4.5-0ubuntu2
Python/C++ bindings generator development fi
ii sip4 4.5-0ubuntu2
Python/C++ bindings generator

but maybe you can give it a try: change the following line in the
config/FindSIPandPython.cmake file:
SET (SIP_MIN_VERSION 040500)

Fwd: WrenchSensor, Python KDL and xenomai ...

A Dimecres 19 Setembre 2007 12:08, Ruben Smits va escriure:
> On Wednesday September 19 2007 11:54:14 Leopold Palomo-Avellaneda wrote:
> > A Dimecres 19 Setembre 2007 11:35, Ruben Smits va escriure:
> > [...]
> >
> > > > 2) I would like to use the driver for the jr3 card to use the force
> > > > sensor. The driver provided for orocos _only_ works with rtai or it
> > > > works also with xenomai?
> > >
> > > Our driver for the jr3-card works only with rtai.
> >
> > oopss, :-(
> >
> > ok
> >
> > > > 3) Which packages I need to compile the the binding for Python in the
> > > > kdl lib?
> > >
> > > You need SIP 4.5 or higher
> > > () to create the
> > > bindings. Most linux-distributions have packaged this software.
> >
> > palomo@quasar:/usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source$ dpkg -l |
> > grep sip
> > ii python-sip4 4.4.5-4
> > Python/C++ bindings generator runtime librar
> > ii python-sip4-dev 4.4.5-4
> > Python/C++ bindings generator development fi
> > ii sip4 4.4.5-4
> > Python/C++ bindings generator
> >
> > so, it will not work ... :-(
>
> You can also compile SIP from source, it is really straightforward.
>
> I have never tried it with that version i have:
> ii python-sip4 4.5-0ubuntu2
> Python/C++ bindings generator runtime librar
> ii python-sip4-dev 4.5-0ubuntu2
> Python/C++ bindings generator development fi
> ii sip4 4.5-0ubuntu2
> Python/C++ bindings generator
>
> but maybe you can give it a try: change the following line in the
> config/FindSIPandPython.cmake file:
> SET (SIP_MIN_VERSION 040500)
> to
> SET (SIP_MIN_VERSION 040400)
>
> can you let me know if it works?

of course, I will try.

Leo
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Fwd: WrenchSensor, Python KDL and xenomai ...

A Dimecres 19 Setembre 2007 12:31, Leopold Palomo-Avellaneda va escriure:
> A Dimecres 19 Setembre 2007 12:08, Ruben Smits va escriure:
> > On Wednesday September 19 2007 11:54:14 Leopold Palomo-Avellaneda wrote:
> > > A Dimecres 19 Setembre 2007 11:35, Ruben Smits va escriure:
> > > [...]
> > >
> > > > > 2) I would like to use the driver for the jr3 card to use the force
> > > > > sensor. The driver provided for orocos _only_ works with rtai or it
> > > > > works also with xenomai?
> > > >
> > > > Our driver for the jr3-card works only with rtai.
> > >
> > > oopss, :-(
> > >
> > > ok
> > >
> > > > > 3) Which packages I need to compile the the binding for Python in
> > > > > the kdl lib?
> > > >
> > > > You need SIP 4.5 or higher
> > > > () to create
> > > > the bindings. Most linux-distributions have packaged this software.
> > >
> > > palomo@quasar:/usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source$ dpkg -l |
> > > grep sip
> > > ii python-sip4 4.4.5-4
> > > Python/C++ bindings generator runtime librar
> > > ii python-sip4-dev 4.4.5-4
> > > Python/C++ bindings generator development fi
> > > ii sip4 4.4.5-4
> > > Python/C++ bindings generator
> > >
> > > so, it will not work ... :-(
> >
> > You can also compile SIP from source, it is really straightforward.
> >
> > I have never tried it with that version i have:
> > ii python-sip4 4.5-0ubuntu2
> > Python/C++ bindings generator runtime librar
> > ii python-sip4-dev 4.5-0ubuntu2
> > Python/C++ bindings generator development fi
> > ii sip4 4.5-0ubuntu2
> > Python/C++ bindings generator
> >
> > but maybe you can give it a try: change the following line in the
> > config/FindSIPandPython.cmake file:
> > SET (SIP_MIN_VERSION 040500)
> > to
> > SET (SIP_MIN_VERSION 040400)
> >
> > can you let me know if it works?

cmake doesn't detect the library.

PYTHON_BINDINGS *ON
PYTHON_EXECUTABLE */usr/bin/python2.4
PYTHON_INCLUDE_PATH *PYTHON_INCLUDE_PATH-NOTFOUND
PYTHON_LIBRARY *PYTHON_LIBRARY-NOTFOUND

filling this by hand(/usr/include and /usr/lib) it compiles but when I make a
install I receive:

CMake Error: Error in cmake code at
/usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/bindings/python/cmake_install.cmake:30:
FILE INSTALL cannot find
file "/usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/bindings/python/PyKDL.so"
to install.
Current CMake
stack: /usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/cmake_install.cmake;/usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/cmake_install.cmake;/usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/bindings/python/cmake_install.cmake
make: *** [install] Error 255

Leo
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Ruben Smits's picture

Fwd: WrenchSensor, Python KDL and xenomai ...

On Wednesday September 19 2007 12:40:40 Leopold Palomo-Avellaneda wrote:
> A Dimecres 19 Setembre 2007 12:31, Leopold Palomo-Avellaneda va escriure:
> > A Dimecres 19 Setembre 2007 12:08, Ruben Smits va escriure:
> > > On Wednesday September 19 2007 11:54:14 Leopold Palomo-Avellaneda wrote:
> > > > A Dimecres 19 Setembre 2007 11:35, Ruben Smits va escriure:
> > > > [...]
> > > >
> > > > > > 2) I would like to use the driver for the jr3 card to use the
> > > > > > force sensor. The driver provided for orocos _only_ works with
> > > > > > rtai or it works also with xenomai?
> > > > >
> > > > > Our driver for the jr3-card works only with rtai.
> > > >
> > > > oopss, :-(
> > > >
> > > > ok
> > > >
> > > > > > 3) Which packages I need to compile the the binding for Python in
> > > > > > the kdl lib?
> > > > >
> > > > > You need SIP 4.5 or higher
> > > > > () to create
> > > > > the bindings. Most linux-distributions have packaged this software.
> > > >
> > > > palomo@quasar:/usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source$ dpkg -l
> > > > | grep sip
> > > > ii python-sip4 4.4.5-4
> > > > Python/C++ bindings generator runtime librar
> > > > ii python-sip4-dev 4.4.5-4
> > > > Python/C++ bindings generator development fi
> > > > ii sip4 4.4.5-4
> > > > Python/C++ bindings generator
> > > >
> > > > so, it will not work ... :-(
> > >
> > > You can also compile SIP from source, it is really straightforward.
> > >
> > > I have never tried it with that version i have:
> > > ii python-sip4 4.5-0ubuntu2
> > > Python/C++ bindings generator runtime librar
> > > ii python-sip4-dev 4.5-0ubuntu2
> > > Python/C++ bindings generator development fi
> > > ii sip4 4.5-0ubuntu2
> > > Python/C++ bindings generator
> > >
> > > but maybe you can give it a try: change the following line in the
> > > config/FindSIPandPython.cmake file:
> > > SET (SIP_MIN_VERSION 040500)
> > > to
> > > SET (SIP_MIN_VERSION 040400)
> > >
> > > can you let me know if it works?
>
> cmake doesn't detect the library.
>
> PYTHON_BINDINGS *ON
> PYTHON_EXECUTABLE */usr/bin/python2.4
> PYTHON_INCLUDE_PATH *PYTHON_INCLUDE_PATH-NOTFOUND
> PYTHON_LIBRARY *PYTHON_LIBRARY-NOTFOUND
>
> filling this by hand(/usr/include and /usr/lib) it compiles but when I make
> a install I receive:

You have to 'make python' to create the PyKDL.so library, before you install
it. The building of the python bindings is not included in the 'make'.

> CMake Error: Error in cmake code at
> /usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/bindings/python/cma
>ke_install.cmake:30: FILE INSTALL cannot find
> file
> "/usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/bindings/python/Py
>KDL.so" to install.
> Current CMake
> stack:
> /usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/cmake_install.cmake;/us
>r/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/cmake_install.cmake;/us
>r/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/bindings/python/cmake_i
>nstall.cmake make: *** [install] Error 255
>
>
> Leo

--
Ir. Ruben Smits
Robotics Group, Mechanical Engineering,
KULeuven
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Fwd: WrenchSensor, Python KDL and xenomai ...

A Dimecres 19 Setembre 2007 13:21, Ruben Smits va escriure:
[....]
> >
> > cmake doesn't detect the library.
> >
> > PYTHON_BINDINGS *ON
> > PYTHON_EXECUTABLE */usr/bin/python2.4
> > PYTHON_INCLUDE_PATH *PYTHON_INCLUDE_PATH-NOTFOUND
> > PYTHON_LIBRARY *PYTHON_LIBRARY-NOTFOUND
> >
> > filling this by hand(/usr/include and /usr/lib) it compiles but when I
> > make a install I receive:
>
> You have to 'make python' to create the PyKDL.so library, before you
> install it. The building of the python bindings is not included in the
> 'make'.
> > CMake Error: Error in cmake code at
> > /usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/bindings/python/c
> >ma ke_install.cmake:30: FILE INSTALL cannot find
> > file
> > "/usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/bindings/python/
> >Py KDL.so" to install.
> > Current CMake
> > stack:
> > /usr/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/cmake_install.cmake;/
> >us
> > r/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/cmake_install.cmake;
> >/us
> > r/src/orocos/Orocos-KDL-1.0.0-beta1-Source/build/src/bindings/python/cmak
> >e_i nstall.cmake make: *** [install] Error 255

ok, I also have found one mistake that I did. I didn't install python2.4-dev.
Now, cmake detecs it and compile and install fine.

Leo
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm