Moros1138 / pge-template-project

This is a template project using CMake to serve as a jumping off point for you to build your masterpiece olcPixelGameEngine application.
Other
28 stars 2 forks source link

undeclared identifier 'assert' #12

Closed amanns92 closed 11 months ago

amanns92 commented 11 months ago

I run cmake . and after this I run make but I get this error:

pge-template-project-main/include/olcPixelGameEngine.h:5977:4: error: use of undeclared identifier 'assert' assert(resultAddMethod);

I install libpng, make, cmake , gcc over home-brew on my Mac.

Moros1138 commented 11 months ago

This is a problem with the upstream project which can be found here:

https://github.com/OneLoneCoder/olcPixelGameEngine

Please make your report there. Once they provide a fix, I'll update my template project.