<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
google for some pkgconfig and CMake tutorials,<br>
they should provide the answers to your questions.<br>
Greetings<br>
Janosch<br>
<br>
Am 18.08.2016 um 10:28 schrieb NUBER, Christof, Dr.:<br>
</div>
<blockquote
cite="mid:7CA73D0626ABB8429FEA65259E7F47D33E8C845C@OTNDEN-MBX01.den.denroot.astrium.corp"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hello,</div>
<div> </div>
<div>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?</div>
<div> </div>
<div>I assume I have to do it on the CMake-file one level
higher, where I also can add c++11-support using</div>
<div> </div>
<div>SET (GCC_CELEVEN_FLAGS “-std=c++11”)</div>
<div>add_definitions(${GCC_CELEVEN_FLAGS})</div>
<div> </div>
<div>But I don’t know how. Whatever I tried, I get errors when
trying to build the executable.</div>
<div> </div>
<div>Thx in advance</div>
<div> </div>
<div> Christof</div>
<div> </div>
<div><font size="2"><span style="font-size:10pt;">-----------------------------------------------</span></font></div>
<div><font size="2"><span style="font-size:10pt;">Christof
Nuber</span></font></div>
<div><font size="2"><span style="font-size:10pt;">Software
System Engineer</span></font></div>
<div><font size="2"><span style="font-size:10pt;">Onboard S/W,
GNC & Robotics</span></font></div>
<div><font size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font size="2"><span style="font-size:10pt;"><b>Airbus
Defence and Space</b></span></font></div>
<div><font size="2"><span style="font-size:10pt;">Airbus-Allee
1</span></font></div>
<div><font size="2"><span style="font-size:10pt;">28199 Bremen</span></font></div>
<div><font size="2"><span style="font-size:10pt;">Germany</span></font></div>
<div><font size="2"><span style="font-size:10pt;"> </span></font></div>
<div style="text-indent:-14.2pt;padding-left:14.2pt;"><font
size="2"><span style="font-size:10pt;">T +49 (0)421
539 4078</span></font></div>
<div style="text-indent:-14.2pt;padding-left:14.2pt;"><font
size="2"><span style="font-size:10pt;">F +49 (0)421
539 28 4078</span></font></div>
<div style="text-indent:-14.2pt;padding-left:14.2pt;"><font
size="2"><span style="font-size:10pt;">E
<a class="moz-txt-link-abbreviated" href="mailto:christof.nuber@airbus.com">christof.nuber@airbus.com</a></span></font></div>
<div><font color="blue"> </font></div>
<div><a moz-do-not-send="true"
href="http://www.airbusdefenceandspace.com"><font size="2"
color="blue"><span style="font-size:10pt;"><u>www.airbusdefenceandspace.com</u></span></font></a><font
size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font size="2"><span style="font-size:10pt;"> </span></font></div>
<div><img src="cid:part2.529FAF59.BD7DDBDA@dfki.de"><font
size="2"><span style="font-size:10pt;"> </span></font></div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
<table>
<tbody>
<tr>
<td bgcolor="#ffffff"><font color="#000000">
<pre>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</pre>
</font></td>
</tr>
</tbody>
</table>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rock-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a>
<a class="moz-txt-link-freetext" href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a>
</pre>
</blockquote>
<br>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
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: <a class="moz-txt-link-abbreviated" href="mailto:jmachowinski@informatik.uni-bremen.de">jmachowinski@informatik.uni-bremen.de</a>
Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a>
</pre>
</body>
</html>