<?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[sdl, opengl und directx machen probleme mit der STL]]></title><description><![CDATA[<p>ich habe folgendes problem: immer wenn ich die STL in verbindung mit der sdl, opengl oder directx verwenden will, meldet der compiler dauernd unaufgelöst externe verweise</p>
<p>beispiel:</p>
<pre><code class="language-cpp">#include &quot;main.h&quot;
#include &lt;vector&gt;
int main(int argc,char *argv[])
{
	GLApp app(1024,768);
	app.initGL();

	SDL_WM_SetCaption(&quot;W3M Engine Light Techdemo&quot;,NULL);
	SDL_Event event;
	std::vector&lt;int&gt; someVector;
	bool running=true;
	Uint8* keys;
	int mousex,mousey;
	while(running)
	{
		app.clear();
		keys=SDL_GetKeyState(0);
		SDL_GetMouseState(&amp;mousex,&amp;mousey);
		while(SDL_PollEvent(&amp;event))
		{
			switch(event.type)
			{
			case SDL_QUIT:
				running=false;
				break;
			}
		}
		app.Update();
	}
	return 0;
}
</code></pre>
<p>bringt beim kompilieren folgende fehlermeldung:<br />
main.obj : error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function __ehhandler<span class="katex"><span class="katex-mathml"><math><semantics><mrow><msub><mo>?</mo><mi>X</mi></msub><mi>l</mi><mi>e</mi><mi>n</mi><mi mathvariant="normal">@</mi><mo>?</mo></mrow><annotation encoding="application/x-tex">?_Xlen@?</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:0.84444em;vertical-align:-0.15em;"></span><span class="base textstyle uncramped"><span class="mclose"><span class="mclose">?</span><span class="vlist"><span style="top:0.15em;margin-right:0.05em;margin-left:0em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord mathit" style="margin-right:0.07847em;">X</span></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span>​</span></span></span><span class="mord mathit" style="margin-right:0.01968em;">l</span><span class="mord mathit">e</span><span class="mord mathit">n</span><span class="mord mathrm">@</span><span class="mclose">?</span></span></span></span>vector@HV?$allocator@H@std@@@std@@IBEXXZ</p>
<p>gibts irgendnen weg um beides (stl und grafiklibs etc) funktionieren zu lassen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/144791/sdl-opengl-und-directx-machen-probleme-mit-der-stl</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Sep 2026 19:47:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/144791.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Apr 2006 18:07:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to sdl, opengl und directx machen probleme mit der STL on Fri, 21 Apr 2006 18:07:24 GMT]]></title><description><![CDATA[<p>ich habe folgendes problem: immer wenn ich die STL in verbindung mit der sdl, opengl oder directx verwenden will, meldet der compiler dauernd unaufgelöst externe verweise</p>
<p>beispiel:</p>
<pre><code class="language-cpp">#include &quot;main.h&quot;
#include &lt;vector&gt;
int main(int argc,char *argv[])
{
	GLApp app(1024,768);
	app.initGL();

	SDL_WM_SetCaption(&quot;W3M Engine Light Techdemo&quot;,NULL);
	SDL_Event event;
	std::vector&lt;int&gt; someVector;
	bool running=true;
	Uint8* keys;
	int mousex,mousey;
	while(running)
	{
		app.clear();
		keys=SDL_GetKeyState(0);
		SDL_GetMouseState(&amp;mousex,&amp;mousey);
		while(SDL_PollEvent(&amp;event))
		{
			switch(event.type)
			{
			case SDL_QUIT:
				running=false;
				break;
			}
		}
		app.Update();
	}
	return 0;
}
</code></pre>
<p>bringt beim kompilieren folgende fehlermeldung:<br />
main.obj : error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function __ehhandler<span class="katex"><span class="katex-mathml"><math><semantics><mrow><msub><mo>?</mo><mi>X</mi></msub><mi>l</mi><mi>e</mi><mi>n</mi><mi mathvariant="normal">@</mi><mo>?</mo></mrow><annotation encoding="application/x-tex">?_Xlen@?</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:0.84444em;vertical-align:-0.15em;"></span><span class="base textstyle uncramped"><span class="mclose"><span class="mclose">?</span><span class="vlist"><span style="top:0.15em;margin-right:0.05em;margin-left:0em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord mathit" style="margin-right:0.07847em;">X</span></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span>​</span></span></span><span class="mord mathit" style="margin-right:0.01968em;">l</span><span class="mord mathit">e</span><span class="mord mathit">n</span><span class="mord mathrm">@</span><span class="mclose">?</span></span></span></span>vector@HV?$allocator@H@std@@@std@@IBEXXZ</p>
<p>gibts irgendnen weg um beides (stl und grafiklibs etc) funktionieren zu lassen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1042165</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1042165</guid><dc:creator><![CDATA[TravisG |-| unlogged]]></dc:creator><pubDate>Fri, 21 Apr 2006 18:07:24 GMT</pubDate></item><item><title><![CDATA[Reply to sdl, opengl und directx machen probleme mit der STL on Sat, 22 Apr 2006 08:22:32 GMT]]></title><description><![CDATA[<p>Klar gibt es das, du mußt nur die richtigen .lib Dateien deiner Grafikbibliothek mit in den Linker reinstecken, damit er deren Funktionen wiederfindet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1042387</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1042387</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Sat, 22 Apr 2006 08:22:32 GMT</pubDate></item><item><title><![CDATA[Reply to sdl, opengl und directx machen probleme mit der STL on Sat, 22 Apr 2006 08:28:01 GMT]]></title><description><![CDATA[<p>Uner g++ geht das so,<br />
g++ `sdl-config --libs` `sdl-config --cflags` main.cpp</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1042389</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1042389</guid><dc:creator><![CDATA[Mario Sandler]]></dc:creator><pubDate>Sat, 22 Apr 2006 08:28:01 GMT</pubDate></item><item><title><![CDATA[Reply to sdl, opengl und directx machen probleme mit der STL on Sat, 22 Apr 2006 11:09:18 GMT]]></title><description><![CDATA[<p>grafiklibs haben eigene libs, die klassen etc der stl enthalten?<br />
also nicht das ihr mich falsch versteht: die libs der grafiklibs sind gelinkt und wenn ich die stl <strong>nicht</strong> verwende, funktioniert alles einwandfrei</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1042467</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1042467</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sat, 22 Apr 2006 11:09:18 GMT</pubDate></item><item><title><![CDATA[Reply to sdl, opengl und directx machen probleme mit der STL on Sat, 22 Apr 2006 11:37:43 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich weiß nicht genau, wo dein Problem ist, aber bei mir klappt es wunderbar die SDL und zum Beispiel std::vector, std::string,... zu benutzen.</p>
<p>chrische</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1042486</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1042486</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sat, 22 Apr 2006 11:37:43 GMT</pubDate></item><item><title><![CDATA[Reply to sdl, opengl und directx machen probleme mit der STL on Sat, 22 Apr 2006 11:50:29 GMT]]></title><description><![CDATA[<p>TravisG schrieb:</p>
<blockquote>
<p>grafiklibs haben eigene libs, die klassen etc der stl enthalten?<br />
also nicht das ihr mich falsch versteht: die libs der grafiklibs sind gelinkt und wenn ich die stl <strong>nicht</strong> verwende, funktioniert alles einwandfrei</p>
</blockquote>
<p>Wohl zufall.<br />
Was den fehler angeht ist es zu 100% wahrscheindlichkeit ein link fehler.</p>
<p>Gg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1042495</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1042495</guid><dc:creator><![CDATA[xGhost]]></dc:creator><pubDate>Sat, 22 Apr 2006 11:50:29 GMT</pubDate></item><item><title><![CDATA[Reply to sdl, opengl und directx machen probleme mit der STL on Sat, 22 Apr 2006 18:36:59 GMT]]></title><description><![CDATA[<p>xGhost schrieb:</p>
<blockquote>
<p>TravisG schrieb:</p>
<blockquote>
<p>grafiklibs haben eigene libs, die klassen etc der stl enthalten?<br />
also nicht das ihr mich falsch versteht: die libs der grafiklibs sind gelinkt und wenn ich die stl <strong>nicht</strong> verwende, funktioniert alles einwandfrei</p>
</blockquote>
<p>Wohl zufall.<br />
Was den fehler angeht ist es zu 100% wahrscheindlichkeit ein link fehler.</p>
<p>Gg</p>
</blockquote>
<p>main.obj : error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1042918</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1042918</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sat, 22 Apr 2006 18:36:59 GMT</pubDate></item></channel></rss>