Drewol/unnamed-sdvx-clone

[Bug] Cmake error when running Make command on mac

jvnouno opened this issue · 1 comments

I have sucessfully done all steps to get the game working on mac, until i run

./mac-cmake.sh

It then gives me the error

CMake Error at /usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find JPEG (missing: JPEG_LIBRARY) (found version "80")
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/FindJPEG.cmake:106 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)

If its just an incompatibale version of jpeg please let me know how to change it to the right version of jpeg

found a solution, had to input

brew install jpeg-turbo

to make it work