Email: bknpk@hotmail.com Phone: +972-54-7649119


V

 

Error during compilation of SCV example.

  1. I have installed systemc and SCV. see link.
    Part of my study was to run some examples. The TLM examples ran with no problem. The systemc simple bus example, required some minor changes: see link.

    SCV examples had some problems. In this page I show the error, the fix, as well as the example SCV code and the Makefile.

  2. The error message was:

    test.cpp:19:3: error: there are no arguments to _scv_pop_constraint that depend on a template parameter, so a declaration of _scv_pop_constraint must be available [-fpermissive]

    The fix was to add an empty definition, which will be resolved later:

    //Pini - This file is linked later.
    void _scv_pop_constraint();

  3. The simple example code as well as my makefile can be seen from:
    see link.
    see link.

  ...


Search This Site


Feedback This Site




new pages on this site