Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x64 compiling result under VS2013 crashes #22

Open
Narusaki opened this issue Sep 29, 2015 · 5 comments
Open

x64 compiling result under VS2013 crashes #22

Narusaki opened this issue Sep 29, 2015 · 5 comments

Comments

@Narusaki
Copy link

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?

@ivanmetrikin
Copy link

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
Copy link
Owner

gilbo commented Oct 21, 2015

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.

@Narusaki
Copy link
Author

Thanks ivanmetrikin, I'll give it a try.

@babysaint09
Copy link

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

@mortmaire
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants