<?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[Linkerfehler bei VC++ 2005 und OpenGL]]></title><description><![CDATA[<p>Hallo,<br />
ich versuche gerade in Visual C++ 2005 Express OpenGL zu coden. Klappt soweit auch ganz gut, nur leider kommen beim Verknüpfen folgende Fehler:</p>
<blockquote>
<p>1&gt;Verknüpfen...<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__UnregisterClassA@8&quot; in Funktion &quot;&quot;void __cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__DestroyWindow@4&quot; in Funktion &quot;&quot;void __cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__ReleaseDC@8&quot; in Funktion &quot;&quot;void __cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__MessageBoxA@16&quot; in Funktion &quot;&quot;void __cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__ShowCursor@4&quot; in Funktion &quot;&quot;void <strong>cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__ChangeDisplaySettingsA@8&quot; in Funktion &quot;&quot;void <strong>cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__SetFocus@4&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__SetForegroundWindow@4&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__ShowWindow@8&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__ChoosePixelFormat@8&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__GetDC@4&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__CreateWindowExA@48&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__AdjustWindowRectEx@16&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__RegisterClassA@4&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__LoadCursorA@8&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__LoadIconA@8&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__DefWindowProcA@16&quot; in Funktion &quot;&quot;long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)&quot; (?WndProc@@YGJPAUHWND</strong>@@IIJ@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__PostQuitMessage@4&quot; in Funktion &quot;&quot;long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)&quot; (?WndProc@@YGJPAUHWND</strong>@@IIJ@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__SwapBuffers@4&quot; in Funktion &quot;_WinMain@16&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__DispatchMessageA@4&quot; in Funktion &quot;_WinMain@16&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__TranslateMessage@4&quot; in Funktion &quot;_WinMain@16&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__PeekMessageA@20&quot; in Funktion &quot;_WinMain@16&quot;.<br />
1&gt;MSVCRTD.lib(crtexe.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;_main&quot; in Funktion &quot;___tmainCRTStartup&quot;.<br />
1&gt;E:\cpp\opengl\glut_01\Debug\glut_01.exe : fatal error LNK1120: 23 nicht aufgelöste externe Verweise.<br />
1&gt;Das Buildprotokoll wurde unter &quot;file://e:\cpp\opengl\glut_01\glut_01\Debug\BuildLog.htm&quot; gespeichert.</p>
</blockquote>
<p>Ich hatte erst gedacht, dass ich vielleicht falsche Libs eingebunden habe, aber es müssten die Richtigen sein: opengl32.lib glu32.lib und glut32.lib<br />
An Headerdateien werden eingebunden: tchar.h windows.h und gl/glut.h</p>
<p>Woran kann es liegen?</p>
<p>Grüße<br />
Sebastian</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/195480/linkerfehler-bei-vc-2005-und-opengl</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 16:00:44 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/195480.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Oct 2007 07:54:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Linkerfehler bei VC++ 2005 und OpenGL on Thu, 18 Oct 2007 07:54:20 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich versuche gerade in Visual C++ 2005 Express OpenGL zu coden. Klappt soweit auch ganz gut, nur leider kommen beim Verknüpfen folgende Fehler:</p>
<blockquote>
<p>1&gt;Verknüpfen...<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__UnregisterClassA@8&quot; in Funktion &quot;&quot;void __cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__DestroyWindow@4&quot; in Funktion &quot;&quot;void __cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__ReleaseDC@8&quot; in Funktion &quot;&quot;void __cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__MessageBoxA@16&quot; in Funktion &quot;&quot;void __cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__ShowCursor@4&quot; in Funktion &quot;&quot;void <strong>cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__ChangeDisplaySettingsA@8&quot; in Funktion &quot;&quot;void <strong>cdecl KillGLWindow(void)&quot; (?KillGLWindow@@YAXXZ)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__SetFocus@4&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__SetForegroundWindow@4&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__ShowWindow@8&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__ChoosePixelFormat@8&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__GetDC@4&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__CreateWindowExA@48&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__AdjustWindowRectEx@16&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__RegisterClassA@4&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__LoadCursorA@8&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__LoadIconA@8&quot; in Funktion &quot;&quot;bool __cdecl CreateGLWindow(char *,int,int,int,bool)&quot; (?CreateGLWindow@@YA_NPADHHH_N@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__DefWindowProcA@16&quot; in Funktion &quot;&quot;long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)&quot; (?WndProc@@YGJPAUHWND</strong>@@IIJ@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__PostQuitMessage@4&quot; in Funktion &quot;&quot;long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)&quot; (?WndProc@@YGJPAUHWND</strong>@@IIJ@Z)&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__SwapBuffers@4&quot; in Funktion &quot;_WinMain@16&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__DispatchMessageA@4&quot; in Funktion &quot;_WinMain@16&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__TranslateMessage@4&quot; in Funktion &quot;_WinMain@16&quot;.<br />
1&gt;main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;__imp__PeekMessageA@20&quot; in Funktion &quot;_WinMain@16&quot;.<br />
1&gt;MSVCRTD.lib(crtexe.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;_main&quot; in Funktion &quot;___tmainCRTStartup&quot;.<br />
1&gt;E:\cpp\opengl\glut_01\Debug\glut_01.exe : fatal error LNK1120: 23 nicht aufgelöste externe Verweise.<br />
1&gt;Das Buildprotokoll wurde unter &quot;file://e:\cpp\opengl\glut_01\glut_01\Debug\BuildLog.htm&quot; gespeichert.</p>
</blockquote>
<p>Ich hatte erst gedacht, dass ich vielleicht falsche Libs eingebunden habe, aber es müssten die Richtigen sein: opengl32.lib glu32.lib und glut32.lib<br />
An Headerdateien werden eingebunden: tchar.h windows.h und gl/glut.h</p>
<p>Woran kann es liegen?</p>
<p>Grüße<br />
Sebastian</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387641</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387641</guid><dc:creator><![CDATA[Sebix]]></dc:creator><pubDate>Thu, 18 Oct 2007 07:54:20 GMT</pubDate></item><item><title><![CDATA[Reply to Linkerfehler bei VC++ 2005 und OpenGL on Thu, 18 Oct 2007 09:14:07 GMT]]></title><description><![CDATA[<p>Problem gelöst: Es fehlten die user32.lib und die gdi32.lib. Außerdem war bei Subsystem &quot;Console Application&quot; eingestellt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387702</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387702</guid><dc:creator><![CDATA[Sebix]]></dc:creator><pubDate>Thu, 18 Oct 2007 09:14:07 GMT</pubDate></item></channel></rss>