Ubuntu + opengl program design (1) Preparations
-- Lihn1987
Environment: ubuntu10.04
Creating an opengl development environment in ubuntu should be equivalent to esay.
As shown below
Install the basic library sudo apt-get install build-essential
Install opengl toolbox
Sudo apt-get install freeglut3-dev
Finished? Yes, that's all. It's easy, but some additional preparations are needed.
1. Find this reference
I am looking for the fourth version of "opengl super book" in Baidu Library.
As for copyright issues, I can say that the copyright of ubuntu and opengl is not a problem. I am not concerned about Baidu Library.
2. Desktop effects must be disabled
In the initial single cache environment, desktop effects must be disabled. Otherwise, the program cannot run. I don't know why, but I did my own experiments .....
3. configure our editor.
Vim + ctags + taglist
Both vim and ctags can be obtained through apt-get install.
The taglist can be downloaded at http://sourceforge.net/projects/vim-taglist/files/
Copy the downloaded file to the/etc/vim directory.
Unzip
Create two folders, doc and plugin.
Vim/etc/vim/plugin/taglist. vim
Before/loaded_taglist, add
Let Tlist_Ctags_Cmd = "/usr/bin/ctags"
How to use it?
The current source code directory ctags-R
Enter Tlist in vim.
Okay, now it's done.
If you have any questions can leave a message or contact my Baidu hi, or mail lihn1987@gmail.com