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

Cannot build on Windows using VC++ compiler. #44

Open
Varriount opened this issue May 28, 2016 · 3 comments
Open

Cannot build on Windows using VC++ compiler. #44

Varriount opened this issue May 28, 2016 · 3 comments

Comments

@Varriount
Copy link

Varriount commented May 28, 2016

Currently, trying to build on Windows using the Visual C++ compiler bundled with Visual Studio causes the following error (plus a host of warnings concerning uninitialized variables):

Cannot open include file: 'pthread.h': No such file or directory : matrix.c

@Kazade
Copy link
Owner

Kazade commented May 30, 2016

I'd like to get this fixed, but I don't have access to a Windows install (I'm a Linux user) so this may have to wait for someone to send me a pull request :(

@morkenborken
Copy link

As far as I know, pthreads isn't a part of windows.

A bit of googling however gets me this:
https://sourceforge.net/projects/pthreads4w/

Installing this might fix your issue. Though I'm really not sure if it'll work as I haven't tested it on windows either.

@andrewmcwatters
Copy link

If you don't need the files in GL/, you could try removing them and recompiling kazmath. The matrix stack code relies on pthreads, which is unavailable in Windows unless you're building in MinGW, but then you add libwinpthreads-1.dll as a dependency.

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

4 participants