REQUEST ASSISTANCE IN INTERGRATING CLIPS SOURCE CODE INTO QT CREATOR INTERFACE PROJECT
-
wrote on 24 Apr 2024, 13:04 last edited by
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 -
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@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:
- Add the source code created in Clips to your Qt project
- 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:
- How did you add the libs to your Qt project?
- What errors did you get?
-
@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:
- Add the source code created in Clips to your Qt project
- 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:
- How did you add the libs to your Qt project?
- What errors did you get?
wrote on 25 Apr 2024, 14:07 last edited by@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 addedBut 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
-
@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 addedBut 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
@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! -
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 Mogapiwrote on 30 Apr 2024, 22:41 last edited by@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/5