Skip to content

getting started on macos #72

Description

@xoba

seems i have to add bin/ai to my path, otherwise ai can't be run. but then i get these errors:

openacr% export PATH=~/openacr/bin:$PATH
openacr% make
ai
# selecting bootstrap file...
#   considering Darwin-clang++.release-x86_64
# make-bootstrap: running bin/bootstrap/Darwin-clang++.release-x86_64
# this script has been created using atf_ci bootstrap
# now building an abt executable which will build the rest
# setting up soft link build/coverage (default)
# setting up soft link build/debug (default)
# setting up soft link build/profile (default)
# setting up soft link build/release (default)
+ mkdir -p temp
+ mkdir -p build/release
+ mkdir -p build/release
+ clang++ -x c++ -Wno-invalid-offsetof -ffunction-sections -Wsequence-point -Wno-multichar -Wshadow -pipe -Wextra -Winit-self -Wmissing-include-dirs -Wmissing-declarations -Wno-enum-compare -Wno-array-bounds -Wno-missing-exception-spec -iquote . -Wno-vla -fpch-preprocess -c cpp/abt/build.cpp -o build/release/cpp.abt.build.o -msse4.2 -D AOS_SSE42 -O -Werror -Wreinterpret-base-class
In file included from cpp/abt/build.cpp:25:
In file included from ./include/abt.h:25:
In file included from ./include/algo.h:31:
./include/define.h:81:2: error: clang++ is no longer supported
#error clang++ is no longer supported
 ^
In file included from cpp/abt/build.cpp:25:
In file included from ./include/abt.h:25:
In file included from ./include/algo.h:59:
./include/algo/string.inl.h:241:36: error: use of enumeration in a nested name specifier is a C++11 extension [-Werror,-Wc++11-extensions]
    return curs.state != Sep_curs::State::invalid;
                                   ^
./include/algo/string.inl.h:248:81: error: use of enumeration in a nested name specifier is a C++11 extension [-Werror,-Wc++11-extensions]
inline algo::Sep_curs::Sep_curs() : sep('\0'), index(-1), state(algo::Sep_curs::State::invalid){
                                                                                ^
3 errors generated.
# ------------------------------------------------------------------
# 
Can't exec "bin/abt": No such file or directory at /Users/mra/openacr/bin/ai line 37.
error abt failed: -1. more info in txt/abt-troubleshoot.md
make: *** [default] Error 1
openacr% 

here's my mac version:

openacr% uname -a
Darwin mikes-iMac-Pro.localdomain 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:42:11 PST 2023; root:xnu-8792.81.3~2/RELEASE_X86_64 x86_64
openacr% 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions