bonafid3/FourierGL

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.

I tried the debugger, it crash at the beginning, pop up a dialog showing that "segments fault"

image

Please show the application output from Qt creator.

screenshot 2017-10-15 21 53 15

Here is my screenshot. Sorry, I'm not familiar with QT build, there is only one line in the output.

image

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.

The MAC version is almost ok, except the textures. VAO was needed for the core OpenGL profile!
screen shot 2017-10-17 at 11 31 30 am

The textures are working now on MAC OS X!
screen shot 2017-10-17 at 1 44 24 pm

@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.

Compiles and runs on Linux too! Tested on Ubuntu 16.04 LTS 32bit with Qt5.5

screenshot from 2017-10-20 16-41-15

@bonafid3 thank you very much. Will give it a try tonight.

It works great. Thank you very much!