Thank you GPT, you saved my life.
-
Clean Up Old Build Files: Sometimes old or corrupted build files can cause issues.
-
Try cleaning up the build directory and re-running the CMake configuration. This can be done with the following commands:
rm -rf CMakeFiles CMakeCache.txt
cmake .
make