0

I am using Clion with cmake and with the OS update to Big Sur there is a problem with zlib. I installed zlib via homebrew. Particularly, I get the following error

make[3]: *** No rule to make target "/usr/lib/libz.dylib", needed by "dsle_lib_cpp". Stop. make[2]: *** [CMakeFiles/dsle_lib_cpp.dir/all] Error 2 make[1]: *** [CMakeFiles/dsle_lib_cpp.dir/rule] Error 2 make: *** [dsle_lib_cpp] Error 2

Tried to solve by overwriting the system path as suggested in https://stackoverflow.com/a/62734572/15456046. I also tried https://stackoverflow.com/a/62739728 without any success. I also tried to set 'export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig"' as suggested by homebrew. I also tried to reinstall the Xcode Command Line Tools.

Any help is highly appreciated, just do not know what it could be. Thanks!

s_sd
  • 1

1 Answers1

0

Tsyvarev was absolutely right, I had to reset the cache and reload the project. Thanks so much!

s_sd
  • 1