Ubuntu Compile
Closed this issue · 16 comments
Thanks for this app, it's really intuitive to demonstrate the Fourier transform.
However, I always get the error that the opengl32.lib can't find under Ubuntu OS. I found the opengl32.lib is for VS build. I'm not familiar with QT and OpenGL, is there an alternative library in the Ubuntu to make the compilation work?
I have modified the .pro file slightly and should work on both Linux and Windows. You will need to re-run qmake for the changes to take effect. Please give some feedback in any case. Thank you!
Thank you. I will try it tonight.
The program crashes after compile. Not sure the reason.
Starting /home/projects/lab/build-fouriergl-qt5-Debug/fouriergl...
The program has unexpectedly finished.
/home/projects/lab/build-fouriergl-qt5-Debug/fouriergl crashed
Please try to run it in debug mode and you will see where it crashed. Send me the Stack info or just take a screenshot.
Strange. Please try to create a new Qt project a Qt Gui application and lets see it works or not. Meanwhile I will install Ubuntu to one of the machines in the office to see what is going on.
I have tried on Mac OS X yet and modified to code to run with OpenGL core profile. You may want to update your source and try it again now. This week I will have an Ubuntu machine so I will be able to try it.
@ponzifex thank you for providing a quick fix. The issue still remains on my Ubuntu system.
The Ubuntu version is 16.04, and QT version is 5.
Ok, please wait until I can try this on a Linux machine and I will publish the modifications.
@bonafid3 thank you very much. Will give it a try tonight.
It works great. Thank you very much!