Horde3D
http://horde3d.org/forums/

Angel Script
http://horde3d.org/forums/viewtopic.php?f=5&t=499
Page 1 of 1

Author:  kal [ 12.09.2008, 09:13 ]
Post subject:  Angel Script

I wonder why people are obsessed with lua. I don't know its speed but it is definitely easier to implement and it looks like C/C++
http://www.angelcode.com/angelscript/
(its license is nice too)

Author:  Siavash [ 12.09.2008, 09:56 ]
Post subject:  Re: Angel Script

Wow :shock: , it's very good !
IMHO it competes with both lua and python very well !
Thanks a lot for this topic kal. :idea:

In a few words : It's a great tool and there is no need to another JIT utilities !

Author:  Siavash [ 12.09.2008, 11:30 ]
Post subject:  Re: Angel Script

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 ===|


Author:  kal [ 12.09.2008, 13:53 ]
Post subject:  Re: Angel Script

http://www.angelcode.com/angelscript/sd ... iling.html
angelscript_2.13.1.zip\sdk\angelscript\source\as_config.h
you need to modify it for mingw it sets threads to posix_threads for gnuc (regardless of the os)
Code:
      #endif
       #define AS_POSIX_THREADS
   // Free BSD

you can try it with AS_WINDOWS_THREADS
or you can use http://sourceware.org/pthreads-win32/#download

Author:  Siavash [ 12.09.2008, 14:27 ]
Post subject:  Re: Angel Script

Thanks a lot dear kal, the problem has been solved by changing "AS_POSIX_THREADS" to the "AS_WINDOWS_THREADS" :idea:

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/