Hi, I have some problems in compiling AngelScript with CodeBlocks (MinGW)
1.There isn't any pthread.h or sched.h , so I've downloaded them from
koders.com and included them.
2.There is another problem in compiling with sched.h
Release MinGW wrote:
sched.h|25|error: expected constructor, destructor, or type conversion before "int"|
signal.h|46|error: expected constructor, destructor, or type conversion before "typedef"|
pthread.h|30|error: expected constructor, destructor, or type conversion before "typedef"|
pthread.h|49|error: `_pthread_descr' does not name a type|
pthread.h|101|error: `_pthread_descr' does not name a type|
as_thread.h|67|error: expected constructor, destructor, or type conversion before "class"|
as_thread.h|130|error: `asCThreadCriticalSection' does not name a type|
as_module.h|227|error: `asCThreadCriticalSection' does not name a type|
as_context.h|208|error: `asCThreadCriticalSection' does not name a type|
as_scriptengine.h|315|error: `asCThreadCriticalSection' does not name a type|
as_scriptengine.h|316|error: `asCThreadCriticalSection' does not name a type|
||=== Build finished: 11 errors, 0 warnings ===|