Jayasantosh Annaram Posted July 21, 2019 Report Posted July 21, 2019 Hi, I'm trying to setup in SystemC 2.3.3 in visual studio 2019. I'm getting the following errors while try to build. Quote
swami060 Posted July 21, 2019 Report Posted July 21, 2019 The errors seem to be link-time errors. * The first thing I would check would be to see if SystemC.lib/path has been properly listed in the Project properties window of your example. * If that is fine, then the next item to check would be to see if the SystemC library that you are linking against is the same as the one used for building your example (x86 debug). * If that's also fine, check for the /MD /MDd /MT /MTd option match for your example and SystemC build options. Quote
SiGa Posted September 2, 2019 Report Posted September 2, 2019 I run SystemC in VisualStudio2015. I found this post very helpful, even though it is vor VS2013. https://stackoverflow.com/q/41990606/6574400 Quote
mostafasaid Posted March 28, 2020 Report Posted March 28, 2020 use the steps in that video except the step of project properties -> c/c++ (code Generation) -> Runtime Library -> leave it Multi-threaded Debug DLL (/MDd) this what works with me on of the already downloaded examples in systemc; in specific fft_flpt to avoid resetting the properties for each project you create, simply do not create, just copy and paste fft_flpt project folder and add your new cpp and h files there Quote
dave0 Posted March 31, 2020 Report Posted March 31, 2020 Has anyone gotten SystemC 2.3.3 to work on Visual Studio 2019? If so, could you please post the steps that you followed? The problem I am hitting is that SystemC ships with a version of Boost that is so old that it is not verified on VS 2019 and throws a compile-time error. Is there any chance that the maintainers of SystemC might do a new release that updates that Boost and VS versions? That would sure be nice. Quote
maehne Posted April 2, 2020 Report Posted April 2, 2020 Could you please be more specific and post the error messages, you are receiving when building SystemC 2.3.3 with VS 2019? Also, have you tried it with the most recent development state from the public SystemC Git repository of Accellera? Quote
AmeyaVS Posted April 2, 2020 Report Posted April 2, 2020 (edited) Hello @dave0, As suggested by @maehne use the public git repository available here: https://github.com/accellera-official/systemc Prerequisites: Working Microsoft Studio Environment Windows CMake Binary release: https://cmake.org/download/ Ensure CMake executable is available in the command line.(cmd.exe) Git Windows installation from: https://git-scm.com/ Ensure Git command is accessible from command line(cmd.exe) Here are the highlight of the steps involved: git clone https://github.com/accellera-official/systemc cd systemc mkdir buildDebug cd buildDebug CMake Configuration cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_EXTENSIONS=OFF -DCMAKE_INSTALL_PREFIX="C:\Users\<YOUR_USER_ID>\Desktop\systemc-install" .. Building SystemC Library: cmake --build . --config Debug Running Sanity tests to validate the built library is functional(optional) cmake --build . --config Debug --target examples/check This should run all the examples available with SystemC release and all of them should pass without any failures. SystemC library installation: cmake --build . --config Debug --target install Hope this helps. Let us know in case you face any issues setting it up. Note: Also, refer here for SystemC 2.3.4 public review tagged release, only use the master branch version which seems to have fixes for MSVC2017/2019. Regards, Ameya Vikram Singh Edited April 2, 2020 by AmeyaVS Fix Spelling issue and added reference to SystemC build issue on MSVC 2017/2019 Quote
Recommended Posts
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.