Jump to content

Nicole

Members
  • Content count

    1
  • Joined

  • Last visited

  1. Nicole

    Build error with 2.3.2

    I am seeing this same issue trying to use SystemC 2.3.2 with a project compiling with C++11 standard. When installing SystemC, I used: ../configure prefix=/usr/local/systemc-2.3.2 CXXFLAGS=“-DCMAKE_CXX_STANDARD=11” I am compiling with clang 3.5, and for my project I have included the following in my compiler flags in the Makefile: -std=c++11 -I${SYSTEMC_HOME}/include -L${SYSTEMC_HOME}/lib-linux64 -lsystemc where SYSTEMC_HOME = /usr/local/systemc-2.3.2, which is my SystemC installation directory. The error I see is: In function `__cxx_global_var_init17': /usr/local/systemc-2.3.2/include/sysc/kernel/sc_ver.h:179: undefined reference to `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)' Any ideas? Thanks!
×