<?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[[SOLVED] Simple Application not building: Cannot find -lGL]]></title><description><![CDATA[<p dir="auto">I'm new to Qt and currently using the Qt Creator on Linux Mint 15. Unfortunately I'm unable to open my "Hello World" application due to the following error:</p>
<p dir="auto"><em>/usr/bin/ld: cannot find -lGL<br />
collect2: error: ld returned 1 exit status</em></p>
<p dir="auto">I've checked the Build &amp; Run options and a kit is selected. There's no error there, but I can't run the program due to this apparently missing file or library. I tried googling this question first but no luck. I've also got the gcc gnu c and g++ gnu compilers installed.</p>
<p dir="auto">Would anybody know what I'm missing here? Thanks in advanced.</p>
]]></description><link>https://forum.qt.io/topic/33866/solved-simple-application-not-building-cannot-find-lgl</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 08:33:19 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/33866.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Nov 2013 10:24:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] Simple Application not building: Cannot find -lGL on Mon, 04 Nov 2013 21:46:07 GMT]]></title><description><![CDATA[<p dir="auto">Oops sorry :) Okay done!</p>
]]></description><link>https://forum.qt.io/post/202847</link><guid isPermaLink="true">https://forum.qt.io/post/202847</guid><dc:creator><![CDATA[polyform]]></dc:creator><pubDate>Mon, 04 Nov 2013 21:46:07 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Simple Application not building: Cannot find -lGL on Mon, 04 Nov 2013 21:30:29 GMT]]></title><description><![CDATA[<p dir="auto">Just edit your first post and update the thread title, that's all</p>
]]></description><link>https://forum.qt.io/post/202845</link><guid isPermaLink="true">https://forum.qt.io/post/202845</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 04 Nov 2013 21:30:29 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Simple Application not building: Cannot find -lGL on Mon, 04 Nov 2013 21:20:32 GMT]]></title><description><![CDATA[<p dir="auto">Sure, although I can't find where to change it. I did a search and according to other users, it's a mod only option. Let me know  and I'll be happy to change it though. I'll stay subscribed to this thread in the meantime.</p>
<p dir="auto">Source:<br />
<a href="http://www.qtcentre.org/threads/31475-Mark-Thread-as-SOLVED" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.qtcentre.org/threads/31475-Mark-Thread-as-SOLVED</a></p>
<p dir="auto">[quote author="SGaist" date="1383594678"]You're welcome !</p>
<p dir="auto">Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)[/quote]</p>
]]></description><link>https://forum.qt.io/post/202842</link><guid isPermaLink="true">https://forum.qt.io/post/202842</guid><dc:creator><![CDATA[polyform]]></dc:creator><pubDate>Mon, 04 Nov 2013 21:20:32 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Simple Application not building: Cannot find -lGL on Mon, 04 Nov 2013 19:51:18 GMT]]></title><description><![CDATA[<p dir="auto">You're welcome !</p>
<p dir="auto">Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)</p>
]]></description><link>https://forum.qt.io/post/202830</link><guid isPermaLink="true">https://forum.qt.io/post/202830</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 04 Nov 2013 19:51:18 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Simple Application not building: Cannot find -lGL on Mon, 04 Nov 2013 16:34:40 GMT]]></title><description><![CDATA[<p dir="auto">Gaist, installing the OpenGL packages worked like a charm, and I'll keep in mind what you said about the minus sign. Thanks again.</p>
<p dir="auto">For those of you searching, I installed the packages like so:</p>
<p dir="auto">apt-get install freeglut3-dev</p>
]]></description><link>https://forum.qt.io/post/202803</link><guid isPermaLink="true">https://forum.qt.io/post/202803</guid><dc:creator><![CDATA[polyform]]></dc:creator><pubDate>Mon, 04 Nov 2013 16:34:40 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Simple Application not building: Cannot find -lGL on Mon, 04 Nov 2013 10:54:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">Don't search for "cannot find -lgl" but for "cannot find lgl" the minus sign negates the following word from the search pattern.</p>
<p dir="auto">This question has been asked on the forum many times for various linux flavor. You are missing the OpenGL development package.</p>
]]></description><link>https://forum.qt.io/post/202740</link><guid isPermaLink="true">https://forum.qt.io/post/202740</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 04 Nov 2013 10:54:56 GMT</pubDate></item></channel></rss>