katang Posted July 10, 2018 Report Share Posted July 10, 2018 I made a new installation on Ubuntu 18.04, and followed instructions in https://howto.tech.blog/2016/11/27/installing-systemc-2-3-1/ Apparently it worked fine, but at the last step it gave the error message $ g++ -I. -I$SYSTEMC_HOME/include -L. -L$SYSTEMC_HOME/lib-linux64 -Wl,-rpath=$SYSTEMC_HOME/lib-linux64 -o hello Hello.cpp -lsystemc -lm In file included from Hello.cpp:1:0: /usr/local/systemc-2.3.1//include/systemc.h:120:16: error: ‘std::gets’ has not been declared using std::gets; ^~~~ Is there an error in my install? (SystemC install seemed to run without error message) Quote Link to comment Share on other sites More sharing options...
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.