BrutPitt / glChAoS.P

3D GPUs Strange Attractors and Hypercomplex Fractals explorer - up to 256 Million particles in RealTime
https://michelemorrone.eu/glchaosp
BSD 2-Clause "Simplified" License
786 stars 61 forks source link

fixing default build configuration #8

Closed jrynkiew closed 1 year ago

jrynkiew commented 2 years ago

To allow new users to easily build your source, I wanted to add these changes. I think you moved the mmFBO files into the tools folder without changing the build CMakeLists.txt file, and the glfw build scripts don't work by default on my Linux machine, and I expect it will be the same on many others, so I just changed the "Use internal GLFW" GLAPP_USE_INTERNAL_GLFW option to TRUE so it is enabled by default. It will be easier for everyone

BrutPitt commented 1 year ago

Hi @jrynkiew. Forgive me for replying late, and thank you very much(!) for your post which will have helped many people to compile glChAoS.P.

The CMakeLists.txt file had already been modified (also with other changes) in a previous internal commit, but which I had not pushed (I'm really sorry for the inconvenience!). I use it to build glChAoS.P, so is (or it should be) the first to be updated: I pushed the correct version, now (even though it's dated January)

Speaking of GLFW, instead. GLFW was originally included in the source code since many Linux distros did not yet have version 3.3 (which was still in BETA at the time, but I needed some new features)

Currently, the internal GLFW version is no longer needed and is not frequently updated (I believe it is ver 3.3.3 or ver 3.3.4), while ver 3.3.8 is available on GLFW site (with more bug fixed than previous) The intention is to eliminate internal GLFW, from repository, in a future release.

So I recommend to install (or build and install) the latest GLFW version and to use the default set(GLAPP_USE_INTERNAL_GLFW FALSE) setting.