building luabind

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

building luabind

Tim Michals-2
I get the following errors:

:~/luabind> bjam
modules.jam: No such file or directory
path.jam: No such file or directory
errors.jam: No such file or directory
Jamfile:5: in load-jamfiles
rule modules.peek unknown in module
/home/tmichals/boost_1_33_1/tools/build/v1/bootstrap.jam:21: in boost-build
/home/tmichals/boost_1_33_1/boost-build.jam:16: in module scope
tmichals@linux-bpyj:~/luabind>
tmichals@linux-bpyj:~/luabind>  

boost is installed at ~/boost_1_33_1 and built under ~/boost_1_33_1/bin

is luabind still supported?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user
Reply | Threaded
Open this post in threaded view
|

Re: building luabind

Arvid Norberg-2

On Jan 12, 2007, at 8:39 , Tim Michals wrote:

> I get the following errors:
>
> :~/luabind> bjam
> modules.jam: No such file or directory
> path.jam: No such file or directory
> errors.jam: No such file or directory
> Jamfile:5: in load-jamfiles
> rule modules.peek unknown in module
> /home/tmichals/boost_1_33_1/tools/build/v1/bootstrap.jam:21: in  
> boost-build
> /home/tmichals/boost_1_33_1/boost-build.jam:16: in module scope
> tmichals@linux-bpyj:~/luabind>
> tmichals@linux-bpyj:~/luabind>

Make sure you have BOOST_BUILD_PATH set to point to your boost-build  
directory (~/boost_1_33_1/tools/build/v2)

and that you have configured it according to the compiler(s) you're  
using
(~/boost_1_33_1/tools/build/v2/user-config.jam)

and that you have BOOST_ROOT set to ~/boost_1_33_1

> boost is installed at ~/boost_1_33_1 and built under ~/boost_1_33_1/
> bin
>
> is luabind still supported?

To a quite small extent. Commercial support is available through  
rasterbar though.

--
Arvid Norberg



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user
Reply | Threaded
Open this post in threaded view
|

Re: building luabind

Tim Michals-2
In reply to this post by Tim Michals-2
I'm using lua 5.1.1
First issue:
\luabind/detail/ref.hpp(50) : error C2065: 'LUA_NOREF' : undeclared
identifier

    call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" >
nul

cl /Zm800 -nologo -TP  /Z7 /Od /Ob0 /GR /MDd /wd4675 /EHs
@"src\bin\msvc\debug\
wrapper_base.obj.rsp" -c -Fo"src\bin\msvc\debug\wrapper_base.obj" && del /f
"src
\bin\msvc\debug\wrapper_base.obj.rsp"

LUA_NOREF is now defined in luauxlib.h so I added to lua_include.hpp

Continued with compile and got:

C:\projects\boost\luabind-0.7\luabind>bjam
..patience...
..found 601 targets...
..using 3 temp targets...
..updating 130 targets...
..using <psrc\bin\msvc\debug>ref.obj.rsp...
msvc.compile.c++ src\bin\msvc\debug\ref.obj
ref.cpp
src\ref.cpp(95) : error C2062: type 'void' unexpected
src\ref.cpp(96) : error C2143: syntax error : missing ';' before '{'
src\ref.cpp(96) : error C2447: '{' : missing function header (old-style
formal l
ist?)
src\ref.cpp(113) : error C2062: type 'int' unexpected
src\ref.cpp(114) : error C2143: syntax error : missing ';' before '{'
src\ref.cpp(114) : error C2447: '{' : missing function header (old-style
formal
list?)
src\ref.cpp(153) : error C2589: '(' : illegal token on right side of '::'
src\ref.cpp(153) : error C2059: syntax error : '::'
src\ref.cpp(157) : error C2589: '(' : illegal token on right side of '::'
src\ref.cpp(157) : error C2143: syntax error : missing ';' before '::'

    call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" >
nul

The issue is void luaL_setn (lua_State *L, int t, int n) is defined in lua
5.1.1 in file lauxlib.h

So is this duplicate functionality then? or did I assume something that is
not right ;)




----- Original Message -----
From: "Tim Michals" <[hidden email]>
To: <[hidden email]>
Sent: Friday, January 12, 2007 10:39 PM
Subject: building luabind


>I get the following errors:
>
> :~/luabind> bjam
> modules.jam: No such file or directory
> path.jam: No such file or directory
> errors.jam: No such file or directory
> Jamfile:5: in load-jamfiles
> rule modules.peek unknown in module
> /home/tmichals/boost_1_33_1/tools/build/v1/bootstrap.jam:21: in
> boost-build
> /home/tmichals/boost_1_33_1/boost-build.jam:16: in module scope
> tmichals@linux-bpyj:~/luabind>
> tmichals@linux-bpyj:~/luabind>
> boost is installed at ~/boost_1_33_1 and built under ~/boost_1_33_1/bin
>
> is luabind still supported?


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user
Reply | Threaded
Open this post in threaded view
|

Re: building luabind

Arvid Norberg-2

On Jan 14, 2007, at 8:59 , Tim Michals wrote:

> I'm using lua 5.1.1

Ah, right. Support for lua 5.1+ is in cvs only.


--
Arvid Norberg



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user