GLBasic forum

Main forum => GLBasic - en => Topic started by: Cliff3D on 2023-Aug-25

Title: Is it possible to build for Windows 64 Bit?
Post by: Cliff3D on 2023-Aug-25
I've tried selecting "Win64" as platform Configuration but "build for this program" is greyed out. If i build the .exe I get is 32 bit.

Am I missing a step (I'm running on Win11 Home 64 bit) or should I post this as a bug?
Title: Re: Is it possible to build for Windows 64 Bit?
Post by: Cliff3D on 2023-Aug-25
Quote from: Cliff3D on 2023-Aug-25I've tried selecting "Win64" as platform Configuration but "build for this program" is greyed out. If i build the .exe I get is 32 bit.

Am I missing a step (I'm running on Win11 Home 64 bit) or should I post this as a bug?

Ah! I think I've found it...

One has to use "Multiplatform compilation" from the toolbar and select 64 Bit there. The new 64 Bit build will then be compiled inside a folder called "AppName\distribute\Win32\AppName". it ignores the window resolution set in Project...options.

Title: Re: Is it possible to build for Windows 64 Bit?
Post by: Qedo on 2023-Aug-27
is the folder "D:\Program Files\Steam\steamapps\common\GLBasic_SDK\Compiler\platform\Win64" (on my computer with Win10)
present?
Title: Re: Is it possible to build for Windows 64 Bit?
Post by: MrPlow on 2023-Aug-27
Hi

From what I recall - the 64bit compile exe just overwrites the x86 one... in the same folder...
and u can check by a simple inspection of the exe I think?

Cant remember how though...
Title: Re: Is it possible to build for Windows 64 Bit?
Post by: spacefractal on 2023-Aug-28
ywa the 64bit just overwrite 32bit, which is bit odd, but here nothing im might could do? but property its can been changed in the profile that compile to win64, so they dont overwrite. In the best world its should compile both 32 and 64 bit. Im havent checked about this one.