Jump to content
Timur Kelin

utils/sc_stop_here.h is not copied into the installation path

Recommended Posts

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

 

Share this post


Link to post
Share on other sites

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 
 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...