Jump to content

mli

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by mli


  1. Hi @shanh

    I got the same error when trying to update my compiler from gcc 4.4 to gcc 7.3. 

    I think it depends on what standard library version you used to build systemC, and when you build your application, you have to use the same c++ version.

    You can check the version of

     `sc_core::sc_api_version_2_3_2_cxx201103L<&sc_core::SC_DISABLE_VIRTUAL_BIND_UNDEFINED_>::sc_api_version_2_3_2_cxx201103L(sc_core::sc_writer_policy)´

    by using 'nm libsystemc-2.3.2.so', and find 'sc_api_version...' in the output.

    In my case, I got something like this:

    '00000000000bbf10 T _ZN7sc_core31sc_api_version_2_3_2_cxx201402LIXadL_ZNS_34SC_DISABLE_VIRTUAL_BIND_UNDEFINED_EEEEC1ENS_16sc_writer_policyE'

    So, after I added '-std=c++14' to the Makefile of my application, it seems to work.

    Hope it helps.

×