Ace Effects Show:
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/89/1B/wKiom1gHgWnwaNJcAAA44a-OQ7s198.png "title=" Qq20161019222059.png "alt=" Wkiom1ghgwnwanjcaaa44a-oq7s198.png "/>
go to official website : http://download.dre.vanderbilt.edu/
Download unzip
[Email protected]:~$ mkdir ace[email protected]:~$ cd ace/[email protected]:~/ace$ wgethttp:// Download.dre.vanderbilt.edu/previous_versions/ace+tao-6.4.0.tar.gz[email protected]:~/ace$ md5sum ACE+ tao-6.4.0.tar.gz 056dcb226025f57d00aa6f79b3056d42 ace+tao-6.4.0.tar.gz[email protected]:~/ace$ Tar XF ACE+ tao-6.4.0.tar.gz [email protected]:~/ace$ cd ace_wrappers/[email protected]:~/ace/ace_wrappers$ pwd/home/chunli/ACE/ Ace_wrappers
Set Environment variables:
[Email protected]:~$ vim ~/.BASHRC export Ace_root=/home/chunli/ace/ace_wrappersexport ld_library_path=/usr/local/ Lib: $ACE _root/lib: $LD _library_path[email protected]:~$. ~/.bashrc
Set up Make
[Email protected]:~/ace/ace_wrappers$ vim $ACE _root/ace/config.h#ifndef _config_h_#define _config_h_#include "ace/ Config-linux.h "#endif [email protected]:~/ace/ace_wrappers$ vim $ACE _root/include/makeinclude/platform_macros. Gnuinclude $ (ace_root)/include/makeinclude/platform_linux. Gnu
Compile
[Email protected]:~/ace/ace_wrappers$ make (takes about 20 minutes) [Email protected]:~/ace/ace_wrappers$ echo $?0
Installation
[Email protected]:~$ sudo-s[email protected]:~# CD ace/ace_wrappers/[email protected]:~/ace/ace_wrappers# Export Install_prefix=/usr/local (Perform this line if make install error) [email protected]:~/ace/ace_wrappers# make install[email protected ]:~/ace/ace_wrappers# Echo $?0
Test ace
[Email protected]:/tmp$ cat helloworld.cpp #include "ace/log_msg.h" int ace_tmain (int argc, char* argv[]) {Ace_debug (lm_ DEBUG, Ace_text ("Hello world!\n"))); return 0;} [Email protected]:/tmp$ g++-wall helloworld.cpp-lace &&/a.out Hello world! [Email protected]:/tmp$
This article from "Soul Bucket Luo" blog, declined reprint!
Linux Platform Installation Ace Library