|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
I installed scv-2.0.0 in my laptop follow the procedure:configure===> make ===> make install
without error
now I have trouble to run the examples under the installed scv-2.0.0/examples
I could make hello work
g++ -I. -I/usr/local/scv-2.0.0/include -I/usr/local/systemc-2.3.1/include -L. -L/usr/local/systemc-2.3.1/lib-linux64 -Wl,-rpath=/usr/local/systemc-2.3.1/lib-linux64 -o mainrun main.cpp -lsystemc -lm
then
./mainrun
Hello, world!
but in examples/extensions/ex_02_enumdata
g++ -I. -I/usr/local/scv-2.0.0/include -I/usr/local/systemc-2.3.1/include -L. -L/usr/local/systemc-2.3.1/lib-linux64 -Wl,-rpath=/usr/local/systemc-2.3.1/lib-linux64 -o test test_reg.cc -lsystemc -lm
will generate a lot of something like these
/tmp/ccvVBSaK.o: In function `s_add_callback(_scv_dynamic_data*, scv_extension_callbacks_if::callback_base*)':
test.cc .text+0x1a): undefined reference to `_scv_message::INTROSPECTION_INVALID_DYNAMIC_EXTENSIONS'
please help, masters |
|