[Rock-dev] Build fails with Unknown CMake command "orocos_generate_package"
Peter Soetens
peter at thesourceworks.com
Fri Feb 4 13:40:21 CET 2011
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....'
Peter
More information about the Rock-dev
mailing list