Pages: [1]
  Print  
Author Topic: [SOLVED]LGM/Enigma lib errors  (Read 108 times)
Offline (Unknown gender) sampletext
Posted on: December 04, 2018, 10:21:50 AM
Member
Joined: Nov 2018
Posts: 4

View Profile
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
« Last Edit: December 06, 2018, 01:58:48 PM by sampletext » Logged
Offline (Male) Goombert
Reply #1 Posted on: December 05, 2018, 12:37:52 AM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3068

View Profile
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.
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) sampletext
Reply #2 Posted on: December 05, 2018, 05:41:07 AM
Member
Joined: Nov 2018
Posts: 4

View Profile
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.
« Last Edit: December 05, 2018, 12:38:44 PM by sampletext » Logged
Offline (Unknown gender) sampletext
Reply #3 Posted on: December 06, 2018, 12:00:37 PM
Member
Joined: Nov 2018
Posts: 4

View Profile
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.
« Last Edit: December 06, 2018, 02:01:28 PM by sampletext » Logged
Offline (Male) hpg678
Reply #4 Posted on: December 07, 2018, 12:59:06 AM

Member
Location: Barbados
Joined: Mar 2017
Posts: 210

View Profile Email
 (Y) (Y)


That great news!!
Logged
Hugar
Offline (Male) Goombert
Reply #5 Posted on: December 07, 2018, 10:15:16 AM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3068

View Profile
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.
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