Pages: 1
  Print  
Author Topic: cross compilation errors  (Read 1229 times)
Offline (Unknown gender) gra
Posted on: April 05, 2013, 12:30:56 AM

Member
Joined: Feb 2013
Posts: 147

View Profile
i have applyed the windows patch , i have same problem that i have forgot of post


this error give me mingw32
Code: [Select]
.eobjs/Linux/Windows/Run/Universal_System/Extensions/DataStructures/data_structures.o Universal_System/Extensions/DataStructures/data_structures.cpp
make[1]: i486-mingw32-g++: command not found


if you know solution
mingw 64 another error  >:(


Code: [Select]
make[1]: ***  not rules for generate objective "../additional/Windows/alure/Makefile".  arrest.
make[1]: exit directory "/home/laferd/enigma-dev/ENIGMAsystem/SHELL"
make: *** [Game]error2
make[1]: ***  not rules for generate objective"../additional/Windows/alure/Makefile".  arrest.
make[1]: exit directory "/home/laferd/enigma-dev/ENIGMAsystem/SHELL"
make: *** [Game] error 2

i traslate the italian comment
Logged
Offline (Male) polygone
Reply #1 Posted on: April 05, 2013, 12:46:38 AM

Contributor
Location: England
Joined: Mar 2009
Posts: 803

View Profile
How did you download enigma? Did you download it in the past few days with the new enigma zip?
Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Male) Josh @ Dreamland
Reply #2 Posted on: April 05, 2013, 08:36:55 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2958

View Profile Email
He's on Linux, polygone.

Anyway, gra, it seems that i486-mingw32-g++ is not the correct name of the cross-compiler. It also appears that MinGW-Make sucks on Linux just as bad as it does Windows. In Compilers/Linux/mingw.ey, make sure that the binary names are correct, and just use regular make in place of the MinGW version.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) gra
Reply #3 Posted on: April 05, 2013, 09:14:31 AM

Member
Joined: Feb 2013
Posts: 147

View Profile
Quote
He's on Linux,
sorry i don't have tell the SO, i'm on ubuntu
ok the file enigma-dev/Compilers/Linux/MinGW32.ey is modified in this
http://pastebin.com/s4eySnUf
mmhh
Quote
Platforms/Win32/externals.cpp:32:17: fatal error: ffi.h
strange , libffi-dev is istalled
with search i try with josh old tip
Quote
cxxflags: `pkg-config --cflags ffi`
the libs not loaded
one person says in a compilation error of other program :"Resolved by manually setting LIBFFI_CFLAGS for location of ffi.h in configure"
i try to add flag,
EDIT
i have try with idea , in
enigma-dev/ENIGMAsystem/SHELL/Platforms/Win32
i have modify include.h file
Quote
#include "ffi.h"
#include "ffitarget.h"
#include "WINDOWSStd.h"
#include "WINDOWSmain.h"
#include "file_manip.h"
and place the libs h
 "ffi.h""ffitarget.h" in Win32 folder, but same error
« Last Edit: April 05, 2013, 10:03:56 AM by gra » Logged
Pages: 1
  Print