cork icon indicating copy to clipboard operation
cork copied to clipboard

x64 compiling result under VS2013 crashes

Open Narusaki opened this issue 10 years ago • 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?

Narusaki avatar Sep 29 '15 12:09 Narusaki

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

ivanmetrikin avatar Oct 20 '15 22:10 ivanmetrikin

Thanks Ivan!

On Oct 20, 2015, at 3:54 PM, Ivan Metrikin [email protected] 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.

gilbo avatar Oct 21 '15 00:10 gilbo

Thanks ivanmetrikin, I'll give it a try.

Narusaki avatar Oct 21 '15 06:10 Narusaki

Hi please help me with my problem in compiling cork Linux. https://github.com/gilbo/cork/issues/23

Tamahagane09 avatar Oct 22 '15 01:10 Tamahagane09

@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 :)

mortmaire avatar Sep 20 '16 19:09 mortmaire