Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS JUCE library issue with 64 bit architecture

I am working on very old project that has JUCE library with 32 bit architecture. some days ago, I did translated it from 32 bit to 64 bit architecture and problems is occur. And also JUCE library has C++ code and it's hard to understand why error is occurring.
I am getting below error.

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

At pointer_sized_int Variable.

And also I tried to set long pointer_sized_int but some other error was occurred.

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

I mean This library is not compatible with 64 bit Architecture. (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.

Anybody have faced this type of issue before ? Please suggest me how can I solve this issue.

Thanks.

like image 534
iPatel Avatar asked Aug 19 '15 06:08

iPatel


1 Answers

You are using an old version of JUCE, these issues were fixed some time ago. Please update by going to the JUCE download page or (recommended) using the latest from GitHub.

JUCE amalgamation was also deprecated a long time ago and is no longer supported as a consequence; you should start using JUCE modules as soon as possible.

like image 159
Jayesh Mardiya Avatar answered Nov 15 '22 19:11

Jayesh Mardiya