luabind 0.7 & vc 8

classic Classic list List threaded Threaded
1 message Options
DD
Reply | Threaded
Open this post in threaded view
|

luabind 0.7 & vc 8

DD
Hi!

Ok - VC8 again:D
So far i followed the instructions of manual to get luabind up and running:
1) luabind 7.0 - added all src files to vc project
    include paths are set according to manual
2) using boost_1_33_1
3) using lua 5.1 (prebuild binary)
4) edited lua_include.hpp

extern "C"
{
    #include "lua.h"
    #include "lualib.h" // <- by me
    #include "lauxlib.h" // <- by me
}

to get rid of the LUA_NOREF errors.

No I get the following error while compiling ref.cpp:
ref.cpp
dependencies\luabind-0.7\src\ref.cpp(95) : error C2062: type 'void'
unexpected
dependencies\luabind-0.7\src\ref.cpp(96) : error C2143: syntax error :
missing ';' before '{'
dependencies\luabind-0.7\src\ref.cpp(96) : error C2447: '{' : missing
function header (old-style formal list?)
dependencies\luabind-0.7\src\ref.cpp(113) : error C2062: type 'int'
unexpected
dependencies\luabind-0.7\src\ref.cpp(114) : error C2143: syntax error :
missing ';' before '{'
dependencies\luabind-0.7\src\ref.cpp(114) : error C2447: '{' : missing
function header (old-style formal list?)
dependencies\luabind-0.7\src\ref.cpp(153) : error C2589: '(' : illegal
token on right side of '::'
dependencies\luabind-0.7\src\ref.cpp(153) : error C2059: syntax error : '::'
dependencies\luabind-0.7\src\ref.cpp(157) : error C2589: '(' : illegal
token on right side of '::'
dependencies\luabind-0.7\src\ref.cpp(157) : error C2143: syntax error :
missing ';' before '::'

any suggestions how to fix that or just a hint what to look for?

P.S.: This system worked for luabind 6 (with another boost version if i
remember it correctly)

Thanks in advance


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user