CLIPSJNI under 64-bit Windows Vista

Help
2009-07-10
2012-11-23
  • Aleksej Lukyanets

    Dear developers of CLIPS,

    I've got a trouble running CLIPSJNI dll-library under 64-bit Windows Vista with 64-bit Intel Pentium processor. NetBeans in compilling my Java-project shows the following error:

    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: D:\Мои документы\NetBeansProjects\Fuzzy\CLIPSJNI.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at CLIPSJNI.Environment.<clinit>(Environment.java:25)
            at org.jdesktop.application.Application$1.run(Application.java:171)

    Because of Java's link to 32-bit dll I thought the problem is in it. Googling the Internet I found out that 32-bit-compiled dlls do not work with 64-bit systems.

    I tried to recompile dll-library as noted in CLIPSJNI manual, using command "nmake -f makefile.win", but the compiler stops working on the following string (from makefile.win):

            cl -c -DWIN_MVC -DALLOW_ENVIRONMENT_GLOBALS=0 /I"D:\Program Files\Java\jdk1.6.0_12\include" /I"D:\Program Files\Java\jdk1.6.0_12\include\win32" $<

    and Windows shows the message about closing compiler with error.

    Trying to accurate Java-path in makefile.win have not got succes.

    Would you mind asking, if there exist any CLIPSJNI dll-library for using under 64-bit Windows, or how I could recompile it's source code with no errors?

    Best regards, Aleksej.

     
    • Gary Riley

      Gary Riley - 2009-07-13

      There is no library for use with 64-bit Windows. I don't have a computer running with 64-bit Windows, so I can't tell you what to do to make it work in that environment.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks