Installing on Apple M1 mini

Manual project build issues.
Post Reply
Posts: 1
Joined: Tue Nov 09, 2021 5:14 pm

Installing on Apple M1 mini

Post by squinones »

Has anyone tried to compile this yet? How can I compile for Arm? Obviously M1 is arm so I'm getting and error:

clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/steven/Downloads/cgru.3.2.0/afanasy/bin/afwatch] Error 1
make[1]: *** [watch/CMakeFiles/afwatch.dir/all] Error 2
make: *** [all] Error 2

and using -v:

steven@Mini-render-2 ~/Downloads/cgru.3.2.0/afanasy/src/project.cmake $ ./ --nosql -v
CGRU_VERSION 3.2.0 : '/Users/steven/Downloads/cgru.3.2.0'
Detecting UNIX distribution...
MacOSX 11.6 arm64
Building on 'MacOSX'
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

WARNING! Building without SQL.

Setting c++11 standard for GCC
Using std::regex ECMAScript regular expressions (Perl-like).
-- Qt version 5.15.2
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR filesystem system python)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/steven/Downloads/cgru.3.2.0/afanasy/src/project.cmake
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

This program built for i386-apple-darwin11.3.0

Any ideas?
User avatar
Site Admin
Posts: 916
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev

Re: Installing on Apple M1 mini

Post by timurhai »

I have no experience with Mac, but the error message

Code: Select all

clang: error: linker command failed with exit code 1 (use -v to see invocation)
Asks you to pass '-v' argument to linker command, not to ./ script.
How to do this, you can read cmake manuals.
Try to ask this question on some Mac programming forums.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Posts: 1
Joined: Sat Mar 25, 2023 8:03 pm

Re: Installing on Apple M1 mini

Post by alexcubor »

can you tell me if the problem has been solved? I ran into the same thing.(
Post Reply