Uwghiello 1 Report post Posted October 24, 2017 I am trying to install systemC on visual studio 2017 but it seems that I cannot find the guide for it. So I had to follow the guide of installing systemC on VS2010 :( In fact, I have got systemC.lib but when I configured the project for systemC, i.e, the project->property->C/C++->Code Generation->Runtime Library->balabalabala... finished all of them and build solutions, there are some errors. So...what should I do? Totally confused because I know nothing about VS =_= PS: the guide is here 1 Ehud reacted to this Share this post Link to post Share on other sites
Philipp A Hartmann 220 Report post Posted October 24, 2017 Starting with SystemC 2.3.2, the MSVC project files shipped with the package use the DLL-based runtime library. Therefore it is not necessary (instead rather harmful) to select the statically linked runtime library in your application. Secondly, you should not set the SC_SIGNAL_WRITE_CHECK environment variable to DISABLE (unrelated to your current issue, but suggested in the video above). More instructions on using MSVC with SystemC can be found in the INSTALL file shipped with the proof-of-concept simulator. Hope that helps, Philipp 1 Uwghiello reacted to this Share this post Link to post Share on other sites
Uwghiello 1 Report post Posted October 25, 2017 Thanks a lot! I really appreciate it :D Share this post Link to post Share on other sites
Aaron0127 0 Report post Posted February 27, 2018 I had the same problems, after I set Code Generation in c/c++ tab in project property, these issues are gone. But I get the error "entry point must be defined". How do I fix it? Thanks. Share this post Link to post Share on other sites
maehne 67 Report post Posted February 28, 2018 Do you provide a proper definition of "void sc_main(int argc, char* argv[])" in your application as entry point for your simulation? Have you made sure to not have a function main() defined at the same time? In the latter case you would need to call explicitly sc_elab_and_sim(argc, argv) to hand over control to SystemC for elaboration and simulation (which will include a call to sc_main()). Confer to IEEE Std 1666-2011 clause 4.3 for details. Share this post Link to post Share on other sites