This is comand avarible in lubuntu
sudo apt-get update //update repo
sudo apt-get install g++ //install compiler c++
sudo apt-get install mingw32 //install compiler for freglut opengl
sudo apt-get install libglew1.5 libglewmx1.5 libglew1.5-dev libglewmx1.5-dev glew-utils
#define GLEW_STATIC
-lGLEW
sudo apt-get install freeglut3-devgcc helloglut.cpp -o hello -L/usr/X11R6/lib/ -lGL -lGLU -lglut //*compile fill helloglut to
file hello GLUT && Opengl it’s really CAT *//
sudo apt-get install libglui2c2 libglui-dev
GLUI
g++ glui.cpp -o glui -l -lglut -lGLU -lGL -lglui
sudo apt-get install libsoil-dev // it's SOIL to load BMP
gcc helloglut.cpp -o hello -L/usr/X11R6/lib/ -lGL -lGLU -lglut -lSOILsudo apt-get install libsdl1.2-dev libsdl1.2debian //SDL
gcc helloglut.cpp -o hello -L/usr/X11R6/lib/ -lGL -lGLU -lglut -lSDL/*SDL with glut*/
gcc helloworld.cpp -lstdc++ //compile simple ‚helloword’
./hello //run program hello.o
gcc helloglut.cpp -o hello -L/usr/X11R6/lib/ -lGL -lGLU -lglut -lGLEW //GLEW
sudo apt-get update
sudo apt-get install gcp //compile pascal
fpc -Sd first.pas /GLUT in pascal
sudo apt-get install nasm //assembler
nasm -f elf hello.asm
ld hello.o -o hello
./hello
sudo apt-get install qt4-dev-tools
sudo apt-get install qtcreator
////create foo.cpp qt aplication in notepad
qmake -project -o foo.pro //Qt compile notepad
{
TEMPLATE = app
TARGET = foo
INCLUDEPATH += .
QT += widgets # <== Add this
QT += networking #
# Input
SOURCES += foo.cpp
}$ qmake -makefile
$ ls
Makefile foo.cpp foo.pro
$make
//////anodher
qmake -project -o main.pro
# Automatically generated by qmake (2.01a) wt. sie 30 03:07:26 2016
TEMPLATE = app
TARGET = main
DEPENDPATH += .
INCLUDEPATH += .
QT += opengl
LIBS += -lglut -lGLU
# Input
HEADERS += widget.hpp
SOURCES += main.cpp widget.cpp
qmake -makefile
ls
main.cpp widget.cpp
main.pro
make
////QUBUNTU for lubuntu
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get install ubuntu-sdk
////CURL
curl -u user:$(cat .password-file) http://example-domain.tld
curl https://SERVER/cgi-bin/index.bash -H "User-Agent: () { :; }
echo ; /bin/cat /etc/passwd "
curl -v -b cookies.txt -c cookies.txt SERVER
curl --silent --compressed http://example.com/cron.php
No comments:
Post a Comment