[URGENT]64bit unitsync issue
Moderator: Moderators
[URGENT]64bit unitsync issue
I have a rather large issue here.
Unitsync is always 32bit under windows
No 64bit library is provided.
So if I or an end user has a 64bit Java they're totally f*cked. Theyd have to install 32bit java runtime at which point the updater sees you have a 64bit OS and installs the correct version of the new java which is as expected 64bit.
We need to sort this out. I suggest a unitsync64.dll to be bundled with spring.
In the mean time if someone can compile a 64bit Unitsync I can use as at the moment I cannot do anything with battlehub regarding spring or battles as a result of this.
Unitsync is always 32bit under windows
No 64bit library is provided.
So if I or an end user has a 64bit Java they're totally f*cked. Theyd have to install 32bit java runtime at which point the updater sees you have a 64bit OS and installs the correct version of the new java which is as expected 64bit.
We need to sort this out. I suggest a unitsync64.dll to be bundled with spring.
In the mean time if someone can compile a 64bit Unitsync I can use as at the moment I cannot do anything with battlehub regarding spring or battles as a result of this.
Re: [URGENT]64bit unitsync issue
BUMP
This is a major roadblock, and something that has been blatantly ignored by spring developers for the last year. 64bit users should not have to manually install 32bit software to use spring to get around installer and updaters which correctly install 64bit Software on 64bit Operating systems. Nor should they have to figure out how to build unitsync in 64bit mode themselves.
This is a major roadblock, and something that has been blatantly ignored by spring developers for the last year. 64bit users should not have to manually install 32bit software to use spring to get around installer and updaters which correctly install 64bit Software on 64bit Operating systems. Nor should they have to figure out how to build unitsync in 64bit mode themselves.
Re: [URGENT]64bit unitsync issue
ain't gonna be easy. a short googling shows that mingw for x64 exists at https://sourceforge.net/projects/mingw-w64/, but I have no idea if buildbots can be set up to crosscompile to windows 64-bit.
Re: [URGENT]64bit unitsync issue
You can try to cross-compile Spring with mingw64 ( => experimental gcc 4.4) on buildserv by entering "!rebuild sys=windows64".
Re: [URGENT]64bit unitsync issue
woot! experimental gcc frightens me, though. either way, I don't have an x64-capable box, so can't help much more.
Re: [URGENT]64bit unitsync issue
you dont need a 64bit OS to build 64bit binaries, only to execute them.
Re: [URGENT]64bit unitsync issue
exactly, if I can't execute them, I can't test or debug them. getting a new box soon, hopefully next week, so maybe I'll put a 64bit Windows on it and play with stuff.
Re: [URGENT]64bit unitsync issue
I dont understand what the actual problem is?
Why does it matter that java is 64bit and unitsync 32bit..
Its the same way with .NET on 64bit systems..
Why does it matter that java is 64bit and unitsync 32bit..
Its the same way with .NET on 64bit systems..
Re: [URGENT]64bit unitsync issue
64bit binaries cannot load 32 bit libraries under windows.
Thus 64bit Virtual machine cannot load 32 bit library. E.g. 64bit Java and 32bit Unitsync. Since the java installer correctly detects 64bit OS and installs 64bit Java and there is no 64bit unitsync, anyone under 64bit windows will have issues with spring if they run a lobby client or tool thats running in or under 64bit.
Thus 64bit Virtual machine cannot load 32 bit library. E.g. 64bit Java and 32bit Unitsync. Since the java installer correctly detects 64bit OS and installs 64bit Java and there is no 64bit unitsync, anyone under 64bit windows will have issues with spring if they run a lobby client or tool thats running in or under 64bit.
Re: [URGENT]64bit unitsync issue
Am I correct in assuming this is only a problem for AF's lobby?
Re: [URGENT]64bit unitsync issue
As far as I am aware yes, it would also be an issue for any 64bit spring lobby. Either way it is preventing me from continuing development.
Re: [URGENT]64bit unitsync issue
I'm using win xp 64 as well, although I havent encountered any problems yet I support AF's request of x64 compatible binaries
Re: [URGENT]64bit unitsync issue
Ah yeah, you are right..
I have flags set inside .exe so that springie and downloader run in 32bit mode and not 64bit because of that.
I have flags set inside .exe so that springie and downloader run in 32bit mode and not 64bit because of that.