Jump to content
Sign in to follow this  
Alexua

why could "sc_signal_resolved" not be resolved (eclipse IDE, ubuntu)

Recommended Posts

I am new to systemc in ubuntu 14.04 and I am trying to setup up eclipse for a systemc small project. I followed the the provided README in systemc-2.3.1 and the INSTALL to install the library. I then used tutorial here to set up eclipse.

The problem is that I have a syntax error tell me that sc_signal_resolved could not be resolved.

 

below is a sample of my code:

 #include <systemc.h>

int sc_main(int argc, char ** argv) {
sc_signal_resolved zero, one;

// in the rest of the code I will use the zero and one passing them to some gates.
return(0);
}

Please how do I solve this. In Windows with visual studio I have no problem.

Share this post


Link to post
Share on other sites

Please can you post the syntax error?

 

thanks

Alan

Hallo Alan

 

thanks for replying, hier is the error:

Description Resource Path Location Type Type 'sc_signal_resolved' could not be resolved myprogram.cpp /location/ Semantic Error

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...