source: libs/SamgarWRUTed/trunk/README_linux @ 447

Revision 447, 831 bytes checked in by lmalek, 10 years ago (diff)

tree structure reorganization

Line 
1In order to build SamgarKey for linux, I needed to change the CMakeLists.txt
2as follows:
3
4Firstly change the implicit casts from yarp strings to std::strings in
5MainComponent.cpp (this may be a compiler version issue, not sure at present) -
6eg:
7
8- string tempstring10 = mytempconnect.firstport;
9+ string tempstring10 = (const char *)(mytempconnect.firstport);
10
11Change the location of the juce includes and libs:
12
13include_directories     (/path/to/juce/bin)
14include_directories     (/path/to/juce)
15link_directories        (/path/to/juce/bin)
16
17Add the include location of freetype and lib location of samgar lib:
18
19include_directories     (/usr/include/freetype2)
20link_directories        (../../SAMGAR\ LIB/Trunk/)
21
22Add the following libs to the target link:
23
24target_link_libraries   (SamgarKey SamgarLIB X11 asound freetype GL Xinerama)
25
26
27-- dave@fo.am
Note: See TracBrowser for help on using the repository browser.