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

NUBER, Christof, Dr. christof.nuber at airbus.com
Thu Aug 18 10:28:39 CEST 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20160818/9cd1ea42/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture (Device Independent Bitmap) 1.jpg
Type: image/jpeg
Size: 3275 bytes
Desc: Picture (Device Independent Bitmap) 1.jpg
Url : http://www.dfki.de/pipermail/rock-dev/attachments/20160818/9cd1ea42/attachment.jpg 


More information about the Rock-dev mailing list