Installing on Apple M1 mini
Posted: Tue Nov 09, 2021 5:27 pm
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 $ ./build.sh --nosql -v
CGRU_VERSION 3.2.0 : '/Users/steven/Downloads/cgru.3.2.0'
CGRU_REVISION
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
CMake.
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 13.0.0.13000029
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
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
Any ideas?
Thanks,
Steven
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 $ ./build.sh --nosql -v
CGRU_VERSION 3.2.0 : '/Users/steven/Downloads/cgru.3.2.0'
CGRU_REVISION
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
CMake.
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 13.0.0.13000029
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
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
Any ideas?
Thanks,
Steven