Hello,
So I just downloaded Chipmunk Physics 7.0.0 from the website and got the build set up with CMake. However, when I go to compile it (Visual Studio 2013 Community Edition), the error of not finding pthread.h comes up in cpHastySpace.c. Is there a way to avoid using POSIX threads for cpHastySpace or will I have to download the library that does POSIX threading on Windows?
Thanks!
Compiling with VS2013
-
- Posts: 1
- Joined: Wed Feb 04, 2015 1:41 am
- Contact:
-
- Posts: 4
- Joined: Tue Sep 03, 2013 4:30 am
- Contact:
Re: Compiling with VS2013
I just hit this myself. I dropped in winpthreads.h from Lockless Inc. and it seemed to solve the problem for me. (Haven't heavily tested it.) It is a header-only pthreads implementation/shim for Windows (Win32) under what appears to be the 3-clause BSD license.
http://locklessinc.com/downloads/
http://locklessinc.com/downloads/winpthreads.h
It would be good to see this cleaned up/abstracted a little more in Chipmunk. For example, WinRT threads are a different beast than Win32 threads.
http://locklessinc.com/downloads/
http://locklessinc.com/downloads/winpthreads.h
It would be good to see this cleaned up/abstracted a little more in Chipmunk. For example, WinRT threads are a different beast than Win32 threads.
Who is online
Users browsing this forum: No registered users and 23 guests