简体   繁体   English

iOS JUCE库问题与64位体系结构

[英]iOS JUCE library issue with 64 bit architecture

I am working on very old project that has JUCE library with 32 bit architecture. 我正在研究具有32位体系结构JUCE库的非常老的项目。 some days ago, I did translated it from 32 bit to 64 bit architecture and problems is occur. 几天前,我确实将其从32位转换为64位体系结构,并且出现了问题。 And also JUCE library has C++ code and it's hard to understand why error is occurring. JUCE库也具有C ++代码,很难理解为什么会发生错误。
I am getting below error. 我正在错误以下。

Cast from pointer to smaller type 'pointer_sized_int' (aka 'int') loses information

At pointer_sized_int Variable. pointer_sized_int变量。

And also I tried to set long pointer_sized_int but some other error was occurred. 我也尝试设置long pointer_sized_int但是发生了其他一些错误。

Implicit instantiation of undefined template 'juce::JuceStaticAssert<false>'

I mean This library is not compatible with 64 bit Architecture. 我的意思是该库与64位体系结构不兼容。 (which I'm using) (我正在使用)

Basically I used "JUCE Amalgamation" library in source code in the project and also I find out this library and also include in my project (I tried many way to fix it) but didn't get success. 基本上,我在项目的源代码中使用了“ JUCE Amalgamation”库,并且发现了该库,并且也将其包含在我的项目中(我尝试了多种方法对其进行修复),但没有成功。

Anybody have faced this type of issue before ? 有人遇到过此类问题吗? Please suggest me how can I solve this issue. 请建议我如何解决此问题。

Thanks. 谢谢。

You are using an old version of JUCE, these issues were fixed some time ago. 您使用的是JUCE的旧版本,这些问题已在一段时间前解决。 Please update by going to the JUCE download page or (recommended) using the latest from GitHub . 请转到JUCE下载页面进行更新,或(推荐)使用GitHub的最新信息进行更新。

JUCE amalgamation was also deprecated a long time ago and is no longer supported as a consequence; JUCE合并在很久以前也已被弃用,因此不再受支持。 you should start using JUCE modules as soon as possible. 您应该尽快开始使用JUCE模块。

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

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