lpthread
December 8, 2018
: undefined reference to ‘sem_init’
: undefined reference to ‘sem_init’
. . . . . . Now in order to create executables run the following command based on your computer architecture (i.e. 64 bit or 32 bit) For 64 bit: (notice command is long, scroll to see more on the right) g++ -I. -I$SYSTEMC_HOME/include -L. -L$SYSTEMC_HOME/lib-linux64 -Wl,-rpath=$SYSTEMC_HOME/lib-linux64 -o hello hello.cpp -lsystemc -lm For 32 bit:… read more »