-
Notifications
You must be signed in to change notification settings - Fork 624
Description
Hey! I'm having trouble with linking my "hello world" service. I built fbthrift successfully and I wanted to build a simple example.
Here are my files: https://github.com/karol-bisztyga/fbthrift-test
Files in gen-cpp2
are generated using thrift1 --gen mstch_cpp2 Example.thrift
When I try to build with build.sh
I get following linker errors:
https://gist.github.com/karol-bisztyga/987fa29023395ef30c1bcc25f6c66bbb
I see that FLAGS_thrift_cpp2_protocol_reader_string_limit
and thrift_cpp2_protocol_reader_container_limit
are defined by using DECLARE_int32
. Looks like folly's FOLLY_DECLARE_FLAG
doesn't work.
This line
folly::f14::detail::F14LinkCheck<(folly::f14::detail::F14IntrinsicsMode)1>::check()
got me here, so maybe there are some flags that are set wrong. Any idea what that could be? Maybe I'm doing something wrong? I'm lost :(
I'm using mac os big sure 11.5.2
If you need any versions of the software, please, let me know.