3 Multi-purpose C++ development suite, focused on Telco resources (communications, protocols and tools).
4 ANNA is acronym for "Anna is not nothingness anymore", that is to say: "Anna is something to take into
5 account" (like a SONaTINA).
7 ANNA is a complete suite of tools and resources to build proffesional applications with minimum cost.
11 Based on GIT, hosted on http://redmine.teslayout.com
13 You could use my pre-commit specific template if you want to do some basic checkings (i.e.
14 astyle code processing): Execute './scripts/git/use-pre-commit.sh'
19 This is a CMake based building suite.
22 > sudo apt-get install cmake
24 And then generate the makefiles from project root directory:
28 You could specify type of build, 'Debug' or 'Release', for example:
30 > cmake -DCMAKE_BUILD_TYPE=Debug .
31 > cmake -DCMAKE_BUILD_TYPE=Release .
37 ## Change the compilers
39 > cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc
41 > cmake -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_C_COMPILER=/usr/bin/clang
43 ## Some basic ubuntu requirements
46 > sudo apt-get install libssl-dev
49 > sudo apt-get install libxml2-dev
52 > sudo apt-get install libldap2-dev
55 > sudo apt-get install libpcap-dev
58 > sudo apt-get install libmysqlclient-dev
61 https://help.ubuntu.com/community/Oracle%20Instant%20Client
63 After instalation of basic/sqlplus/devel, edit CMakeLists.txt
64 and update oracle includes, for example:
66 include_directories(/usr/include/oracle/<version>/client64/include)
68 ### Oracle-OpenLDAP conflict:
69 as usual, Oracle is doing things very bad. Move the ldap.h from oracle includes, i.e.:
71 > cd /usr/include/oracle/12.1/client64
72 > sudo mv ldap.h ldap.h.orig
74 ### Google Test Framework:
76 > sudo apt-get install libgtest-dev
78 Note that this package only install source files. You have to compile the
79 code yourself to create the necessary library files. These source files
80 should be located at /usr/src/gtest. Browse to this folder and use cmake
81 to compile the library:
84 > sudo cmake CMakeLists.txt
87 Copy or symlink libgtest.a and libgtest_main.a to your /usr/lib folder:
88 > sudo cp *.a /usr/lib
110 To install headers, libraries, and examples, execute:
114 Optionally you could specify another prefix for installation:
116 > cmake -DMY_OWN_INSTALL_PREFIX=$HOME/anna-deploy
121 > cat install_manifest.txt | sudo xargs rm