gilbo/cork

x64 compiling result under VS2013 crashes

Opened this issue · 5 comments

Hi, I'm using cork under Visual Sudio 2013. It works when I using win32 to compile it. But when I try to recompile it under x64, it crashes at line 14131 inside file "triangle.c", which I think is caused by an invalid allocation chunk of memory by the function poolalloc().

So can this be the reason why the program crashes under x64 compiling environment?

Hi Narusaki,

I've encountered the exact same issue in Visual Studio 2015, but managed to fix it by converting to __int64 where necessary. You can find a working x64 implementation in my fork of this repo

gilbo commented

Thanks Ivan!

On Oct 20, 2015, at 3:54 PM, Ivan Metrikin notifications@github.com wrote:

Hi Narusaki,

I've encountered the exact same issue in Visual Studio 2015, but managed to fix it by converting to __int64 where necessary. You can find a working x64 implementation in my fork of this repo


Reply to this email directly or view it on GitHub.

Thanks ivanmetrikin, I'll give it a try.

Hi please help me with my problem in compiling cork Linux.
#23

@ivanmetrikin Thank you, my brother from another mother. I have spend whole. Freaking. Day. trying to solve problem with cork library on win64 and I got truly desperate. Seems like I should just look at google, not dig in source code :)