On Monday, January 19, 2015 at 3:20:50 AM UTC-5, Andreas Kirkerud wrote:
>
>
> Thanks Jeff ! :-) that helped.
>
> I can now build and run ios simulators with just one minor issue:
>
>
> In the simulator: when I encrypt with AES i get this:
>
> *Assertion failed: (false), function deallocate, file 
> /Users/username/xcode/someproject/**someproject**/libs/cryptopp/include/secblock.h,
>  
> line 151.*
> -------- secblock.h Line 149-152 --------
>
> void deallocate(void *p, size_type n)
> {
> assert(false);
> }
> --------------------------------------------------
>
> I solved this by simply commenting out line 151 ( the assert() )
>
> Could this be solved in a more reasonable way ?
>

I've seen that before, but its been a few years. I think it was due to a 
slight misconfiguration. Are you sure you applied everything from 
mobile.zip?

I think the easiest way to solve it would probably be fetch 
cryptopp-5.6.2-ios-7.0.zip from 
https://github.com/noloader/cryptopp-5.6.2-ios.

The next easiest way would be to re-do the things at 
http://www.cryptopp.com/wiki/IOS_(Command_Line).

By the way, I recently updated the the mobile stuff for the ARM64 
simulator. I missed the fact the ARM64 simulator used x86_64 way back when. 
x86_64 is now included and it uses iPhoneSimulator7.0.sdk and friends.

Jeff


Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to