Menu

RUN-TIME how to do?

Help
2010-03-04
2012-11-23
  •  ihavenoidea

    ihavenoidea - 2010-03-04

    hi
    i want to make a run-time programm…
    i loaded all my deffact deftemplatest defrules and so on in thie clips dialog window and print in the (constructs-to-c ) code
    now clips make some data in c-file
    but thea apg-manual say in Section 5 - Creating a CLIPS Run-time Program that i have to do something with the setup.h data but i have no data named setup.h could somebody help me or tell me whats wrong??

     
  • B.J. Johnson

    B.J. Johnson - 2010-03-04

    CLIPS needs some extra stuff to be able to create a "run time module."

    Part of step one in section 5 says:

    "Constraint information associated with constructs is not saved to the C files generated by the
    constructs-to-c command unless dynamic constraint checking is enabled (using the setdynamic-
    constraint-checking command)."

    also:

    "The constructs-to-c command is not available in the standard CLIPS distribution
    executable. Users wishing to create a run-time program must recompile CLIPS to include
    this capability (see section 2.2 for information on tailoring CLIPS and the
    CONSTRUCT_COMPILER setup flag)."

    Have you re-compiled CLIPS?  If not, you need to download the source code and do so.  This is also (probably) where the "setup.h" file exists which is mentioned in step 2 of the procedure.

     
  •  ihavenoidea

    ihavenoidea - 2010-03-05

    thank you for this information
    i will do it in this way

     

Log in to post a comment.