[Rock-dev] Build fails with Unknown CMake command "orocos_generate_package"

Sylvain Joyeux sylvain.joyeux at dfki.de
Mon Feb 7 11:07:08 CET 2011


On 02/04/2011 01:40 PM, Peter Soetens wrote:
> On Wednesday 02 February 2011 21:41:54 gprizzi at tin.it wrote:
>>   Dear Sirs,
>>
>> from the last week I am trying to get update from rock repository in order
>> to rebuild my developing environment.
>>
>> I issued the commands:
>> autoproj update
>> autoproj build.
>>
>> The build command fails building ocl, which I need to use.
>> The message error is the following :
>>
>>    building oclBuild failed: ocl: failed in build phase
>>      'cmake .' returned status 1
>>      see /usr/src/rock/install/log/ocl-build.log for details
>>      last 10 lines are:
>>
>>      Found log4cpp in /usr/src/rock/install/include
>>      Building component orocos-ocl-common in library
>> orocos-ocl-common-gnulinux Building typekit library ocl
>>      Building plugin library print
>>      Building plugin library os
>>      CMake Error at ocl/CMakeLists.txt:13 (orocos_generate_package):
>>        Unknown CMake command "orocos_generate_package".
>
> This happens when you mix an OCL 'master' with an RTT 'toolchain-2.2' branch.
>
> You need to set your OCL branch to toolchain-2.2 as well.
>
> For the record: in the whole 'orocos-toolchain' directory, each git repository
> (project) needs to have the same branch checked out, ie, all on 'master' or
> all on 'toolchain-2....'
Nope. Need that only for RTT, OCL and log4cpp. Everything else works fine.

I've pushed an autoproj config change so that ocl and log4cpp use 
toolchain-2.2. I'll only merge "stable" branches in rock-rtt for now on.

Sylvain


More information about the Rock-dev mailing list