A step by step guide to install Ubuntu Linux on any computer.
We will see the steps to download and install Ubuntu on a machine.
- Through ISO
- Through another machine having Ubuntu Linux.
You can follow this YouTube playlist to install Nvidia Cuda, Cudnn and OpenCV with Nvidia Cuda, Cudnn and Qt.
-
It will need sudo permission at times so grant that.
-
You will need to add the following to the g++ command when compiling the OpenCV code.
`pkg-config --libs --cflags opencv`
-
Then use CFLAGS for making .o and LDFLAGS for making final executable.
CFLAGS = `pkg-config --cflags opencv` LDFLAGS = `pkg-config --libs opencv`
-
You firstly need to download the RUN file of the installer from the website of Qt.
-
Then you have to give permissions to it with chmod command so you can execute it.
-
And then go with the following commands.
sudo apt update sudo apt-get install build-essential libgl1-mesa-dev mesa-common-dev
-
Here, we downloading some essential libraries so we can run Qt.
-
And that's it.
-
You can now use the QtCreator.
- Now, you have add the following to the configuration file(.pro file) for the project.
unix {
LIBS += `pkg-config --libs opencv`
INCLUDEPATH += `pkg-config --cflags opencv`
DEPENDPATH += `pkg-config --libs opencv`
}
- NOTE: Makefiles are whitespace sensitive so do not leave white spaces.