Fix build errors on Linux #22

merged 1 commit into from Mar 21, 2013


None yet
2 participants

Sarcasm commented Mar 20, 2013

As reported here:

The CMake build is missing the link to pthread on Linux. Looking at the documentation here: it says:

Use the POSIX Threads API for threading. This is the only supported API for the X11 port. Without it, threading will be disabled.

The static library provided Aurora/External/glfw/libX11/libglfw.a has been built with pthread support.

On Linux, PTHREAD_MUTEX_INITIALIZER can only be used at the ~definition of a variable (such as init list or whatever accept braces initialization).

dougbinks added a commit that referenced this pull request Mar 21, 2013

Merge pull request #22 from Sarcasm/master
Fix build errors on Linux

@dougbinks dougbinks merged commit 1810e6b into RuntimeCompiledCPlusPlus:master Mar 21, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment