Closed burgerpig closed 10 months ago
Hi,
Thanks for reporting.
This is a known issue. Currently it’s only possible to build with clang 16
Best Hans
On Thu, 18 Jan 2024 at 12:00, laobeijinglbj @.***> wrote:
Hi, I tried to make the roq-api, but just encounter some error while making.
The errors looks like this. I was following the instructions on the README.md.
my macOS is 12.6.4. clang version: clang version 17.0.6 Target: x86_64-apple-darwin21.6.0
Thanks for your help!
~/conda/bin/../include/c++/v1/format/format_parse_context.h:91:30: error: 'basic_format_parse_context' is unavailable 91 | using format_parse_context = basic_format_parse_context; | ^ ~/conda/bin/../include/c++/v1/format/format_parse_context.h:26:56: note: 'basic_format_parse_context' has been explicitly marked unavailable here 26 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT basic_format_parse_context { | ^
— Reply to this email directly, view it on GitHub https://github.com/roq-trading/roq-issues/issues/436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5AIJZRU2WLWG43DDTECETYPD6DVAVCNFSM6AAAAABCACE4XOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DQMBUGAZDIMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
You need -D_LIBCPP_DISABLE_AVAILABILITY
as described here: https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
Hi, I tried to make the roq-api, but just encounter some error while making.
The errors looks like this. I was following the instructions on the README.md.
my macOS is 12.6.4. clang version: clang version 17.0.6 Target: x86_64-apple-darwin21.6.0
Thanks for your help!
~/conda/bin/../include/c++/v1/format/format_parse_context.h:91:30: error: 'basic_format_parse_context' is unavailable
91 | using format_parse_context = basic_format_parse_context;
| ^
~/conda/bin/../include/c++/v1/ format/format_parse_context.h:26:56: note: 'basic_format_parse_context' has been explicitly marked unavailable here
26 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT basic_format_parse_context {
| ^