[CSC 315] Working on GL Code on Cobra under Windows 7/8.1

Andrew J. Pounds pounds_aj at mercer.edu
Sat Sep 13 12:44:36 EDT 2014


I know Laila's is working.  Has anyone else gotten this to work?


On 09/12/14 15:48, Andrew J. Pounds wrote:
> Alrighty -- I am fed up trying to get Linux installed on computers that
> have Windows 8 installed.   For those of you that want to work on your
> code outside of the computer science building, but haven't been
> successful getting Linux installed, here is your workaround.
>
> 1. Install MobaXTerm  (http://mobaxterm.mobatek.net/).  It will allow
> XWindow to flow to your PC
>
> 2. Open up a session to cobra.cs.mercer.edu in MobaXterm
>
> 3. Compile your code with the regular settings (-lGL -lGLU -lglut)
>
> 4. Run it and look for the GL window to open with your displayed graphics.
>
> Now, some of you are going to get and error from glut about not being
> able to open a window.   If you get this then type the
> command
>
> export LIBGL_ALWAYS_INDIRECT=1
>
> before you execute the code.  You should only have to do this once per
> session.   This is not something you want to do in the labs as you want
> the full power of the direct rending engine -- but it should enable you
> to work on your Windows 8 systems without too much performance degradation.
>
>


-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj



More information about the csc315 mailing list