RTC Forums
November 23, 2024, 02:38:29 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Unable to Compile 64-bit Windows  (Read 5121 times)
Peter M.
RTC License+
****
Posts: 30


« on: April 28, 2020, 12:06:21 AM »

I have downloaded the latest 9.5 version, and am in the process of installing it in Delphi 10.2...

...however the Target Platforms do not show 64-bit Windows as a compile option for either rtcSDK or rtcSDKD.

The only two options are:
- 32-bit Windows
- iOS Device - 64 bit

What do I need to do to get this to compile as 64-bit?

Thanks.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: April 28, 2020, 12:41:41 PM »

Since Delphi (the IDE) is a 32-bit application, it requires a 32-bit package.

In other words, you need to build RTC SDK packages for the Win32 target platform to install them into the Delphi IDE.

Once the packages are compiled and installed in Delphi,
you can use them to design and compile 32-bit and 64-bit Projects.
Logged
Peter M.
RTC License+
****
Posts: 30


« Reply #2 on: April 28, 2020, 04:24:26 PM »

However, my prior RTC version 9.21 did let me compile 64-bit.

If we look at the 9.21 code for rtcSDK.dproj we'll see the following:
Code:
           <Platforms>
                <Platform value="Android">False</Platform>
                <Platform value="iOSDevice32">False</Platform>
                <Platform value="iOSDevice64">True</Platform>
                <Platform value="iOSSimulator">False</Platform>
                <Platform value="Win32">True</Platform>
                <Platform value="Win64">True</Platform>
            </Platforms>
...that shows Win32, Win64, and iOSDevice64 are all True.


However, if we look at the same code for 9.5, it shows the following:
Code:
            <Platforms>
                <Platform value="Android">False</Platform>
                <Platform value="iOSDevice32">False</Platform>
                <Platform value="iOSDevice64">True</Platform>
                <Platform value="iOSSimulator">False</Platform>
                <Platform value="Linux64">False</Platform>
                <Platform value="OSX32">False</Platform>
                <Platform value="Win32">True</Platform>
                <Platform value="Win64">False</Platform>
            </Platforms>
...that shows only Win32 and iOSDevice64 set to True.

Thanks.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #3 on: April 28, 2020, 04:34:05 PM »

".dproj" files are NOT included in the RTC SDK ZIP file, because they contain your local paths and your local IDE settings. These files are automatically created by the Delphi IDE, after you open a ".dpk" (Delphi Package) or ".dpr" (Delphi Project) file.
Logged
Peter M.
RTC License+
****
Posts: 30


« Reply #4 on: April 29, 2020, 01:26:37 AM »

After a bit of research, it turns out "64-bit Windows" needed to be added as an option.

For anyone else having this issue, here's how to do it:

1. Open SDKPackages_Main.bpg
2. In the Project Manager, start with rtcSDK.bpl.
3. Right-click on "Target Platforms (Win32)"
4. Click "Add Platform"
5. At the popup screen, select "64-bit Windows" then click OK.

This also needs to be done for rtcSDKD.bpl
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 17 queries.