ENIGMA Forums

Outsourcing saves money => Issues Help Desk => Topic started by: sampletext on December 04, 2018, 10:21:50 am

Title: [SOLVED]LGM/Enigma lib errors
Post by: sampletext on December 04, 2018, 10:21:50 am
Hello!
I have a problem with enigma library.
1. I cannot build emake: no grpc_cpp_plugin. How to install it on MSYS2? I don't see it in packages/repos, .sh file from MSYS wiki don't work too.
2. LGM cannot compile apps, i see the buttons, but they are turned off. I think that the problem with my PATH, but i can't fix that. MSYS32\mingw32\bin don't work too.
3. 64-bit CompileEGMF don't work on latest LateralGM.
So, what i need to do? Please, help me in this situation.

P.S. Can ENIGMA run without MSYS environment at all with only mingw32 installed?
--------------------------------------------------------------------
by the way, some details:
My PATH contains only msys dir: C:\msys32\usr\bin
I'm using portable Java 8.0 x32, packed with Launch4j, so, the installation and PATH for it is not needed.
ENIGMA is installed in C:\ENIGMA
OS: Windows 7 SP1 x32\ Windows 10 LTSB 2016 x64
Title: Re: LGM/Enigma lib errors
Post by: Goombert on December 05, 2018, 12:37:52 am
Quote
3. 64-bit CompileEGMF don't work on latest LateralGM.
Quote
I'm using portable Java 8.0 x32, packed with Launch4j, so, the installation and PATH for it is not needed.

This is the problem, you have to use a Java that is the same architecture as compileEGMf. A 64 bit Windows process can not load a 32 bit dll, and this is true for Java as well. If your computer can run the 64 bit version, then you should use a 64 bit Java with a 64 bit MSYS2, which actually will still allow you to build 32 bit games if you separately install the 32 bit versions of the packages at the same time (though nobody has really experimented with doing so yet). RadialGM will not have this issue.
Title: Re: LGM/Enigma lib errors
Post by: sampletext on December 05, 2018, 05:41:07 am
I test this on ALL 32bit components already - it does the same error.
make utility is crashed on building EMAKE, but protobuf was installed.
LGM shows only icons (compile/debug/etc), but this buttons are inactive and i can't compile.
Title: Re: LGM/Enigma lib errors
Post by: sampletext on December 06, 2018, 12:00:37 pm
FIXED.
If you had the same errors, you need:
1. Build the project with MINGW32(64) shell, not MSYS2.
2. install grpc package:
for x86_64:
pacman -Sy mingw-w64-i686-grpc
for x64:
pacman -Sy mingw-w64-grpc
for x32:
pacman -Sy mingw-i686-grpc

3. To get compiler working, launch it with MSYS2 terminal with some tweaks (see Wiki) to initialize it correctly.
Title: Re: [SOLVED]LGM/Enigma lib errors
Post by: hpg678 on December 07, 2018, 12:59:06 am
 (Y) (Y)


That great news!!
Title: Re: [SOLVED]LGM/Enigma lib errors
Post by: Goombert on December 07, 2018, 10:15:16 am
That's good, everybody note this, I may have to tweak the Wiki a bit to mention that you should do it from the MinGW32 terminal for 32 bit.