Revision 446,
831 bytes
checked in by lmalek, 10 years ago
(diff) |
Fixed mess in libs
|
Rev | Line | |
---|
[445] | 1 | In order to build SamgarKey for linux, I needed to change the CMakeLists.txt |
---|
| 2 | as follows: |
---|
| 3 | |
---|
| 4 | Firstly change the implicit casts from yarp strings to std::strings in |
---|
| 5 | MainComponent.cpp (this may be a compiler version issue, not sure at present) - |
---|
| 6 | eg: |
---|
| 7 | |
---|
| 8 | - string tempstring10 = mytempconnect.firstport; |
---|
| 9 | + string tempstring10 = (const char *)(mytempconnect.firstport); |
---|
| 10 | |
---|
| 11 | Change the location of the juce includes and libs: |
---|
| 12 | |
---|
| 13 | include_directories (/path/to/juce/bin) |
---|
| 14 | include_directories (/path/to/juce) |
---|
| 15 | link_directories (/path/to/juce/bin) |
---|
| 16 | |
---|
| 17 | Add the include location of freetype and lib location of samgar lib: |
---|
| 18 | |
---|
| 19 | include_directories (/usr/include/freetype2) |
---|
| 20 | link_directories (../../SAMGAR\ LIB/Trunk/) |
---|
| 21 | |
---|
| 22 | Add the following libs to the target link: |
---|
| 23 | |
---|
| 24 | target_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.