Timur Kelin Posted January 6, 2020 Report Posted January 6, 2020 Hi Declarations from utils/sc_stop_here.h are required for diy report handler, however in 2.3.3 this header file is not present in the installation path. The workaround is to make it available in your project somehow Quote
Eyck Posted January 6, 2020 Report Posted January 6, 2020 How did you build and isntall SystemC? If you use cmake the file is being copied.... Quote
Timur Kelin Posted January 6, 2020 Author Report Posted January 6, 2020 Thank you for your response Eyck I used configure/make flow as specified in the INSTALL file: ../systemc-2.3.3/configure \ --prefix=path_to_the_install_dir \ --host=x86_64-redhat-linux-gnu \ --build=x86_64-redhat-linux-gnu \ --target=x86_64-redhat-linux-gnu \ --enable-shared=yes \ --enable-debug=yes \ --disable-optimize \ --enable-pthreads=yes \ --with-gnu-ld=yes \ CXXFLAGS="-std=gnu++11" make -j32 make install Quote
maehne Posted January 6, 2020 Report Posted January 6, 2020 Thanks for reporting this issue! I think your use case is justified. However, the decision to not installing the header seems to have been made on purpose as utils/sc_stop_here.h is explicitly added to NO_H_FILES in src/sysc/utils/files.am. The behavioural difference between the Automake and CMake-based build flow is probably unintentional. I have reported the issue to the LWG for investigation. Timur Kelin 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.