<?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[Hoffe bin hier richtig]]></title><description><![CDATA[<p>Hallo erstmal alle,<br />
eigentlich wäre das problem mehr Opengl, aber es ist ein Compilerproblem darum frage ich mal hier, sorry falls ich falsch bin:<br />
Das prob ist einfach: hab mal ein Hallo World für Opengl programmiert und kompiliert, soweit so gut, doch dann passierte folgendes:</p>
<p>C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x17):hellow</sub>1.cpp: undefined reference to <code>__glutInitWithExit' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x37):hellow~1.cpp: undefined reference to</code>__glutCreateWindowWithExit'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x5f):hellow</sub>1.cpp: undefined reference to <code>__glutCreateMenuWithExit' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x8d):hellow~1.cpp: undefined reference to</code>_imp__glClear'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0xaa):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glColor3f' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0xba):hellow~1.cpp: undefined reference to</code>_imp__glBegin'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0xe2):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glVertex3f' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x10a):hellow~1.cpp: undefined reference to</code>_imp__glVertex3f'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x132):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glVertex3f' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x15a):hellow~1.cpp: undefined reference to</code>_imp__glVertex3f'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x165):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glEnd' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x16d):hellow~1.cpp: undefined reference to</code>_imp__glFlush'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x199):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glClearColor' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x1ac):hellow~1.cpp: undefined reference to</code>_imp__glMatrixMode'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x1b7):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glLoadIdentity' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x1e5):hellow~1.cpp: undefined reference to</code>_imp__glOrtho'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x224):hellow</sub>1.cpp: undefined reference to <code>glutInitDisplayMode' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x239):hellow~1.cpp: undefined reference to</code>glutInitWindowSize'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x248):hellow</sub>1.cpp: undefined reference to <code>glutInitWindowPosition' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x26d):hellow~1.cpp: undefined reference to</code>glutDisplayFunc'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x275):hellow</sub>1.cpp: undefined reference to `glutMainLoop'</p>
<p>Muss sagen, dass ich kein Plan habe, was da falsch ist, Bibiliotheken etc hab ich eigentlich alle eingefügt etc...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/127947/hoffe-bin-hier-richtig</link><generator>RSS for Node</generator><lastBuildDate>Tue, 25 Aug 2026 07:24:26 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/127947.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Nov 2005 20:41:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hoffe bin hier richtig on Mon, 28 Nov 2005 20:41:33 GMT]]></title><description><![CDATA[<p>Hallo erstmal alle,<br />
eigentlich wäre das problem mehr Opengl, aber es ist ein Compilerproblem darum frage ich mal hier, sorry falls ich falsch bin:<br />
Das prob ist einfach: hab mal ein Hallo World für Opengl programmiert und kompiliert, soweit so gut, doch dann passierte folgendes:</p>
<p>C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x17):hellow</sub>1.cpp: undefined reference to <code>__glutInitWithExit' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x37):hellow~1.cpp: undefined reference to</code>__glutCreateWindowWithExit'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x5f):hellow</sub>1.cpp: undefined reference to <code>__glutCreateMenuWithExit' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x8d):hellow~1.cpp: undefined reference to</code>_imp__glClear'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0xaa):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glColor3f' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0xba):hellow~1.cpp: undefined reference to</code>_imp__glBegin'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0xe2):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glVertex3f' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x10a):hellow~1.cpp: undefined reference to</code>_imp__glVertex3f'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x132):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glVertex3f' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x15a):hellow~1.cpp: undefined reference to</code>_imp__glVertex3f'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x165):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glEnd' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x16d):hellow~1.cpp: undefined reference to</code>_imp__glFlush'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x199):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glClearColor' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x1ac):hellow~1.cpp: undefined reference to</code>_imp__glMatrixMode'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x1b7):hellow</sub>1.cpp: undefined reference to <code>\_imp\_\_glLoadIdentity' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x1e5):hellow~1.cpp: undefined reference to</code>_imp__glOrtho'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x224):hellow</sub>1.cpp: undefined reference to <code>glutInitDisplayMode' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x239):hellow~1.cpp: undefined reference to</code>glutInitWindowSize'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x248):hellow</sub>1.cpp: undefined reference to <code>glutInitWindowPosition' C:\\DOKUME~1\\MLLER~1\\LOKALE~1\\Temp\\cc6haaaa.o(.text+0x26d):hellow~1.cpp: undefined reference to</code>glutDisplayFunc'<br />
C:\DOKUME<sub>1\MLLER</sub>1\LOKALE<sub>1\Temp\cc6haaaa.o(.text+0x275):hellow</sub>1.cpp: undefined reference to `glutMainLoop'</p>
<p>Muss sagen, dass ich kein Plan habe, was da falsch ist, Bibiliotheken etc hab ich eigentlich alle eingefügt etc...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/929269</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/929269</guid><dc:creator><![CDATA[DrMueller]]></dc:creator><pubDate>Mon, 28 Nov 2005 20:41:33 GMT</pubDate></item><item><title><![CDATA[Reply to Hoffe bin hier richtig on Mon, 28 Nov 2005 21:03:46 GMT]]></title><description><![CDATA[<p>ich vermute, dass die - bzw. eine der - OpenGL-Bibliothek(en) fehlt.<br />
Kommen die Fehlermeldungen beim Compilieren oder beim Linken?</p>
<p>Gruß<br />
Werner</p>
]]></description><link>https://www.c-plusplus.net/forum/post/929290</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/929290</guid><dc:creator><![CDATA[Werner Salomon]]></dc:creator><pubDate>Mon, 28 Nov 2005 21:03:46 GMT</pubDate></item><item><title><![CDATA[Reply to Hoffe bin hier richtig on Mon, 28 Nov 2005 21:18:01 GMT]]></title><description><![CDATA[<p>Werner Salomon schrieb:</p>
<blockquote>
<p>ich vermute, dass die - bzw. eine der - OpenGL-Bibliothek(en) fehlt.<br />
Kommen die Fehlermeldungen beim Compilieren oder beim Linken?</p>
<p>Gruß<br />
Werner</p>
</blockquote>
<p>sind alles linker fehler.</p>
<p>du musst die passenden libraries noch dazulinken, in der opengl doku steht sicherr, welche da sind <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>ps: ich bin der meinung, dass man erst mit graphischen sachen anfangen sollte, wenn man die sprache beherrscht, und dazu gehört wohl auch das linken^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/929298</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/929298</guid><dc:creator><![CDATA[otze]]></dc:creator><pubDate>Mon, 28 Nov 2005 21:18:01 GMT</pubDate></item><item><title><![CDATA[Reply to Hoffe bin hier richtig on Tue, 29 Nov 2005 05:22:24 GMT]]></title><description><![CDATA[<p>Das sieht mir nach gcc aus. Häng die Option -lglut an den Compileraufruf an, dann linkt er libglut dazu, da müssten die Funktionen drin sein. Wenn das nicht hinhaut, versuch -lgl -lglu -lglut, aber die anderen müssten eigentlich implizit mitgelinkt werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/929370</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/929370</guid><dc:creator><![CDATA[0xdeadbeef]]></dc:creator><pubDate>Tue, 29 Nov 2005 05:22:24 GMT</pubDate></item><item><title><![CDATA[Reply to Hoffe bin hier richtig on Tue, 29 Nov 2005 13:31:20 GMT]]></title><description><![CDATA[<p><a href="http://nehe.gamedev.net" rel="nofollow">nehe.gamedev.net</a></p>
<p>In den ersten Tutorials steht irgendwo, welche Libs du brauchst</p>
]]></description><link>https://www.c-plusplus.net/forum/post/929690</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/929690</guid><dc:creator><![CDATA[xindon]]></dc:creator><pubDate>Tue, 29 Nov 2005 13:31:20 GMT</pubDate></item></channel></rss>