Jump to content

Wesley Kirk

Members
  • Content count

    4
  • Joined

  • Last visited

About Wesley Kirk

  • Rank
    Member

Profile Information

  • Gender
    Male
  1. Microsoft Visual Studio Community 2015

    Ah. I guess eventually they will remove its usage from systemc.h then.
  2. Microsoft Visual Studio Community 2015

    I was able to get simple_bus example to build and run properly (output matches golden.log) by commenting out line 118 of systemc.h. Here is the snippet: using std::getc; using std::getchar; // using std::gets; // wkk using std::putc; using std::putchar; Now I just get a few warnings about my compiler being "unknown". 1>------ Rebuild All started: Project: simple_bus, Configuration: Debug Win32 ------ 1> simple_bus_types.cpp 1> simple_bus_tools.cpp 1> simple_bus_master_non_blocking.cpp 1> Unknown compiler version - please run the configure tests and report the results 1> simple_bus_master_direct.cpp 1> Unknown compiler version - please run the configure tests and report the results 1> simple_bus_master_blocking.cpp 1> Unknown compiler version - please run the configure tests and report the results 1> simple_bus_main.cpp 1> Unknown compiler version - please run the configure tests and report the results 1> simple_bus_arbiter.cpp 1> Unknown compiler version - please run the configure tests and report the results 1> simple_bus.cpp 1> Unknown compiler version - please run the configure tests and report the results 1> Generating Code... 1>simple_bus.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/SAFESEH' specification 1> simple_bus.vcxproj -> C:\Users\Wes\Documents\work\systemc\systemc-2.3.1 - Copy\examples\sysc\simple_bus\\Debug\simple_bus.exe ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
  3. Hi, I'm just getting started with SystemC and I'm having trouble getting the examples to work. I have started with simple_bus because it was one of the failing tests under Cygwin64. So I wanted to try Visual C++ because it is supposed to be one of the supported platforms. I downloaded and installed the latest, which is Microsoft Visual Studio Community 2015. I loaded the systemc Solution provided by the SystemC download and it built successfully. I see a systemc.lib in this folder: msvc80\SystemC\Debug Then I loaded the examples Solution, selected the simple_bus project, and then started the build. I get the following errors. Anyone have any ideas? 1>------ Build started: Project: simple_bus, Configuration: Debug Win32 ------ 1> simple_bus_types.cpp 1> simple_bus_tools.cpp 1> simple_bus_master_non_blocking.cpp 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2039: 'gets': is not a member of 'std' 1> c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector(17): note: see declaration of 'std' 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2873: 'gets': symbol cannot be used in a using-declaration 1> Unknown compiler version - please run the configure tests and report the results 1> simple_bus_master_direct.cpp 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2039: 'gets': is not a member of 'std' 1> c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector(17): note: see declaration of 'std' 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2873: 'gets': symbol cannot be used in a using-declaration 1> Unknown compiler version - please run the configure tests and report the results 1> simple_bus_master_blocking.cpp 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2039: 'gets': is not a member of 'std' 1> c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector(17): note: see declaration of 'std' 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2873: 'gets': symbol cannot be used in a using-declaration 1> Unknown compiler version - please run the configure tests and report the results 1> simple_bus_main.cpp 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2039: 'gets': is not a member of 'std' 1> c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector(17): note: see declaration of 'std' 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2873: 'gets': symbol cannot be used in a using-declaration 1> Unknown compiler version - please run the configure tests and report the results 1> simple_bus_arbiter.cpp 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2039: 'gets': is not a member of 'std' 1> c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector(17): note: see declaration of 'std' 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2873: 'gets': symbol cannot be used in a using-declaration 1> Unknown compiler version - please run the configure tests and report the results 1> simple_bus.cpp 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2039: 'gets': is not a member of 'std' 1> c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector(17): note: see declaration of 'std' 1>c:\users\wes\documents\work\systemc\systemc-2.3.1 - copy\src\systemc.h(118): error C2873: 'gets': symbol cannot be used in a using-declaration 1> Unknown compiler version - please run the configure tests and report the results 1> Generating Code... ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  4. make check failure while installing SystemC

    Hi, I get the same error described by the OP and I have the same configuration. Here is the output when I run ./test.exe: Wes@kirk-asus ~/systemc/systemc-2.3.1/examples/sysc/simple_bus $ ./test.exe SystemC 2.3.1-Accellera --- Aug 28 2015 10:54:34 Copyright (c) 1996-2014 by all Contributors, ALL RIGHTS RESERVED and here is the directory listing. Notice that the run.log is empty. Wes@kirk-asus ~/systemc/systemc-2.3.1/examples/sysc/simple_bus $ ll total 789K -rwx---r-x 1 Wes Wes 1013 Apr 18 2014 ChangeLog* -rw----r-- 1 Wes Wes 5.6K Aug 28 13:24 diff.log -rw----r-- 1 Wes Wes 5.4K Aug 28 13:24 expected_trimmed.log -rwx---r-x 1 Wes Wes 5.4K Apr 18 2014 golden.log* -rwx---r-x 1 Wes Wes 1.1K Apr 18 2014 LEGAL* -rwx---r-x 1 Wes Wes 133 Apr 18 2014 Makefile* -rwx---r-x 1 Wes Wes 32K Apr 18 2014 README* -rw----r-- 1 Wes Wes 0 Aug 28 13:24 run.log -rw----r-- 1 Wes Wes 0 Aug 28 13:24 run_trimmed.log -rwx---r-x 1 Wes Wes 14K Apr 18 2014 simple_bus.cpp* -rwx---r-x 1 Wes Wes 3.8K Apr 18 2014 simple_bus.h* -rwx---r-x 1 Wes Wes 11K Apr 18 2014 simple_bus.vcproj* -rwx---r-x 1 Wes Wes 3.5K Apr 18 2014 simple_bus_arbiter.cpp* -rwx---r-x 1 Wes Wes 2.1K Apr 18 2014 simple_bus_arbiter.h* -rwx---r-x 1 Wes Wes 1.8K Apr 18 2014 simple_bus_arbiter_if.h* -rwx---r-x 1 Wes Wes 2.2K Apr 18 2014 simple_bus_blocking_if.h* -rwx---r-x 1 Wes Wes 1.9K Apr 18 2014 simple_bus_direct_if.h* -rwx---r-x 1 Wes Wes 3.6K Apr 18 2014 simple_bus_fast_mem.h* -rwx---r-x 1 Wes Wes 1.7K Apr 18 2014 simple_bus_main.cpp* -rwx---r-x 1 Wes Wes 2.5K Apr 18 2014 simple_bus_master_blocking.cpp* -rwx---r-x 1 Wes Wes 2.5K Apr 18 2014 simple_bus_master_blocking.h* -rwx---r-x 1 Wes Wes 2.2K Apr 18 2014 simple_bus_master_direct.cpp* -rwx---r-x 1 Wes Wes 2.4K Apr 18 2014 simple_bus_master_direct.h* -rwx---r-x 1 Wes Wes 2.9K Apr 18 2014 simple_bus_master_non_blocking.cpp* -rwx---r-x 1 Wes Wes 2.6K Apr 18 2014 simple_bus_master_non_blocking.h* -rwx---r-x 1 Wes Wes 2.1K Apr 18 2014 simple_bus_non_blocking_if.h* -rwx---r-x 1 Wes Wes 2.2K Apr 18 2014 simple_bus_request.h* -rwx---r-x 1 Wes Wes 2.0K Apr 18 2014 simple_bus_slave_if.h* -rwx---r-x 1 Wes Wes 4.5K Apr 18 2014 simple_bus_slow_mem.h* -rwx---r-x 1 Wes Wes 3.6K Apr 18 2014 simple_bus_test.h* -rw----r-- 1 Wes Wes 118K Aug 28 11:16 simple_bus_test-simple_bus.o -rw----r-- 1 Wes Wes 38K Aug 28 11:17 simple_bus_test-simple_bus_arbiter.o -rw----r-- 1 Wes Wes 223K Aug 28 11:17 simple_bus_test-simple_bus_main.o -rw----r-- 1 Wes Wes 28K Aug 28 11:17 simple_bus_test-simple_bus_master_blocking.o -rw----r-- 1 Wes Wes 28K Aug 28 11:17 simple_bus_test-simple_bus_master_direct.o -rw----r-- 1 Wes Wes 28K Aug 28 11:17 simple_bus_test-simple_bus_master_non_blocking.o -rw----r-- 1 Wes Wes 877 Aug 28 11:17 simple_bus_test-simple_bus_tools.o -rw----r-- 1 Wes Wes 607 Aug 13 00:38 simple_bus_test-simple_bus_types.o -rwx---r-x 1 Wes Wes 1.8K Apr 18 2014 simple_bus_tools.cpp* -rwx---r-x 1 Wes Wes 1.8K Apr 18 2014 simple_bus_types.cpp* -rwx---r-x 1 Wes Wes 2.0K Apr 18 2014 simple_bus_types.h* -rwx---r-x 1 Wes Wes 91K Apr 18 2014 SLIDES.pdf* -rwx---r-x 1 Wes Wes 3.5K Apr 18 2014 test.am* -rwx---r-x 1 Wes Wes 27K Aug 28 11:17 test.exe* -rwx---r-x 1 Wes Wes 2.7K Aug 28 13:05 test.sh* When I ran configure, I used these options: ./configure --prefix=/usr/local/systemc-2.3.1 'LN_S=cp -a' Should there be a golden.log in every example directory, because this is the only one I find. See: Wes@kirk-asus ~/systemc/systemc-2.3.1/examples/sysc $ find . -name "golden.log" ./simple_bus/golden.log Thanks, Wes
×