Alexua Posted August 20, 2016 Report Posted August 20, 2016 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. Quote
apfitch Posted August 20, 2016 Report Posted August 20, 2016 Please can you post the syntax error? thanks Alan Quote
Alexua Posted August 20, 2016 Author Report Posted August 20, 2016 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 Quote
Alexua Posted August 20, 2016 Author Report Posted August 20, 2016 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 Quote
apfitch Posted August 21, 2016 Report Posted August 21, 2016 Ah, that's not a SystemC or C++ error, that's an Eclipse error - you might have to post to an Eclipse forum or hope that someone here uses Eclipse. Or try Google, which finds this: http://stackoverflow.com/questions/8148235/eclipse-cdt-shows-semantic-errors-but-compilation-is-ok regard Alan Quote
mayurkubavat Posted August 22, 2016 Report Posted August 22, 2016 See this to configure Eclipse with SystemC libraries. Quote
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.