Jump to content
Sign in to follow this  
lgmetzger

sc_core::sc_report at memory location (VS2008)

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...