Hi,
google for some pkgconfig and CMake tutorials,
they should provide the answers to your questions.
Greetings
JanoschAm 18.08.2016 um 10:28 schrieb NUBER, Christof, Dr.:
Hello,I am trying to ‚abuse‘ the framework to build Executables (also for rock-independent testing of libraries) that depend on libraries (created by me) built by the framework. For this, I used rock-create-lib, and commented the rock_library-lines in the CMake-File in src out, having only rock_executable left in the file. Unfortunately, I need libphtread.so for my executable. What do I have to do to tell the framework to link my executable against libpthread.so? I assume I have to do it on the CMake-file one level higher, where I also can add c++11-support usingSET (GCC_CELEVEN_FLAGS “-std=c++11”) add_definitions(${GCC_CELEVEN_FLAGS})But I don’t know how. Whatever I tried, I get errors when trying to build the executable.Thx in advance Christof ----------------------------------------------- Christof Nuber Software System Engineer Onboard S/W, GNC & Robotics *Airbus Defence and Space* Airbus-Allee 1 28199 Bremen Germany T +49 (0)421 539 4078 F +49 (0)421 539 28 4078 E [email protected] _www.airbusdefenceandspace.com_ <http://www.airbusdefenceandspace.com> This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Astrium and Airbus Group companies disclaim any and all liability if this email transmission was virus corrupted, altered or falsified. --------------------------------------------------------- Airbus DS GmbH Vorsitzender des Aufsichtsrates: Bernhard Gerwert Geschäftsführung: Evert Dudok (Vorsitzender), Dr. Lars Immisch, Dr. Michael Menking, Dr. Johannes von Thadden Sitz der Gesellschaft: München - Registergericht: Amtsgericht München, HRB Nr. 107 647 Ust. Ident. Nr. /VAT reg. no. DE167015356 _______________________________________________ Rock-dev mailing list [email protected] http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
-- Dipl. Inf. Janosch Machowinski SAR- & Sicherheitsrobotik Universität Bremen FB 3 - Mathematik und Informatik AG Robotik Robert-Hooke-Straße 1 28359 Bremen, GermanyZentrale: +49 421 178 45-6611 Besuchsadresse der Nebengeschäftstelle:
Robert-Hooke-Straße 5 28359 Bremen, GermanyTel.: +49 421 178 45-6614
Empfang: +49 421 178 45-6600 Fax: +49 421 178 45-4150 E-Mail: [email protected] Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
_______________________________________________ Rock-dev mailing list [email protected] http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
