Pages: 1
  Print  
Author Topic: Conflict between Enigma and Embarcadero Delphi  (Read 7325 times)
Offline (Unknown gender) duzzell
Posted on: March 31, 2019, 02:20:27 pm
Member
Joined: Mar 2019
Posts: 3

View Profile Email
I've installed 64-bit Enigma on windows 10 using 64-bit java. I get the following error when I start the lateral ide. I noticed that the error is generate by Embarcadero's make utility and I wonder it this is the problem.

Thanks

C:\msys64\enigma\enigma-dev>java -jar lateralgm.jar
Java Version: 10800 (1.8.0_201)
Loading lib files in C:\msys64\enigma\enigma-dev\lateralgm.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
 05_score.lgl 06_extra.lgl 07_draw.lgl
Calling `make eTCpath="null"`
> MAKE Version 5.41  Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
> Error makefile 37: Command syntax error
> Error makefile 39: Command syntax error
> Error makefile 41: Command syntax error
> Error makefile 56: Colon expected
> *** 4 errors during make ***
1
Process terminated
Thread-5:
java.lang.UnsatisfiedLinkError: Unable to load library 'compileEGMf': Native library (win32-x86-64/compileEGMf.dll) not found in resource path ([file:/C:/msys64/enigma/enigma-dev/plugins/enigma.jar])
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:271)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
        at com.sun.jna.Library$Handler.<init>(Library.java:147)
        at com.sun.jna.Native.loadLibrary(Native.java:412)
        at com.sun.jna.Native.loadLibrary(Native.java:391)
        at org.enigma.EnigmaRunner.attemptLib(EnigmaRunner.java:248)
        at org.enigma.EnigmaRunner.access$1(EnigmaRunner.java:241)
        at org.enigma.EnigmaRunner$3.run(EnigmaRunner.java:179)
java.lang.UnsatisfiedLinkError: Unable to load library 'compileEGMf': Native library (win32-x86-64/compileEGMf.dll) not found in resource path ([file:/C:/msys64/enigma/enigma-dev/plugins/enigma.jar])
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:271)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
        at com.sun.jna.Library$Handler.<init>(Library.java:147)
        at com.sun.jna.Native.loadLibrary(Native.java:412)
        at com.sun.jna.Native.loadLibrary(Native.java:391)
        at org.enigma.EnigmaRunner.attemptLib(EnigmaRunner.java:248)
        at org.enigma.EnigmaRunner.access$1(EnigmaRunner.java:241)
        at org.enigma.EnigmaRunner$3.run(EnigmaRunner.java:179)
Logged
Offline (Unknown gender) time-killer-games
Reply #1 Posted on: March 31, 2019, 03:50:28 pm
"Guest"


Email
did you follow these exact instructions? https://enigma-dev.org/docs/Wiki/Install:Windows

I have Embarcadero Delphi installed as well (the 1 year free version) and I do not have any issues running LGM and enigma on Windows (at least when doing 64-bit enigma)... The only problems i have are with Mac and 32-bit Windows right now, and those errors don't have anything in common with the one you pasted regarding Delphi's version of Make.

I see you have ENIGMA installed under C:\msys64\enigma\ in my case it's in the Documents folder. But that shouldn't make a difference.
« Last Edit: March 31, 2019, 06:43:04 pm by time-killer-games » Logged
Offline (Male) Goombert
Reply #2 Posted on: April 01, 2019, 02:36:15 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
Hi duzzell, tkg is right there. I can't say much without knowing if you've installed Delphi. Will you tell us please? Basically your problem seems to be the Delphi make tool is in your environment path and it's overriding the GCC one in MSYS2. You just need it to find the right make/fix your environment.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) duzzell
Reply #3 Posted on: April 02, 2019, 11:20:54 am
Member
Joined: Mar 2019
Posts: 3

View Profile Email
I followed the instructions exactly. When I had to choose a directory for Enigma I was unable to change to a directory outside of C:\msys64. The msys64 terminal seems to have defined that directory as its root. So, wanting to stick with the instructions, I just made a directory where I was and did the installation.

I too have the 1 year free version of Delphi installed. I renamed Delphi's make.exe and copied msys64's make.exe to the Delphi directory. I got the same compile error when I tried to run the jar file, so I agree that there's a bigger problem with my path.

I will repeat the installation, verrrrry carefully, and see what happens.

Thanks
Logged
Offline (Unknown gender) duzzell
Reply #4 Posted on: April 02, 2019, 12:51:29 pm
Member
Joined: Mar 2019
Posts: 3

View Profile Email
Programmer error. I was running the java command in a windows command window rather than the msys64 terminal. Once I switched everything went fine.

Thank you for your help and your time.

Logged
Offline (Male) Goombert
Reply #5 Posted on: May 17, 2019, 09:13:23 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
You are very welcome, sorry I didn't reply, and that's good, that's why the Wiki is now explicit about telling you which MSYS to run in.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1
  Print