Open yuraic opened 11 months ago
Here is the cmake ..
output if it helps,
-- The C compiler identification is AppleClang 14.0.3.14030022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") -- Checking for module 'libnotify' -- Found libnotify, version 0.8.3 -- Configuring done (0.8s) -- Generating done (0.0s) -- Build files have been written to: /Users/yuriy/Documents/Test/Development/todonzo/build
It's probably not the issue with todonzo but rather with the 'brew' for Mac, I guess.
cmake ..
- worked fine!make
- exited with an error as follows,[yuriys-laptop] /Users/yuriy/Documents/Test/Development/todonzo/build >make [ 14%] Building C object CMakeFiles/todonzo.dir/src/todonzo.c.o [ 28%] Building C object CMakeFiles/todonzo.dir/src/reminder.c.o [ 42%] Building C object CMakeFiles/todonzo.dir/src/array.c.o [ 57%] Building C object CMakeFiles/todonzo.dir/src/notification.c.o [ 71%] Building C object CMakeFiles/todonzo.dir/src/xdg.c.o [ 85%] Building C object CMakeFiles/todonzo.dir/src/lock.c.o [100%] Linking C executable todonzo ld: library not found for -lnotify clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [todonzo] Error 1 make[1]: [CMakeFiles/todonzo.dir/all] Error 2 make: *** [all] Error 2
Clearly, it couldn't find libnotify in the paths for linking. The libnotify is installed using 'brew' for Mac, i.e.
brew install libnotify
. Thanks!