Conky-for-macOS / conky-for-macOS

macOS port of the Light-weight system monitor for X.
https://github.com/Conky-for-macOS/conky-for-macOS/wiki
GNU General Public License v3.0
152 stars 9 forks source link

Trouble installing in M1 architecture. #50

Open dcxSt opened 2 years ago

dcxSt commented 2 years ago

Issue

Trouble installing in M1 architecture.

Information

I followed the installation guide but got the below error, I think it's because I have the new MacBook air with the M1 architecture.

 CMAKE_C_FLAGS: -std=c99
 CMAKE_CXX_FLAGS: -std=c++17
 CMAKE_C_FLAGS_DEBUG: -g
 CMAKE_CXX_FLAGS_DEBUG: -g
 CMAKE_C_FLAGS_MINSIZEREL: -Os -DNDEBUG
 CMAKE_CXX_FLAGS_MINSIZEREL: -Os -DNDEBUG
 CMAKE_C_FLAGS_RELEASE: -O3 -DNDEBUG
 CMAKE_CXX_FLAGS_RELEASE: -O3 -DNDEBUG
 CMAKE_C_FLAGS_RELWITHDEBINFO: -O2 -g -DNDEBUG
 CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O2 -g -DNDEBUG
 CMAKE_BUILD_TYPE: RelWithDebInfo
 Looking for clock_gettime
 Looking for clock_gettime - found
 CMake Error at cmake/ConkyPlatformChecks.cmake:349 (message):
   Unable to find freetype library
 Call Stack (most recent call first):
   CMakeLists.txt:35 (include)

 Configuring incomplete, errors occurred!
 See also "/Users/steve/Documents/code/conky-for-macOS/build/CMakeFiles/CMakeOutput.log".
 See also "/Users/steve/Documents/code/conky-for-macOS/build/CMakeFiles/CMakeError.log".
researcx commented 1 year ago

This repo was merged into brndnmtthws/conky on July 2018 (conky/pull/480)

To get it to run on macOS:

deps:

brew install cmake freetype gettext lua imlib2 pkg-config
brew link gettext --force

build:

git clone https://github.com/brndnmtthws/conky.git
cd conky
mkdir build
cd build
cmake ..
sudo make install
npyl commented 1 year ago

Yeah it should work on M1 aswell, thanks for answering on my behalf btw.