Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2007-04-03 23:39:30

Support Requests item #1694020, was opened at 2007-04-03 20:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error while compiling ><

Initial Comment:
Hi guys, im sorry if this isnt quite were this belongs but i cant figure it out, since im new to Boost :(

heres whats happening to me, I run a MUD and im starting to intergrate boost and luabind to it. and when i use make on my game, after installing boost, and luabind i get:

In file included from /usr/local/include/boost-1_33_1/boost/mpl/int.hpp:17,
                 from /usr/local/include/boost-1_33_1/boost/type_traits/detail/template_arity_spec.hpp:10,
                 from /usr/local/include/boost-1_33_1/boost/type_traits/detail/type_trait_def.hpp:14,
                 from /usr/local/include/boost-1_33_1/boost/type_traits/add_const.hpp:16,
                 from /usr/local/include/boost-1_33_1/boost/type_traits.hpp:13,
                 from /home/abyss/abyss/src/luabind/luabind/class.hpp:79,
                 from /home/abyss/abyss/src/luabind/luabind/luabind.hpp:28,
                 from lua.c:9:
/usr/local/include/boost-1_33_1/boost/mpl/int_fwd.hpp:22: error: syntax error
   before numeric constant
/usr/local/include/boost-1_33_1/boost/mpl/int_fwd.hpp:25: confused by earlier errors, bailing out
make: *** [lua.o] Error 1

im using g++ to compile, and im not sure how to fix this problem :(

my Makefile looks like:
CC = ccache g++
PROF = -O -ggdb
W_FLAGS = -Wall -Werror
LDFLAGS = -L/opt/lampp/lib/ -L/usr/local/lib/ -I/usr/local/include/boost-1_33_$
           -L/home/abyss/abyss/src/lua-5.1.1/src/ -I./lua-5.1.1/src/ \
           -L/usr/lib/mysql/ -I/usr/include/mysql/ -I/usr/local/include/scripti$

LIBS = -L/home/abyss/abyss/src/lua-5.1.1/src/ -llua \
          -L/usr/local/lib/ -lgd -lcrypt -lm \
          -lmysqlclient -lnsl -laspell


You can respond by visiting:

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at