Author Topic: Anyone succeeded to build a 64bit-version for windows?  (Read 1907 times)

Offline Xilmi

  • Moderator
  • Commander
  • ***
  • Posts: 642
    • View Profile
Anyone succeeded to build a 64bit-version for windows?
« on: December 16, 2023, 11:09:50 pm »
I only find guides for the 32-bit-version which includes a step: "Download and extract the pre-compiled dependencies (into repo's root): openxcom-deps-win-vc2017-newest.zip"

This only includes pre-compiled dependencies for the 32-bit-version.

Apparently the 64-bit-version of OXCE for windows isn't even build under windows.

Has anyone done it anyways? Maybe by compiling the dependencies manually?

I'm getting reports that the 32-bit-version has issues with mega-mods as it can run out of memory and crash. So I'd like to upgrade to 64 bit.

Online Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9098
    • View Profile
Re: Anyone succeeded to build a 64bit-version for windows?
« Reply #2 on: December 16, 2023, 11:38:46 pm »
No, there aren't any readily available 64-bit pre-compiled dependencies for VS available for download.
You'd need to compile them yourself.

Or use cross-build.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9098
    • View Profile
Re: Anyone succeeded to build a 64bit-version for windows?
« Reply #3 on: December 17, 2023, 03:28:44 pm »
Hi,

I got a file share (for edit) request from you (or somebody who looks like you).

The files are already shared with everyone, I don't know why you need extra permission.
Anyway, I won't give you edit permission on my files, but I will upload the files into the next post, so you can download them from here.

EDIT: removed email address from the screenshots
« Last Edit: December 17, 2023, 03:31:17 pm by Meridian »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9098
    • View Profile
Re: Anyone succeeded to build a 64bit-version for windows?
« Reply #4 on: December 17, 2023, 03:29:10 pm »
Here are the files.

I use "openxcom-deps-win-vc2017-newest.zip"
It's 32-bit only.

Offline Xilmi

  • Moderator
  • Commander
  • ***
  • Posts: 642
    • View Profile
Re: Anyone succeeded to build a 64bit-version for windows?
« Reply #5 on: December 17, 2023, 03:47:43 pm »
The files are already shared with everyone, I don't know why you need extra permission.
I don't know. I just clicked the link and this is the message I got. I just wanted to download them. There was no intention of me editing them.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9098
    • View Profile
Re: Anyone succeeded to build a 64bit-version for windows?
« Reply #6 on: December 17, 2023, 03:50:39 pm »
I don't know. I just clicked the link and this is the message I got. I just wanted to download them. There was no intention of me editing them.

I don't know either.
Hopefully the download from the previous post attachment will work for you.

If not, I can also upload it to openxcom.org (site, not the forum)

Offline Xilmi

  • Moderator
  • Commander
  • ***
  • Posts: 642
    • View Profile
Re: Anyone succeeded to build a 64bit-version for windows?
« Reply #7 on: December 17, 2023, 04:00:43 pm »
Hopefully the download from the previous post attachment will work for you.
Yes, it does work. :)

This seems to be the only version where I didn't get the error from "Mix_OpenAudio".

I tried using the one linked here: http://openxcom.org/download/dev/openxcom-deps-win-vc2017.zip

It was apparently updated August 2023 and even contains the libs for x64.

But using it made the game crash on the "Mix_OpenAudio"-call. Both on the x64 and Win32 compilation.

So while not being able to compile a version for x64 is bad, not being able to compile any working version was catastrophic. So restoring the old deps from 2017, even just for Win32 made at least that work again.

Offline Xilmi

  • Moderator
  • Commander
  • ***
  • Posts: 642
    • View Profile
Re: Anyone succeeded to build a 64bit-version for windows?
« Reply #8 on: December 26, 2023, 05:57:01 pm »
SupSuper provided a pre-compiled dependency-package that actually did work. :)
I attached for everyone else who might be interested.