Difference between revisions of "ACE4YARP"

From Wiki for iCub and Friends
Jump to: navigation, search
Line 11: Line 11:
 
That's it!  You should see lots of _ace files compiling.
 
That's it!  You should see lots of _ace files compiling.
  
-- ALTERNATE METHOD --
+
== ALTERNATE METHOD ==
 
There is a "fetch-ace.sh" script to assemble ACE4YARP for you.  On Linux, here's how a complete YARP build can be made from scratch:
 
There is a "fetch-ace.sh" script to assemble ACE4YARP for you.  On Linux, here's how a complete YARP build can be made from scratch:
  

Revision as of 20:53, 11 January 2011

Sometimes people have trouble getting ACE compiled. If you are using Linux or Windows, an alternative is to download a specially prepared "ACE4YARP" package that you can compile with CMake and that contains just the part of ACE needed for YARP.

  • You can download a version of ACE configured specially for YARP (and stripped of everything YARP does not use) here:
 http://eris.liralab.it/download/yarp/
  • (take the most recent ace4yarp-5.6.*.tar.gz)
  • You can unpack that, overlay the directories on the YARP source tree, and then do the following in the root source directory:
 rm CMakeCache.txt
 cmake -DBUILTIN_ACE=TRUE .  
  • (modify the cmake command appropriately for out-of-source builds)

That's it! You should see lots of _ace files compiling.

ALTERNATE METHOD

There is a "fetch-ace.sh" script to assemble ACE4YARP for you. On Linux, here's how a complete YARP build can be made from scratch:

 sudo apt-get install cmake subversion
 svn co https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2 yarp2
 cd yarp2; mkdir build; cd build
 ../scripts/fetch-ace.sh
 cmake ..
 make

This will compile YARP and ACE together. This will work on Windows too, you'll just need to translate the commands.