patriciogonzalezvivo / glslViewer

Console-based GLSL Sandbox for 2D/3D shaders
BSD 3-Clause "New" or "Revised" License
4.62k stars 350 forks source link

Flow control statements are not properly nested. - MacOS M1 #272

Closed richardegil closed 2 years ago

richardegil commented 2 years ago

I was experiencing the same issue in #270 and tried to follow the steps to resolve it.

Now I am getting an error :

CMake Error at CMakeLists.txt:208 (endif):
  Flow control statements are not properly nested.

Any suggestions?

Screen Shot 2022-06-20 at 2 19 54 PM Screen Shot 2022-06-20 at 2 20 53 PM

richardegil commented 2 years ago

Forgot to include machine details: MacOS Monteray 12.4 M1 Pro

patriciogonzalezvivo commented 2 years ago

mmm... the lines have moved since then. Comment lines from 100 and 105. That a side, have you installed ncurses with brew?

richardegil commented 2 years ago

@patriciogonzalezvivo yes, I installed that. Let me try commenting out the lines you mentioned.

richardegil commented 2 years ago

@patriciogonzalezvivo that seemed to work, I was able to run the test file successfully.

Thanks for the quick response!

patriciogonzalezvivo commented 2 years ago

Awesome, thank you