Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have downloaded GLUI 2.35 from http://glui.sourceforge.net/ to my desktop as zip file. But, What should I do in order to use GLUI in the code as shown below ;

   #include < GL/glui.h >

How can I do that in ubuntu 12.04 ?

share|improve this question
add comment

2 Answers

I suggest, instead, you do:

    sudo apt-get install libglui2c2 libglui-dev

These are version 2.36 and built for Ubuntu.

share|improve this answer
    
But I do not have any internet connection to my home machine. –  jques Nov 26 '12 at 14:54
    
    
can I install from zip file since I download as zip file? –  jques Nov 26 '12 at 14:58
add comment

Please go here http://packages.ubuntu.com/precise/libglui2c2 and here http://packages.ubuntu.com/precise/libglui-dev. Download the .deb packages to another computer, as well as the dependencies (red dots) and transfer to your Ubuntu machine. Install all the packages with: sudo dpkg -i *.deb. If you could compile the package you linked, which I doubt highly, since it appears to be built in 2005 (!!), it would require most of these dependencies and many more.

share|improve this answer
    
can I run sudo apt-get install <file from desktop> <file from desktop> to install from desktop –  jques Nov 26 '12 at 15:08
    
No. You will be downoading .deb files. They are installed with sudo dpkg -i Desktop/*.deb. The wildcard * means install all the debs. –  chili555 Nov 26 '12 at 15:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.