Boost logo

Boost :

From: SourceForge.net (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:
https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1694020&group_id=7586

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
NOCRYPT =
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$
           -I/home/abyss/abyss/src/luabind/

C_FLAGS = $(LDFLAGS) $(PROF) $(W_FLAGS) $(NOCRYPT)
L_FLAGS = $(PROF)
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:
https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1694020&group_id=7586

-------------------------------------------------------------------------
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
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk