I'm trying to install CLIPS on my Windows XP SP2 (32 bits). I downloaded the clips_windows_executables_630.zip and clips_windows_32_bit_executables_630.msi files from SourceForge, but when I try to install any of them, I got a message:
"(null) is not a valid Win32 application"
What is going on? What can I do to successfully install CLIPS?
Any help will be appreciated.
Thanks in advance.
Sidnei.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded and installed the executables on a computer running 32-bit Windows 10 and also 64-bit Windows 7 without issues. If you use a search engine for "(null) is not a valid Win32 application", there are a large number of hits including:
I ran System File Checker on my 32-bits Windows XP computer and no errors were found.
I also tried to run CLIPS on 2 other computers with Windows XP without success. It only worked on a 64-bits Windows Seven (both 32- and 64-bits versions of CLIPS; IDE and DOS).
I'm not an expert, but in my search at Google I found that the problem could be on the version of Microsoft Visual Studio used to build the exe files. The problem could be solved by using an old MVS 2008 to compile the project; version 2010 or newer could fail on Windows XP.
Can you check the MVS version, please?
(I'll try to learn how to compile with MVS 2008, but it would take some time...)
Also, is it possible to run CLIPS on Linux? This could be a solution for me, as I have a basic knowledge of Linux.
Best regards,
Sidnei.
EDIT: I've found a topic in other forum teaching how to use CLIPS on Linux. I'll try that later at home.
Last edit: Sidnei Jacarna 2016-04-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The executables were compiled using Visual Studio 2015. You can run CLIPS on Linux--You just need to recompile the core source code as described in the Advanced Programming Guide. I've tested it with Ubuntu Linux 14.04. For a one-time compile, just dump the core source in a directory and use:
gcc -o clips -DLINUX=1 *.c -lm
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1- on Windows: tryed to use Visual Studio 2008. It show that the SLN file was created at a newer version of VS and it can't be open. So I tryed to modify the SLN file to match VS 2008 (changed the "version" of the first 2 lines of the file to VS 2008, version 9) without success too.
2- on Linux: can't compile CLIPS. It shows some message errors and doesn't compile.
This is the message (I use Linux SliTaz, newest version):
tux@slitaz:~/Downloads/clips_core_source_630/core$ gcc -o clips -DLINUX=1 *.c -lm
In file included from /usr/include/bits/posix1_lim.h:157:0,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i486-slitaz-linux/4.6.3/include-fixed/limits.h:169,
from /usr/lib/gcc/i486-slitaz-linux/4.6.3/include-fixed/syslimits.h:7,
from /usr/lib/gcc/i486-slitaz-linux/4.6.3/include-fixed/limits.h:34,
from scanner.c:41:
/usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: Arquivo ou diretório não encontrado
compilation terminated.
In file included from /usr/include/signal.h:339:0,
from sysdep.c:141:
/usr/include/bits/sigcontext.h:28:29: fatal error: asm/sigcontext.h: Arquivo ou diretório não encontrado
compilation terminated.
(OBS: "Arquivo ou diretório não encontrado" = "File or directory not found".)
Also tryed "gcc -o clips *.c -lm", but the errors are almost the same.
Is it possible to compile CLIPS using VS 2008, to work on Windows XP, please?
Thanks in advance.
Best regards,
Sidnei.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For Windows, download the core clips source, clips_core_source_630.zip from SourceForge. Move the makefile.win file into the core directory. Locate vcvarsall.bat in the Visual Studio directories and run from the Command Prompt application. Navigate to the core directory and enter the command "nmake -f makefile.win" which creates a dos executable.
If you want to create a CLIPS project for VS 2008, I'd suggest downloading the CLIPS 6.24 projects, which were created with VS 2003, and open them with VS 2008. You should get the option to update them. Once you get that working you could then swap out the 6.24 source code with the 6.30 source code.
For Linux, based on a web search for errors you're getting, I think you need to install the headers you're missing:
I encountered the same problem when I tried to install the CLIPS on windows xp.
It seems that you have successfully complied CLIPS at windows xp?
What kind of excutable file you obtained? Dos or IDE?
Looking for your meassage.
Best regards,
Jianwei Liu
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everybody!
I'm trying to install CLIPS on my Windows XP SP2 (32 bits). I downloaded the clips_windows_executables_630.zip and clips_windows_32_bit_executables_630.msi files from SourceForge, but when I try to install any of them, I got a message:
"(null) is not a valid Win32 application"
What is going on? What can I do to successfully install CLIPS?
Any help will be appreciated.
Thanks in advance.
Sidnei.
I downloaded and installed the executables on a computer running 32-bit Windows 10 and also 64-bit Windows 7 without issues. If you use a search engine for "(null) is not a valid Win32 application", there are a large number of hits including:
http://blog.speedupwindows.org/Null_Is_Not_A_Valid_Win32_Application.html
http://www.errorfixwiki.com/Null_Is_Not_A_Valid_Win32_Application.html
Based on these, I'd suggest running the System File Checker to verify that Windows does not have any corrupted system files:
https://support.microsoft.com/en-us/kb/929833
Hello Mr. Riley!
Thanks for your answer.
I ran System File Checker on my 32-bits Windows XP computer and no errors were found.
I also tried to run CLIPS on 2 other computers with Windows XP without success. It only worked on a 64-bits Windows Seven (both 32- and 64-bits versions of CLIPS; IDE and DOS).
I'm not an expert, but in my search at Google I found that the problem could be on the version of Microsoft Visual Studio used to build the exe files. The problem could be solved by using an old MVS 2008 to compile the project; version 2010 or newer could fail on Windows XP.
Can you check the MVS version, please?
(I'll try to learn how to compile with MVS 2008, but it would take some time...)
Also, is it possible to run CLIPS on Linux? This could be a solution for me, as I have a basic knowledge of Linux.
Best regards,
Sidnei.
EDIT: I've found a topic in other forum teaching how to use CLIPS on Linux. I'll try that later at home.
Last edit: Sidnei Jacarna 2016-04-25
The executables were compiled using Visual Studio 2015. You can run CLIPS on Linux--You just need to recompile the core source code as described in the Advanced Programming Guide. I've tested it with Ubuntu Linux 14.04. For a one-time compile, just dump the core source in a directory and use:
gcc -o clips -DLINUX=1 *.c -lm
Hello Mr. Riley!
Unfortunately, I had no success compiling CLIPS:
1- on Windows: tryed to use Visual Studio 2008. It show that the SLN file was created at a newer version of VS and it can't be open. So I tryed to modify the SLN file to match VS 2008 (changed the "version" of the first 2 lines of the file to VS 2008, version 9) without success too.
2- on Linux: can't compile CLIPS. It shows some message errors and doesn't compile.
This is the message (I use Linux SliTaz, newest version):
(OBS: "Arquivo ou diretório não encontrado" = "File or directory not found".)
Also tryed "gcc -o clips *.c -lm", but the errors are almost the same.
Is it possible to compile CLIPS using VS 2008, to work on Windows XP, please?
Thanks in advance.
Best regards,
Sidnei.
For Windows, download the core clips source, clips_core_source_630.zip from SourceForge. Move the makefile.win file into the core directory. Locate vcvarsall.bat in the Visual Studio directories and run from the Command Prompt application. Navigate to the core directory and enter the command "nmake -f makefile.win" which creates a dos executable.
If you want to create a CLIPS project for VS 2008, I'd suggest downloading the CLIPS 6.24 projects, which were created with VS 2003, and open them with VS 2008. You should get the option to update them. Once you get that working you could then swap out the 6.24 source code with the 6.30 source code.
For Linux, based on a web search for errors you're getting, I think you need to install the headers you're missing:
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwjS7_aUnq_MAhUESCYKHeHYB6MQFggdMAA&url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F30624829%2Fno-such-file-or-directory-limits-h-when-installing-pillow-on-alpine-linux&usg=AFQjCNEBxRYanPCWLDiaFttCsv9YD2nPRg&sig2=6b4D9eblrhnNtUbmF4Po8w
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwjml-uon6_MAhVE0GMKHS77CvIQFggdMAA&url=http%3A%2F%2Fforums.justlinux.com%2Fshowthread.php%3F145060-SOLVED-linux-limits-h-no-such-file-or-directory-Please-help&usg=AFQjCNEHgvX_95dFLOwo9kJ3K71tNMvblQ&sig2=VUcmP_0KehtbTP1lfNGk6Q
https://stat.ethz.ch/pipermail/r-help/2008-June/164718.html
Thank you Mr. Riley for your information.
I'll try the procedures (Windows and Linux) at the weekend and then give you a feedback.
Best regards,
Sidnei.
Hello Mr. Riley! Sorry for delay.
I successfully compiled CLIPS at Windows and Linux using your tips above.
Thank you very much for your time and patience.
Best regards,
Sidnei.
Hello Mr. Jacarna,
I encountered the same problem when I tried to install the CLIPS on windows xp.
It seems that you have successfully complied CLIPS at windows xp?
What kind of excutable file you obtained? Dos or IDE?
Looking for your meassage.
Best regards,
Jianwei Liu