Difference between revisions of "Compiling ACE"

From Wiki for iCub and Friends
Jump to navigation Jump to search
Line 6: Line 6:
  ln -s platform_linux.GNU platform_macros.GNU
  ln -s platform_linux.GNU platform_macros.GNU


See also:  
Run make from $ACE_ROOT/ace (e.g. make debug=0 for no debug information). When done, you should see the .so libraries in $ACE_ROOT/lib.
 
Note: these instructions are derived from:  
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#unix
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#unix


Important: follow the "Using the Traditional ACE/GNU Configuration" method. The other methods will compile successful, but the library you get might not work properly with YARP.
'''Important''': follow the "Using the Traditional ACE/GNU Configuration" method. The other methods will compile successful, but the library you get might not work properly with YARP.


'''Don't forget to set up the environment veriable ACE_ROOT''' to point to where ACE was unpacked (e.g. ACE_wrappers). This will be used later on by (CMake) to find the ACE library.
'''Don't forget to set up the environment veriable ACE_ROOT''' to point to where ACE was unpacked (e.g. ACE_wrappers). This will be used later on by (CMake) to find the ACE library.
Run make from $ACE_ROOT/ace (e.g. make debug=0 for no debug information). When done, you should see the .so libraries in $ACE_ROOT/lib.

Revision as of 11:21, 23 July 2009

Installing ACE, Linux

Download ACE (recommended version 5.5.5) from (full version!): http://download.dre.vanderbilt.edu/, then unpack it and prepare for the compilation. Build a symlink to config.h as (config.h is in ACE_wrappers/ace):

ln -s config-linux.h config.h

and (which can be found in ACE_wrappers/include/makeinclude):

ln -s platform_linux.GNU platform_macros.GNU

Run make from $ACE_ROOT/ace (e.g. make debug=0 for no debug information). When done, you should see the .so libraries in $ACE_ROOT/lib.

Note: these instructions are derived from: http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#unix

Important: follow the "Using the Traditional ACE/GNU Configuration" method. The other methods will compile successful, but the library you get might not work properly with YARP.

Don't forget to set up the environment veriable ACE_ROOT to point to where ACE was unpacked (e.g. ACE_wrappers). This will be used later on by (CMake) to find the ACE library.