When running make there looks like there is a missing ; right before line 2236:
> make
[ 10%] Building C object CMakeFiles/OurPaint.dir/BuildResources/data_splash.c.o
[ 20%] Building C object CMakeFiles/OurPaint.dir/BuildResources/data_splash_highdpi.c.o
[ 30%] Building C object CMakeFiles/OurPaint.dir/ournodes.c.o
[ 40%] Building C object CMakeFiles/OurPaint.dir/ouroperations.c.o
~/OurPaint/ouroperations.c: In function ‘our_RenderThumbnail’:
~/OurPaint/ouroperations.c:2236:5: error: expected ‘;’ before ‘png_set_IHDR’
2236 | png_set_IHDR(png_ptr, info_ptr,use_w,use_h,8,PNG_COLOR_TYPE_RGBA,PNG_INTERLACE_NONE,PNG_COMPRESSION_TYPE_BASE,PNG_FILTER_TYPE_BASE);
| ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/OurPaint.dir/build.make:118: CMakeFiles/OurPaint.dir/ouroperations.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/OurPaint.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
I was able to resolve the issue by adding a ; to the line before 2236 in ouroperations.c before trying again.
When running make there looks like there is a missing ; right before line 2236:
```
> make
[ 10%] Building C object CMakeFiles/OurPaint.dir/BuildResources/data_splash.c.o
[ 20%] Building C object CMakeFiles/OurPaint.dir/BuildResources/data_splash_highdpi.c.o
[ 30%] Building C object CMakeFiles/OurPaint.dir/ournodes.c.o
[ 40%] Building C object CMakeFiles/OurPaint.dir/ouroperations.c.o
~/OurPaint/ouroperations.c: In function ‘our_RenderThumbnail’:
~/OurPaint/ouroperations.c:2236:5: error: expected ‘;’ before ‘png_set_IHDR’
2236 | png_set_IHDR(png_ptr, info_ptr,use_w,use_h,8,PNG_COLOR_TYPE_RGBA,PNG_INTERLACE_NONE,PNG_COMPRESSION_TYPE_BASE,PNG_FILTER_TYPE_BASE);
| ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/OurPaint.dir/build.make:118: CMakeFiles/OurPaint.dir/ouroperations.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/OurPaint.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
```
I was able to resolve the issue by adding a ; to the line before 2236 in ouroperations.c before trying again.
When running make there looks like there is a missing ; right before line 2236:
I was able to resolve the issue by adding a ; to the line before 2236 in ouroperations.c before trying again.