Build error using CMake 3.28.3 in terminal: ..."models_point_rendering.c:49:17: error: call to undeclared function 'GenPoints"
Using cmake to build: cmake -S . -B build -G"Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=clang , and was able to reproduce with Unix Makefiles too.
Description
Build error using CMake 3.28.3 in terminal:
..."models_point_rendering.c:49:17: error: call to undeclared function 'GenPoints"
Using cmake to build:
cmake -S . -B build -G"Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=clang
, and was able to reproduce with Unix Makefiles too.System Info
inxi -F
Fresh clone of
master
@bc0bd98763bba496836c5cfc1418949256bc6f4d
Fix
Add forward-declaration of the function:
Screenshot