lgmetzger Posted June 7, 2013 Report Share Posted June 7, 2013 Hi! I found some similar topics but none of them actually solved my problem. I configured Visual Studio and compiled SystemC according to the instructions in the INSTALL file. But when I try to run any of the examples, the prompt window flashes on the screen and I get this output: 'simple_perf.exe': Loaded 'C:\systemc\systemc-2.3.0\examples\sysc\simple_perf\Debug\simple_perf.exe', Symbols loaded. 'simple_perf.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll' 'simple_perf.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll' 'simple_perf.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll' The program '[4628] simple_perf.exe: Native' has exited with code 0 (0x0). So I tried creating and running a test project scracth. In this case, I get the following output: 'teste_sc.exe': Loaded 'C:\Users\LG\Documents\Visual Studio 2008\Projects\teste_sc\Debug\teste_sc.exe', Symbols loaded. 'teste_sc.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll' 'teste_sc.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll' 'teste_sc.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll' 'teste_sc.exe': Loaded 'C:\Program Files\AVAST Software\Avast\snxhk.dll' First-chance exception at 0x75ddc41f in teste_sc.exe: Microsoft C++ exception: sc_core::sc_report at memory location 0x0036e388.. The program '[1172] teste_sc.exe: Native' has exited with code 1 (0x1). I triple checked the configurations (RTTI is enabled, /vmg added) but nothing seems to work. Any help is much appreciated. Thank you! Quote Link to comment Share on other sites More sharing options...
apfitch Posted June 7, 2013 Report Share Posted June 7, 2013 I would go back to the simple_perf example. Try running it in non-debug mode (I think you can type Ctrl-F5 in Visual C++). That let's the command window stay on the screen. If you run in debug mode, the command window disappears. If you want to run in debug mode but keep the command window, set a breakpoint after the return from sc_start(), regards Alan Quote Link to comment Share on other sites More sharing options...
lgmetzger Posted June 10, 2013 Author Report Share Posted June 10, 2013 Yeah, that was a pretty dumb "problem" haha This is my first time both with SystemC and VS But thanks! Quote Link to comment Share on other sites More sharing options...
apfitch Posted June 11, 2013 Report Share Posted June 11, 2013 We all had to start somewhere :-) Alan Quote Link to comment Share on other sites More sharing options...
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.