Advice compiling spring mingw 64

Advice compiling spring mingw 64

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
TurBoss
Jauria RTS Developer
Posts: 89
Joined: 27 Jan 2014, 01:04

Advice compiling spring mingw 64

Post by TurBoss »

Hi

I'm trying to compile spring with 64 bits support using mingw64

but I'm lost at the point when cmake checks for java

http://paste.springfiles.com/view/b16f30f6

and how I can tell spring to check for mingwlibs 64 instead of mingwlibs

thx

PD: I'm sure I will have more problems xD
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Advice compiling spring mingw 64

Post by Super Mario »

1.There is no 64 bit version of the libraries yet, you ether have to compile the libraries yourself or set the flags of the mingw 64 compiler to compile for the 32 bit version. (see doc in the wiki).
2.The java is used for the Ai, you can set the Ai to none to ignore it.
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: Advice compiling spring mingw 64

Post by hokomoko »

TurBoss wrote: but I'm lost at the point when cmake checks for java
Set AI_TYPES=NATIVE in cmake
User avatar
TurBoss
Jauria RTS Developer
Posts: 89
Joined: 27 Jan 2014, 01:04

Re: Advice compiling spring mingw 64

Post by TurBoss »

I have java installed and in the system path
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Advice compiling spring mingw 64

Post by Super Mario »

TurBoss wrote:I have java installed and in the system path
And? Did you follow the advise that hokomoko give you?
User avatar
TurBoss
Jauria RTS Developer
Posts: 89
Joined: 27 Jan 2014, 01:04

Re: Advice compiling spring mingw 64

Post by TurBoss »

yes yes

i was able to skip the error thx
Post Reply

Return to “Engine”