olá 0 Report post Posted November 1, 2017 Hey everybody, I'm still new with SystemC. So I'm referring to the first steps: Using Ubuntu I had now problems installing SystemC and getting succesful regression tests. However, my regression tests in Windows with VS2015 and VS2017 ended with 4% or 0%. I've used Cygwin to build the library. Do you have any idea which could have caused the low percentage? What would happen, if I use systemc in this case? Thank you very much for you answer in advance. Quote Share this post Link to post Share on other sites
Philipp A Hartmann 238 Report post Posted November 1, 2017 When you use MSVC 2015/2017, did you make sure to use SystemC 2.3.2? Earlier SystemC versions did not support such recent versions of MSVC. When you say "regression tests", do you mean the SystemC regression test suite? If so, please check the accompanying README_windows.txt for any steps you might have missed. If this still doesn't help, please post some more details on what exact errors you see. Greetings from Duisburg, Philipp Quote Share this post Link to post Share on other sites
AmeyaVS 30 Report post Posted November 1, 2017 Hello @olá, Currently the library built with Cygwin is not directly compatible with the Visual Studio setup. You can build the SystemC library using CMake and Visual Studio Compiler like this: // extract the systemc library //////////////////////////////////////// // vvvvvvvvvvv Important vvvvvvvvvvvvvvvv // open the Visual Studio Command Prompt. // Ensure you have CMake installed and in the PATH environment variable. ///////////////////////////////////////// // cd to systemc library extracted location. // Create a build directory mkdir build // Change into the build directory. cd build // Run CMake configuration // Check the CMake documentation for the Correct Visual Studio Generator Value. cmake -G "Visual Studio 14 2015 Win64" .. // Run the build cmake --build . --config Debug // Open the SystemCLanguage.sln file in the Visual Studio chosen previously. Note: In-case you are completely developing in Cygwin environment you can follow the same steps to build SystemC library and run the regression suite as in a Linux environment. You need to enable pthreads in the SystemC configuration, since the QuickThreads implementation is currently broken in Cygwin 64-bit environment. Best Regards, Ameya Vikram Singh Quote Share this post Link to post Share on other sites