From: Tobias K. <t....@ca...> - 2008-11-11 13:42:17
|
Firstly, you have to add your new component to the CMakeLists.txt in orca/src/components (i.e. ADD_SUBDIRECTORY( testsend) ). Secondly, you have to execute cmake on the top level directory. If you do an in-source built: $ cd /home/andreas/orca $ cmake . If you do an out-of source built: $ cd /home/andreas/orca/build $ cmake .. Also, consider setting up your own satellite project instead as described here: http://orca-robotics.sourceforge.net/orca/orca_doc_start_code.html Cheers, Tobias On Wed, 12 Nov 2008 12:06:54 am Andreas Vogt wrote: > I want to create a new component within oraca/src/component. All i did is > to copy the brick modul and renamed it in testsend. then I typed: cmake . > and this was the output: > CMake Error: Error in cmake code at > /home/andreas/orca/src/components/testsend/CMakeLists.txt:1: > Unknown CMake command "ORCA_SET_COMPONENT_NAME". > -- Configuring done > > > Hi Andreas, > > > > could you please give us some more details? How did you try to generate > > your new component? Did you use an Orca satellite project or did you > > create a new component directory within orca/src/components? Can you also > > send your full cmake output please? > > > > Yours, Tobias > > > > On Tue, 11 Nov 2008 10:43:35 pm Andreas Vogt wrote: > > > Hello, > > > if I try to cmake a new very simple component with "cmake ." i recieve > > > the massage: > > > Unknown CMake command "ORCA_SET_COMPONENT_NAME". > > > > > > What can I do? Do I need to configure my PAth or something? > > > > > > ----------------------------------------------------------------------- > > >-- This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge Build the coolest Linux based applications with Moblin SDK & > > > win great prizes Grand prize is a trip for two to an Open Source event > > > anywhere in the world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Orca-robotics-users mailing list > > > Orc...@li... > > > https://lists.sourceforge.net/lists/listinfo/orca-robotics-users > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Orca-robotics-users mailing list > Orc...@li... > https://lists.sourceforge.net/lists/listinfo/orca-robotics-users -- -------------------------------------------------------------- Tobias Kaupp Research Fellow, PhD The Australian Centre for Field Robotics The Rose St Building, J04 The University of Sydney, NSW 2006 Australia Phone: +61 2 9036 7057 Fax: +61 2 9351 7474 Email: t....@ca... Web: http://www.cas.edu.au/content.php/232.html?personid=45 -------------------------------------------------------------- |