[ros-users] python_orocos_kdl eigen2 dependency

Brian Gerkey gerkey at willowgarage.com
Tue Aug 16 00:13:24 UTC 2011


On Mon, Aug 15, 2011 at 3:43 PM, William Woodall <wjwwood at gmail.com> wrote:
> On my setup I had to add this:
>
>  find_package(PythonInterp REQUIRED)
>
> +find_package(PythonLibs REQUIRED)
>
>  list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
>
>  find_package(SIP REQUIRED)
>
>  include(SIPMacros)
>
>
> -include_directories(${SIP_INCLUDE_DIR})
>
> +include_directories(${SIP_INCLUDE_DIR} ${PYTHON_INCLUDE_DIRS})

> Does this seem like it should be necessary?

What did that change do?  Last time I tried to build on 10.6, I ran
into trouble with sip because orocos's build was consistently finding
MacPorts Python 2.7, instead of either of the 2.6 installations.
Maybe your patch addresses that problem...

	brian.



More information about the ros-users mailing list