[Rock-dev] Building Non-Rock-Executables using rock-libraries

Janosch Machowinski Janosch.Machowinski at dfki.de
Fri Aug 19 09:35:20 CEST 2016


Hi,
google for some pkgconfig and CMake tutorials,
they should provide the answers to your questions.
Greetings
     Janosch

Am 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 using
> SET (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 christof.nuber at airbus.com
> _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
> Rock-dev at dfki.de
> 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, Germany
  
  Zentrale: +49 421 178 45-6611
  
  Besuchsadresse der Nebengeschäftstelle:
  Robert-Hooke-Straße 5
  28359 Bremen, Germany
  
  Tel.:    +49 421 178 45-6614
  Empfang: +49 421 178 45-6600
  Fax:     +49 421 178 45-4150
  E-Mail:  jmachowinski at informatik.uni-bremen.de

  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20160819/38da1e7e/attachment-0001.htm 
-------------- nächster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname   : nicht verf?gbar
Dateityp    : image/jpeg
Dateigr??e  : 3275 bytes
Beschreibung: nicht verf?gbar
URL         : http://www.dfki.de/pipermail/rock-dev/attachments/20160819/38da1e7e/attachment-0001.jpeg 


More information about the Rock-dev mailing list