<?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[unresolved external bei MKL von INTEL]]></title><description><![CDATA[<p>hallo,</p>
<p>ich versuche gerade die MKL von INTEL zuimplementieren und wollte es erstmal ganz langsam angehen</p>
<p>cpp:</p>
<pre><code>#include &lt;iostream&gt;
#include &quot;mkl_service.h&quot;

using namespace std;

int main(void)
{

	cout&lt;&lt; getcpufrequency();
	cin.get();
	return 0;
}
</code></pre>
<p>in der header mkl_service.h steht einfach nur:</p>
<pre><code>double getcpufrequency();
</code></pre>
<p>das Problem:<br />
&quot;unresolved external symbol _getcpufrequency referenced in function _main&quot;</p>
<p>ich habe gerade keinen Plan wie ich diesen Fehler beheben kann. Aber um das mal klarzustellen es geht mir nicht um die Funktion getcpufrequency, das passiert bei allen UP´s die ich von dort aufrufe.</p>
<p>danke schonmal</p>
<p>Philipp</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/212417/unresolved-external-bei-mkl-von-intel</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 20:25:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/212417.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 May 2008 09:24:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 09:24:31 GMT]]></title><description><![CDATA[<p>hallo,</p>
<p>ich versuche gerade die MKL von INTEL zuimplementieren und wollte es erstmal ganz langsam angehen</p>
<p>cpp:</p>
<pre><code>#include &lt;iostream&gt;
#include &quot;mkl_service.h&quot;

using namespace std;

int main(void)
{

	cout&lt;&lt; getcpufrequency();
	cin.get();
	return 0;
}
</code></pre>
<p>in der header mkl_service.h steht einfach nur:</p>
<pre><code>double getcpufrequency();
</code></pre>
<p>das Problem:<br />
&quot;unresolved external symbol _getcpufrequency referenced in function _main&quot;</p>
<p>ich habe gerade keinen Plan wie ich diesen Fehler beheben kann. Aber um das mal klarzustellen es geht mir nicht um die Funktion getcpufrequency, das passiert bei allen UP´s die ich von dort aufrufe.</p>
<p>danke schonmal</p>
<p>Philipp</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504035</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504035</guid><dc:creator><![CDATA[shorie77]]></dc:creator><pubDate>Tue, 06 May 2008 09:24:31 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 09:42:19 GMT]]></title><description><![CDATA[<p>Was willst du mit einer Funktionsdeklaration alleine??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504047</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504047</guid><dc:creator><![CDATA[ceplusplus@loggedoff]]></dc:creator><pubDate>Tue, 06 May 2008 09:42:19 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 09:51:55 GMT]]></title><description><![CDATA[<p>wenn du das im header meinst...</p>
<p>da steht gar nicht mehr (das ist von INTEL geschrieben)</p>
<p>hier mal ein paar Zeilen davor und dahinter (ich verstehe bei denen nicht den Aufbau):</p>
<pre><code>...
void  MKL_free(void *ptr);                /* Free the memory allocated by MKL_malloc() */

void   getcpuclocks(unsigned MKL_INT64 *); /* gets CPU clocks */
double getcpufrequency(); /* get CPU frequency in GHz */

void MKL_Set_Num_Threads(int nth);
int  MKL_Get_Max_Threads(void);
...
</code></pre>
<p>ich weiß auch nicht woher er eigentlich die freuquency nehmen soll...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504058</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504058</guid><dc:creator><![CDATA[shorie77]]></dc:creator><pubDate>Tue, 06 May 2008 09:51:55 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 10:12:50 GMT]]></title><description><![CDATA[<p>Der Header allein reicht nicht. Du musst schon die Library zu deinem Programm dazulinken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504067</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504067</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Tue, 06 May 2008 10:12:50 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 10:44:40 GMT]]></title><description><![CDATA[<p>ähh...ich bin nicht so ein profi...wo und wie linke ich die denn dazu?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504090</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504090</guid><dc:creator><![CDATA[shorie77]]></dc:creator><pubDate>Tue, 06 May 2008 10:44:40 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 10:48:30 GMT]]></title><description><![CDATA[<p>Das hängt nicht unwesentlich von der Library-Version und dem Betriebssystem ab. Aber in der Dokumentation solltest du eine Anleitung finden.</p>
<p>Die hier ist beispielsweise für Linux:<br />
<a href="http://support.intel.com/support/performancetools/libraries/mkl/linux/sb/CS-028423.htm" rel="nofollow">http://support.intel.com/support/performancetools/libraries/mkl/linux/sb/CS-028423.htm</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504095</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504095</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Tue, 06 May 2008 10:48:30 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 10:51:24 GMT]]></title><description><![CDATA[<p>Das ist eigentlich ziemlich grundlegend.<br />
Weißt du denn, wie die lib heißt?</p>
<p>Schreib dann einfach...</p>
<p>#pragma comment(lib, &quot;deine.lib&quot;)</p>
<p>...vor deinen Code oder guck in die Projekteinstellungen und füge die Lib der Linker-Befehlszeile hinzu.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504099</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504099</guid><dc:creator><![CDATA[ceplusplus@loggedoff]]></dc:creator><pubDate>Tue, 06 May 2008 10:51:24 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 10:59:46 GMT]]></title><description><![CDATA[<p>also in den vielen vielen verzeichnissen gibt es ne menge lib´s</p>
<p>ich habe auch schon nach anleitung die sachen eingebunden<br />
dh.<br />
ich benutze VS03 und habe dann unter tools-&gt; optionen den pfad der library files, executable files und include files angebunden...</p>
<p>das müsste doch reichen, oder nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504108</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504108</guid><dc:creator><![CDATA[shorie77]]></dc:creator><pubDate>Tue, 06 May 2008 10:59:46 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 11:01:54 GMT]]></title><description><![CDATA[<p>shorie77 schrieb:</p>
<blockquote>
<p>ich benutze VS03 und habe dann unter tools-&gt; optionen den pfad der library files, executable files und include files angebunden...</p>
<p>das müsste doch reichen, oder nicht?</p>
</blockquote>
<p>Nein, das reicht nicht. Und wenn du nicht weißt, welche der vielen Libs du linken musst, hilft wohl nur RTFM.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504110</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504110</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Tue, 06 May 2008 11:01:54 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 11:46:30 GMT]]></title><description><![CDATA[<p>lol, ok...habe schon recht viel gelesen. habe mal nen paar lib´s getestet aber so richtig bringt das nix. in der anleitung stehen 2 drin, die umbedingt gelinked werden müssen (habe ich).</p>
<p>was ist denn ein typische Fehler bei &quot;unresolved external symbol...&quot;????</p>
<p>danke bisher</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504148</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504148</guid><dc:creator><![CDATA[shorie77]]></dc:creator><pubDate>Tue, 06 May 2008 11:46:30 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external bei MKL von INTEL on Tue, 06 May 2008 11:48:24 GMT]]></title><description><![CDATA[<p>Falsche lib</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504149</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504149</guid><dc:creator><![CDATA[ceplusplus@loggedoff]]></dc:creator><pubDate>Tue, 06 May 2008 11:48:24 GMT</pubDate></item></channel></rss>