简体   繁体   English

Kivy-在32位Windows上构建64位应用程序

[英]Kivy - build 64bit application on 32bit Windows

I'd like build the kivy application which will work on 64bit Windows (and if possible 32bit also). 我想构建适用于64位Windows(如果可能的话也可以32位)运行的kivy应用程序。

  1. Is it possible that one app will work on both platforms? 一个应用程序是否有可能同时在两个平台上运行?
  2. Can I use 32bit system to build 64bit app? 我可以使用32位系统来构建64位应用程序吗?

This is probably simple questions, but I've never write code for these systems. 这可能是简单的问题,但我从未为这些系统编写代码。

A lot of windows software is still shipped as 32bit-only, because for some reason compat with obsolete 32bit-windows still matters. 许多Windows软件仍仅以32位版本提供,因为出于某种原因与过时的32位Windows兼容仍然很重要。 Alternatively, 32 and 64bit builds are available. 另外,还有32位和64位版本。

If you write your source code properly (without any assumptions about being able to store a possibly-64bit type in an int ), you can make 32 and 64bit builds from the same source. 如果您正确地编写了源代码(没有任何关于能够在int存储可能的64位类型的假设),则可以从同一源进行32位和64位构建。 I think this is really unlikely to be a problem for python! 我认为这对于python来说确实不太可能成为问题!

Building 64bit software on a 32bit platform is no problem. 在32位平台上构建64位软件没有问题。 You'll only run into trouble if you have a complicated build system that builds some tools (which are part of what gets shipped, so you build them for the target instead of host), but also want to run those tools during the build. 如果您有一个复杂的构建系统来构建一些工具(这是所提供工具的一部分,因此您为目标而不是主机构建它们),而且还希望在构建过程中运行这些工具,则只会遇到麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM