ENIGMA Forums
Outsourcing saves money => Issues Help Desk => Topic started by: ojars on May 28, 2019, 06:12:13 am
-
Hi!
Just installed ENIGMA on a 32 bit windows 8.1 desktop computer, followed instructions from the download page step by step. Started LateralGM from MSYS2 MinGW 32-bit. Then loaded a game "Collapse-game-tutorial.gmk" in LateralGM, pressed Run and the process started. Soon the process stopped with a message "Compile filed at a C++ level". The last line is: C:/Users/Ojars/AppData/Local/ENIGMA/.eobjs/Windows/Windows/Mingw_GCC_G++/Run/Platforms/Win32/WINDOWSexternals.o Platforms/Win32/WINDOWSexternals.cpp
Platforms/Win32/WINDOWSexternals.cpp:44:10: fatal error: ffi.h: No such file or directory
#include <ffi.h>
compilation terminated.
Searched the whole computer - there's no such files on my computer (WINDOWSexternals.o, ffi.h).
Where do I can find them?
-
hi and welcome to the Forums. did a little research so you could try
pacboy -S libffi:i (32bit)
pacboy -S libffi:x (64 bit)
within your msys terminal.
-
I found one of reasons to this bug and paste it on GitHub, so now you should wait when devs fix that, or:
Open enigma-dev\Compilers\Windows\gcc.ey in Notepad++/ any other text editor which show lines
change line 15 to this:
cxxflags: -std=c++11 -I/mingw32/lib/libffi-3.2.1/include -I/mingw64/lib/libffi-3.2.1/include -I../Additional/i686-w64-mingw32/include
[ https://github.com/enigma-dev/enigma-dev/issues/1734 ]
-
A fix has been merged, sorry about the problems, and thanks again to Sociopart!
https://github.com/enigma-dev/enigma-dev/commit/ad7acb3f67a207d3e0fc1da71a2b60536984fab3
-
Thanks for replays. Just fixed and all is OK.