Menu

Can't install CLIPS on Windows XP (32 bits)

Help
2016-04-23
2016-05-11
  • Sidnei Jacarna

    Sidnei Jacarna - 2016-04-23

    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.

     
  • Sidnei Jacarna

    Sidnei Jacarna - 2016-04-25

    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
  • Gary Riley

    Gary Riley - 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

     
  • Sidnei Jacarna

    Sidnei Jacarna - 2016-04-26

    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):

    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.

     
  • Sidnei Jacarna

    Sidnei Jacarna - 2016-04-28

    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.

     
  • Sidnei Jacarna

    Sidnei Jacarna - 2016-05-05

    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.

     
    • Jianwei Liu

      Jianwei Liu - 2016-05-11

      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

       

Log in to post a comment.