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

Mac OS build #52

Open
dieu opened this issue Sep 28, 2021 · 0 comments
Open

Mac OS build #52

dieu opened this issue Sep 28, 2021 · 0 comments

Comments

@dieu
Copy link

dieu commented Sep 28, 2021

Hey folks,

Glean is looking like a very interesting project, is anybody have a instruction for compilation for mac os?

currently, I stuck on the compilation of fbthrift

[ 15%] Linking CXX shared library ../../lib/libcompiler_base.dylib
Undefined symbols for architecture x86_64:
  "apache::thrift::compiler::gen::cpp::find_ref_type(apache::thrift::compiler::t_field const&)", referenced from:
      apache::thrift::compiler::(anonymous namespace)::validate_boxed_field_attributes(apache::thrift::compiler::diagnostic_context&, apache::thrift::compiler::t_field const&) in standard_validator.cc.o
  "apache::thrift::compiler::cpp2::has_ref_annotation(apache::thrift::compiler::t_field const&)", referenced from:
      apache::thrift::compiler::(anonymous namespace)::validate_ref_field_attributes(apache::thrift::compiler::diagnostic_context&, apache::thrift::compiler::t_field const&) in standard_validator.cc.o
  "apache::thrift::compiler::cpp2::is_mixin(apache::thrift::compiler::t_field const&)", referenced from:
      apache::thrift::compiler::(anonymous namespace)::validate_mixin_field_attributes(apache::thrift::compiler::diagnostic_context&, apache::thrift::compiler::t_field const&) in standard_validator.cc.o
      apache::thrift::compiler::(anonymous namespace)::get_mixin_type(apache::thrift::compiler::t_field const&) in standard_validator.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libcompiler_base.1.0.0.dylib] Error 1
make[1]: *** [thrift/compiler/CMakeFiles/compiler_base.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
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

1 participant