Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failing #61

Open
sandeep1404 opened this issue Jan 11, 2024 · 2 comments
Open

Build failing #61

sandeep1404 opened this issue Jan 11, 2024 · 2 comments

Comments

@sandeep1404
Copy link

sandeep1404 commented Jan 11, 2024

Hi,

I tried connecting the camera to the USB port of my Linux machine and tried steps to build, but the build failed, and I was unable to create and load the project in the QT creator and see the output image. Please, someone, help me with the detailed steps of connecting this camera and viewing output. I was not able to understand the process from the steps. Are the steps mentioned in the readme correct, or are there any further commands required to build and visualize the output?

While building in the GitHub readme, it is mentioned below:
GetThermal is a QT qmake project. So, all you should have to do now is to fire up QTCreator, open the project file, and hit run.

I have installed qt creator on a Linux machine; which project file do I need to open and run? Can someone be brief about it to get the getthermal for visualizing the thermal camera data?

Can someone help me with this? Thanks in advance.

@VestaCord
Copy link

Hi Sandeep,

the project file used by qmake / QT Creator is GetThermal.pro. Another issue you might be facing is that the latest Qt version (6.7) is not able to compile this Qt 5.7+ Project as it is configured for 5.7+ Qt version.

@VestaCord
Copy link

VestaCord commented Sep 6, 2024

After you have the qmake / run project, another error you might also be facing after building is:
: -1 : error: cannot find -lGL: No such file or directory
I found out this happens because the necessary development package for OpenGL is missing, assuming you're on Debian/Ubuntu you can just run

sudo apt-get install libgl1-mesa-dev
to fix it :)

if you're still missing dev packages after that (note: dev OpenGL packages are seperate from the normal one which comes with your driver) try these

apt-get build-dep libqt5opengl5
sudo apt-get install freeglut3
sudo apt-get install freeglut3-dev
sudo apt-get install binutils-gold
sudo apt-get install libglew-dev
sudo apt-get install mesa-common-dev
sudo apt-get install libglew1.5-dev libglm-dev
sudo apt-get install libgles2-mesa-dev
sudo apt-get install xorg-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants