<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Boost Librarie installieren]]></title><description><![CDATA[<p>Ich habe versucht folgenden Code zu compilieren:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;boost/thread/thread.hpp&gt;

using namespace std;

void foo()
{
	for(int i=0; i&lt;10000; i++)
		cout &lt;&lt; &quot;huhu: &quot; &lt;&lt; i &lt;&lt; endl;
}

void bar()
{
	for(int i=0; i&lt;10000; i++)
		cout &lt;&lt; &quot;lala: &quot; &lt;&lt; i &lt;&lt; endl;
}

int main()
{
	boost::thread t1(&amp;foo); // Thread-Objekt t1 erstellen und foo() starten.
	bar(); // t1 läuft gleichzeitig weiter, während bar() aufgerufen wird!
}
</code></pre>
<p>Aber ich bekomme die Fehlermeldung:</p>
<pre><code class="language-cpp">[Linker error] undefined reference to `boost::thread::thread(boost::function0&lt;void, std::allocator&lt;boost::function_base&gt; &gt; const&amp;)'
</code></pre>
<p>Und ich habe auch noch gar keine Librarie hinzugefügt, nur die Headerdateien. Aber wo kriege ich die Libraries her? In der zip von boost waren gar keine .a Dateien dabei, ich versteh das irgentwie nicht.</p>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/130823/boost-librarie-installieren</link><generator>RSS for Node</generator><lastBuildDate>Wed, 26 Aug 2026 17:12:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/130823.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Dec 2005 20:09:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 20:09:53 GMT]]></title><description><![CDATA[<p>Ich habe versucht folgenden Code zu compilieren:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;boost/thread/thread.hpp&gt;

using namespace std;

void foo()
{
	for(int i=0; i&lt;10000; i++)
		cout &lt;&lt; &quot;huhu: &quot; &lt;&lt; i &lt;&lt; endl;
}

void bar()
{
	for(int i=0; i&lt;10000; i++)
		cout &lt;&lt; &quot;lala: &quot; &lt;&lt; i &lt;&lt; endl;
}

int main()
{
	boost::thread t1(&amp;foo); // Thread-Objekt t1 erstellen und foo() starten.
	bar(); // t1 läuft gleichzeitig weiter, während bar() aufgerufen wird!
}
</code></pre>
<p>Aber ich bekomme die Fehlermeldung:</p>
<pre><code class="language-cpp">[Linker error] undefined reference to `boost::thread::thread(boost::function0&lt;void, std::allocator&lt;boost::function_base&gt; &gt; const&amp;)'
</code></pre>
<p>Und ich habe auch noch gar keine Librarie hinzugefügt, nur die Headerdateien. Aber wo kriege ich die Libraries her? In der zip von boost waren gar keine .a Dateien dabei, ich versteh das irgentwie nicht.</p>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/951028</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951028</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Tue, 27 Dec 2005 20:09:53 GMT</pubDate></item><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 21:15:28 GMT]]></title><description><![CDATA[<p>erstmal das ganze Ding mithilfe von jam builden:<br />
<a href="http://www.boost.org/more/getting_started.html" rel="nofollow">http://www.boost.org/more/getting_started.html</a><br />
dann das lib-Verzeichnis zu den Bibliothekspfaden hinzufügen ...</p>
<p>Achtung: Mit dem aktuellen Jam 3.1.11, boost und VC++ 8 hatte ich probleme. Älteres jam hat aber problemlos gefunzt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/951104</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951104</guid><dc:creator><![CDATA[kartoffelsack]]></dc:creator><pubDate>Tue, 27 Dec 2005 21:15:28 GMT</pubDate></item><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 21:19:57 GMT]]></title><description><![CDATA[<p>kartoffelsack schrieb:</p>
<blockquote>
<p>erstmal das ganze Ding mithilfe von jam builden:<br />
<a href="http://www.boost.org/more/getting_started.html" rel="nofollow">http://www.boost.org/more/getting_started.html</a><br />
dann das lib-Verzeichnis zu den Bibliothekspfaden hinzufügen ...</p>
<p>Achtung: Mit dem aktuellen Jam 3.1.11, boost und VC++ 8 hatte ich probleme. Älteres jam hat aber problemlos gefunzt.</p>
</blockquote>
<p>Warum muss man das selber machen? Können die das nicht schon machen? Bzw. kann ich das irgentwo schon fertig herunterladen? Ich hab MinGW(dev-c++)</p>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/951111</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951111</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Tue, 27 Dec 2005 21:19:57 GMT</pubDate></item><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 21:34:06 GMT]]></title><description><![CDATA[<p>joomoo schrieb:</p>
<blockquote>
<p>Können die das nicht schon machen?</p>
</blockquote>
<p>Für jede Compiler-Version für jede Architektur? Da wird man ja alt...<br />
Außerdem wird's mit Debug Info ziemlich riesig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/951120</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951120</guid><dc:creator><![CDATA[Ringding]]></dc:creator><pubDate>Tue, 27 Dec 2005 21:34:06 GMT</pubDate></item><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 21:37:57 GMT]]></title><description><![CDATA[<p>Das ganze ist nacher so 700MB groß, je nach flags auch mehr oder weniger. Jetzt stell dir mal vor für wieviele verschiedenen Konfigurationen die solche rießige Pakete erstellen müssten und vor allem wie soll sich sowas noch nen nicht-dsl-besitzer runterladen (mal von den traffic-kosten abgesehen)?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/951124</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951124</guid><dc:creator><![CDATA[User---]]></dc:creator><pubDate>Tue, 27 Dec 2005 21:37:57 GMT</pubDate></item><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 21:52:32 GMT]]></title><description><![CDATA[<p>User--- schrieb:</p>
<blockquote>
<p>Das ganze ist nacher so 700MB groß, je nach flags auch mehr oder weniger. Jetzt stell dir mal vor für wieviele verschiedenen Konfigurationen die solche rießige Pakete erstellen müssten und vor allem wie soll sich sowas noch nen nicht-dsl-besitzer runterladen (mal von den traffic-kosten abgesehen)?</p>
</blockquote>
<p>Ja stimmt. Da habt ihr recht.</p>
<p>Okay jetzt ist mir das klar, aber leider krieg ich es nicht hin die sachen zu builden.<br />
Ich rufe:</p>
<pre><code class="language-cpp">bjam.exe -sGCC_ROOT_DIRECTORY=C:\Dev-Cpp\bin
</code></pre>
<p>auf und kriege hunderte von fehlermeldung. Am ende habe ich keine einzige lib. Und in den Fehlermeldung sehe ich auch was von vc7, also den compiler von microsoft, aber ich will doch g++ benutzen!? Was muss ich eingeben?</p>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/951129</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951129</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Tue, 27 Dec 2005 21:52:32 GMT</pubDate></item><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 21:56:04 GMT]]></title><description><![CDATA[<p>Hab gerade</p>
<pre><code class="language-cpp">bjam.exe -sGCC_ROOT_DIRECTORY=C:\Dev-Cpp -sTOOLS=gcc
</code></pre>
<p>eingegeben und jetzt ist er am abreiten...</p>
<p>anscheinend kann er sich das bin\ denken.</p>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/951130</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951130</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Tue, 27 Dec 2005 21:56:04 GMT</pubDate></item><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 22:11:22 GMT]]></title><description><![CDATA[<p>bjam &quot;-sGCC_ROOT_DIRECTORY=C:\Dev-Cpp&quot; &quot;-sTOOLS=gcc&quot; install</p>
]]></description><link>https://www.c-plusplus.net/forum/post/951132</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951132</guid><dc:creator><![CDATA[kartoffelsack]]></dc:creator><pubDate>Tue, 27 Dec 2005 22:11:22 GMT</pubDate></item><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 23:37:51 GMT]]></title><description><![CDATA[<p>kartoffelsack schrieb:</p>
<blockquote>
<p>bjam &quot;-sGCC_ROOT_DIRECTORY=C:\Dev-Cpp&quot; &quot;-sTOOLS=gcc&quot; install</p>
</blockquote>
<p>Nicht lieber</p>
<p>bjam &quot;-sMINGW_ROOT_DIRECTORY=C:\Dev-Cpp&quot; &quot;-sTOOLS=mingw&quot; install</p>
<p>???</p>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/951142</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951142</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Tue, 27 Dec 2005 23:37:51 GMT</pubDate></item><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 22:34:30 GMT]]></title><description><![CDATA[<p>wenn du minGW hast ... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/951147</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951147</guid><dc:creator><![CDATA[kartoffelsack]]></dc:creator><pubDate>Tue, 27 Dec 2005 22:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to Boost Librarie installieren on Tue, 27 Dec 2005 22:46:39 GMT]]></title><description><![CDATA[<p>kartoffelsack schrieb:</p>
<blockquote>
<p>wenn du minGW hast ... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
</blockquote>
<p>Dev-Cpp hat doch Mingw oder?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/951157</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/951157</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Tue, 27 Dec 2005 22:46:39 GMT</pubDate></item></channel></rss>