Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. REQUEST ASSISTANCE IN INTERGRATING CLIPS SOURCE CODE INTO QT CREATOR INTERFACE PROJECT
Forum Updated to NodeBB v4.3 + New Features

REQUEST ASSISTANCE IN INTERGRATING CLIPS SOURCE CODE INTO QT CREATOR INTERFACE PROJECT

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 281 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    ivanmogapi123
    wrote on 24 Apr 2024, 13:04 last edited by
    #1

    Good day
    I am currently undertaking a project which uses the clips ide and qt creator for interface design(c++).I need assistance in integrating clips source code into the qt creator interface project. So far on my project I have created the clips source code in clips ide and now when I have to integrate the source code in to the interface project in qt creator, I am experiencing errors which indicates that the system failed to connect to the clips libraries. So now all in all, it fails to create the environment which is needed to establish the communication between clips ide and the interface.

    Regards
    Ivan Mogapi

    J R 2 Replies Last reply 25 Apr 2024, 05:43
    0
    • I ivanmogapi123
      24 Apr 2024, 13:04

      Good day
      I am currently undertaking a project which uses the clips ide and qt creator for interface design(c++).I need assistance in integrating clips source code into the qt creator interface project. So far on my project I have created the clips source code in clips ide and now when I have to integrate the source code in to the interface project in qt creator, I am experiencing errors which indicates that the system failed to connect to the clips libraries. So now all in all, it fails to create the environment which is needed to establish the communication between clips ide and the interface.

      Regards
      Ivan Mogapi

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 25 Apr 2024, 05:43 last edited by
      #2

      @ivanmogapi123 Please don't use all upper case letters.

      Not sure I understand what you are doing. You write some C++ code in one IDE (Clips) and you want to use this code then in QtCreator? Is there a reason why you want to use two IDEs? If you really want to do it this way then you have two possibilities:

      1. Add the source code created in Clips to your Qt project
      2. Compile your code created in Clips as a library and add this library to your Qt project

      Your description sounds like you tried 2 but failed. In this case please provide more information:

      1. How did you add the libs to your Qt project?
      2. What errors did you get?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      I 1 Reply Last reply 25 Apr 2024, 14:07
      2
      • J jsulm
        25 Apr 2024, 05:43

        @ivanmogapi123 Please don't use all upper case letters.

        Not sure I understand what you are doing. You write some C++ code in one IDE (Clips) and you want to use this code then in QtCreator? Is there a reason why you want to use two IDEs? If you really want to do it this way then you have two possibilities:

        1. Add the source code created in Clips to your Qt project
        2. Compile your code created in Clips as a library and add this library to your Qt project

        Your description sounds like you tried 2 but failed. In this case please provide more information:

        1. How did you add the libs to your Qt project?
        2. What errors did you get?
        I Offline
        I Offline
        ivanmogapi123
        wrote on 25 Apr 2024, 14:07 last edited by
        #3

        @jsulm
        When I try to load up the code which must create environment for clips in qt creator interface , it says undefined reference to Create environment and undefined reference to Load(environmentData*, char const*) which by how I understand the library files have not been added

        But then again when I try to configure clips so that I can run the makeup file which adds libraries, it says make is not recognized as internal or external command despite the efforts I made to rightly install minGw and added it to system variables

        J 1 Reply Last reply 26 Apr 2024, 05:18
        0
        • I ivanmogapi123
          25 Apr 2024, 14:07

          @jsulm
          When I try to load up the code which must create environment for clips in qt creator interface , it says undefined reference to Create environment and undefined reference to Load(environmentData*, char const*) which by how I understand the library files have not been added

          But then again when I try to configure clips so that I can run the makeup file which adds libraries, it says make is not recognized as internal or external command despite the efforts I made to rightly install minGw and added it to system variables

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 26 Apr 2024, 05:18 last edited by
          #4

          @ivanmogapi123 said in REQUEST ASSISTANCE IN INTERGRATING CLIPS SOURCE CODE INTO QT CREATOR INTERFACE PROJECT:

          made to rightly install minGw and added it to system variables

          This is not needed. Install MinGW provided via Qt Online Installer and do not modify PATH.
          Please provide more details, else others can only guess what you're doing and what exactly doesn't work! Provide exact error messages and your pro file (or CMakeLists.txt if you're using CMake). There is NO need to modify generated Makefile!

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • I ivanmogapi123
            24 Apr 2024, 13:04

            Good day
            I am currently undertaking a project which uses the clips ide and qt creator for interface design(c++).I need assistance in integrating clips source code into the qt creator interface project. So far on my project I have created the clips source code in clips ide and now when I have to integrate the source code in to the interface project in qt creator, I am experiencing errors which indicates that the system failed to connect to the clips libraries. So now all in all, it fails to create the environment which is needed to establish the communication between clips ide and the interface.

            Regards
            Ivan Mogapi

            R Offline
            R Offline
            Rochus
            wrote on 30 Apr 2024, 22:41 last edited by
            #5

            @ivanmogapi123 said

            which uses the clips ide and qt creator for interface design(c++)

            Do I understand you correctly, that you have a CLIPS based expert system for which you want to build a Qt based GUI? The CLIPS IDE is not identical with the CLIPS VM, but an editor provided to interact with the IDE on Macintosh. So I guess you don't want to integrated the IDE with Qt, but the VM instead. The VM is available as a static or dynamic library which can be integrated with a C++ project (as any other C library).

            need assistance in integrating clips source code into the qt creator interface

            I assume you mean the CLP files by "clips source code", i.e. not the source code of the CLIPS VM, isn't it? If so, you first and foremost have to integrate the CLIPS VM with your project (as mentioned it is a C shared or static library). Then you have to add code to your C++ project which interacts with the CLIPS VM, i.e. loads and runs your CLP files and accepts the text output of the VM.
            But I'm not sure what you mean by "integrate .. into qt creator interface". Does this mean that you would like to use Qt Creator to develop CLP files?

            1 Reply Last reply
            0

            1/5

            24 Apr 2024, 13:04

            • Login

            • Login or register to search.
            1 out of 5
            • First post
              1/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved