<div dir="ltr"><div>~$ apt-cache search xlibmesa-glu</div><div>libglu1-mesa-dev - Mesa OpenGL utility library -- development files</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div>:-)~MIKE~(-:</div>
<br><br><div class="gmail_quote">On Sun, Jul 6, 2014 at 8:52 PM, Walter Mack <span dir="ltr"><<a href="mailto:wmack@componentsw.com" target="_blank">wmack@componentsw.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>what do you get when you run<br>
<br>
apt-cache search xlibmesa-glu<br>
<br>
The output of it might give you a clue as to what package you have
to install with apt-get<div><div class="h5"><br>
<br>
On 07/06/2014 07:56 PM, Michael Havens wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">after further searching this is what I turned up. <a href="http://lordamit.blogspot.com/2012/07/installing-opengl-in-linux-mint-ubuntu.html" target="_blank">http://lordamit.blogspot.com/2012/07/installing-opengl-in-linux-mint-ubuntu.html</a> Will
this do anything bad for the system or useless? What about the
sample code that he included?
<div>
<br>
</div>
<div>
<div>
<h1 style="margin:0px;font-size:20px;font-weight:normal;padding:0px 40px 0px 0px;color:rgb(51,51,51);width:510px;display:table-cell;vertical-align:middle"><a href="http://lordamit.blogspot.com/2012/07/installing-opengl-in-linux-mint-ubuntu.html" rel="bookmark" style="color:rgb(51,51,51);outline:none;text-decoration:none" target="_blank">Installing openGL in Linux Mint / Ubuntu
for Graphics Lab</a></h1>
</div>
<div>
This is fairly simple actually.<br>
<br>
All you have to do is to install the following things in
your Linux distro.<br>
<br>
<pre>sudo apt-get install freeglut3
sudo apt-get install freeglut3-dev
sudo apt-get install binutils-gold</pre>
And you are done :)<br>
<br>
Here is a sample code for you:<br>
<br>
<pre>/*
* File: main.cpp
* Author: lordamit
*
* Created on July 9, 2012, 12:53 PM
*/
#include <GL/glut.h>
using namespace std;
void draw(void) {
//set Background color
glClearColor(1, 0, 0, 1);
glClear(GL_COLOR_BUFFER_BIT);
//Draw color
glFlush();
}
//Main program
int main(int argc, char **argv) {
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
//set window position
glutInitWindowPosition(50, 25);
//set window size
glutInitWindowSize(500, 250);
//set window name
glutCreateWindow("My window");
//Call to the drawing function
glutDisplayFunc(draw);
glutMainLoop();
return 0;
}</pre>
<br>
Save this file using name program.c and compile it using<br>
<pre>gcc -lGL -lglut program.c -o program</pre>
<br>
And execute it using<br>
<pre>./program</pre>
<br>
You are done!</div>
<div><br>
</div>
<div>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>:-)~MIKE~(-:</div>
<br>
<br>
<div class="gmail_quote">On Sun, Jul 6, 2014 at 7:44 PM,
Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">nope... it didn't help any. I tried
--fix-missing --fix-broken an -f . Then I reran install
and same error.</div>
<div class="gmail_extra"><br clear="all">
<div>:-)~MIKE~(-:</div>
<div>
<div>
<br>
<br>
<div class="gmail_quote">On Sun, Jul 6, 2014 at 7:17
PM, Walter Mack <span dir="ltr"><<a href="mailto:wmack@componentsw.com" target="_blank">wmack@componentsw.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>maybe this will fix it:<br>
<br>
sudo apt-get update<br>
sudo apt-get --fix-missing<br>
then try sudo apt-get install again
<div>
<div><br>
<br>
<br>
On 07/06/2014 06:57 PM, Michael Havens
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">I had it working before
but don't know how I did itthis is
what the readme file says (in part)<br clear="all">
<div><b>Linux</b></div>
You'll need to make sure the
appropriate OpenGL drivers are
installed, plus these libraries:<br clear="none">
* <i>libSDL 1.2</i><br clear="none">
* <i>libSDL_image</i><br clear="none">
* <i>OpenAL</i><br clear="none">
(Note: To use the client provided with
the Linux package, you will need <i>OpenAL-Soft</i>
instead of OpenAL, otherwise you will
need to compile your own client if you
would rather use normal OpenAL).
<div><br>
</div>
<div>I know what they want me to do
but googling it is confusing. HOw do
I do this. this is what I was told
to do and the result:</div>
<div><br>
</div>
<div>
<div>bmike1@Presario1:~$ sudo
apt-get install xlibmesa-gl
xlibmesa-glu mesa-utils
libgl1-mesa-dri libgl1-mesa-glx
libgl1-mesa-dri:i386
libgl1-mesa-dri</div>
<div>Reading package lists... Done</div>
<div> Building dependency tree
</div>
<div>Reading state information...
Done</div>
<div>E: Unable to locate package
xlibmesa-gl</div>
<div>E: Unable to locate package
xlibmesa-glu</div>
<div>bmike1@Presario1:~$ </div>
<div><br>
</div>
</div>
<div>:-)~MIKE~(-:</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>---------------------------------------------------
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
</blockquote>
<br>
</div>
<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your
mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>---------------------------------------------------
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
</blockquote>
<br>
</div></div></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div>