I'm trying to run SystemC on XCode on mac (using the standard Clang compiler). Depending on the language dialect, I get different error messages. If I use C++14, I get the error
No member named 'experimental' in namespace 'std'
If I use the standard c++17, I get the error message
Undefined symbols for architecture x86_64:
"sc_core::sc_api_version_2_3_3_cxx201402L<&(sc_core::SC_DISABLE_VIRTUAL_BIND_UNDEFINED_)>::sc_api_version_2_3_3_cxx201402L(sc_core::sc_writer_policy)", referenced from:
___cxx_global_var_init in main.o
ld: symbol(s) not found for architecture x86_64
A similar question has been answered, however, the answer was "One of the files didn't have cstdlib included as a header file", without specifying that file. Does anyone know why that error occurs or what the file with the missing header is?