Opened 16 years ago
Closed 15 years ago
#885 closed Support Requests (Invalid)
Error while compiling ><
Reported by: | nobody | Owned by: | nobody |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
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
Note:
See TracTickets
for help on using tickets.