Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble installing in M1 architecture. #50

Open
dcxSt opened this issue Apr 7, 2022 · 2 comments
Open

Trouble installing in M1 architecture. #50

dcxSt opened this issue Apr 7, 2022 · 2 comments

Comments

@dcxSt
Copy link

dcxSt commented Apr 7, 2022

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
Copy link

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
Copy link
Member

npyl commented Oct 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants