lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Ok, Sorry about the multiple posts...

I fixed what looked like messed up paths (../../../tolua/include to the actual tolua path ._.).

Now, I get:

gcc -c SDL_tolua.c -I../tolua-5.1b/include -I/opt/local/include
SDL_tolua.c:1475: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:1400: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:1486: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:1411: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:1525: error: redefinition of ‘tolua_get_SDL_state’
SDL_tolua.c:1450: error: previous definition of ‘tolua_get_SDL_state’ was here
SDL_tolua.c:1536: error: redefinition of ‘tolua_set_SDL_state’
SDL_tolua.c:1461: error: previous definition of ‘tolua_set_SDL_state’ was here
SDL_tolua.c:1575: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:1475: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:1586: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:1486: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:1600: error: redefinition of ‘tolua_get_SDL_which’
SDL_tolua.c:1500: error: previous definition of ‘tolua_get_SDL_which’ was here
SDL_tolua.c:1611: error: redefinition of ‘tolua_set_SDL_which’
SDL_tolua.c:1511: error: previous definition of ‘tolua_set_SDL_which’ was here
SDL_tolua.c:1625: error: redefinition of ‘tolua_get_SDL_state’
SDL_tolua.c:1525: error: previous definition of ‘tolua_get_SDL_state’ was here
SDL_tolua.c:1636: error: redefinition of ‘tolua_set_SDL_state’
SDL_tolua.c:1536: error: previous definition of ‘tolua_set_SDL_state’ was here
SDL_tolua.c:1750: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:1575: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:1761: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:1586: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:1775: error: redefinition of ‘tolua_get_SDL_which’
SDL_tolua.c:1600: error: previous definition of ‘tolua_get_SDL_which’ was here
SDL_tolua.c:1786: error: redefinition of ‘tolua_set_SDL_which’
SDL_tolua.c:1611: error: previous definition of ‘tolua_set_SDL_which’ was here
SDL_tolua.c:1825: error: redefinition of ‘tolua_get_SDL_state’
SDL_tolua.c:1625: error: previous definition of ‘tolua_get_SDL_state’ was here
SDL_tolua.c:1836: error: redefinition of ‘tolua_set_SDL_state’
SDL_tolua.c:1636: error: previous definition of ‘tolua_set_SDL_state’ was here
SDL_tolua.c:1850: error: redefinition of ‘tolua_get_SDL_x’
SDL_tolua.c:1650: error: previous definition of ‘tolua_get_SDL_x’ was here
SDL_tolua.c:1861: error: redefinition of ‘tolua_set_SDL_x’
SDL_tolua.c:1661: error: previous definition of ‘tolua_set_SDL_x’ was here
SDL_tolua.c:1875: error: redefinition of ‘tolua_get_SDL_y’
SDL_tolua.c:1675: error: previous definition of ‘tolua_get_SDL_y’ was here
SDL_tolua.c:1886: error: redefinition of ‘tolua_set_SDL_y’
SDL_tolua.c:1686: error: previous definition of ‘tolua_set_SDL_y’ was here
SDL_tolua.c:1900: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:1750: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:1911: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:1761: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:1925: error: redefinition of ‘tolua_get_SDL_which’
SDL_tolua.c:1775: error: previous definition of ‘tolua_get_SDL_which’ was here
SDL_tolua.c:1936: error: redefinition of ‘tolua_set_SDL_which’
SDL_tolua.c:1786: error: previous definition of ‘tolua_set_SDL_which’ was here
SDL_tolua.c:2000: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:1900: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:2011: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:1911: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:2025: error: redefinition of ‘tolua_get_SDL_which’
SDL_tolua.c:1925: error: previous definition of ‘tolua_get_SDL_which’ was here
SDL_tolua.c:2036: error: redefinition of ‘tolua_set_SDL_which’
SDL_tolua.c:1936: error: previous definition of ‘tolua_set_SDL_which’ was here
SDL_tolua.c:2075: error: redefinition of ‘tolua_get_SDL_xrel’
SDL_tolua.c:1700: error: previous definition of ‘tolua_get_SDL_xrel’ was here
SDL_tolua.c:2086: error: redefinition of ‘tolua_set_SDL_xrel’
SDL_tolua.c:1711: error: previous definition of ‘tolua_set_SDL_xrel’ was here
SDL_tolua.c:2100: error: redefinition of ‘tolua_get_SDL_yrel’
SDL_tolua.c:1725: error: previous definition of ‘tolua_get_SDL_yrel’ was here
SDL_tolua.c:2111: error: redefinition of ‘tolua_set_SDL_yrel’
SDL_tolua.c:1736: error: previous definition of ‘tolua_set_SDL_yrel’ was here
SDL_tolua.c:2125: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:2000: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:2136: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:2011: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:2150: error: redefinition of ‘tolua_get_SDL_which’
SDL_tolua.c:2025: error: previous definition of ‘tolua_get_SDL_which’ was here
SDL_tolua.c:2161: error: redefinition of ‘tolua_set_SDL_which’
SDL_tolua.c:2036: error: previous definition of ‘tolua_set_SDL_which’ was here
SDL_tolua.c:2200: error: redefinition of ‘tolua_get_SDL_value’
SDL_tolua.c:1975: error: previous definition of ‘tolua_get_SDL_value’ was here
SDL_tolua.c:2211: error: redefinition of ‘tolua_set_SDL_value’
SDL_tolua.c:1986: error: previous definition of ‘tolua_set_SDL_value’ was here
SDL_tolua.c:2225: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:2125: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:2236: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:2136: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:2250: error: redefinition of ‘tolua_get_SDL_which’
SDL_tolua.c:2150: error: previous definition of ‘tolua_get_SDL_which’ was here
SDL_tolua.c:2261: error: redefinition of ‘tolua_set_SDL_which’
SDL_tolua.c:2161: error: previous definition of ‘tolua_set_SDL_which’ was here
SDL_tolua.c:2275: error: redefinition of ‘tolua_get_SDL_button’
SDL_tolua.c:1800: error: previous definition of ‘tolua_get_SDL_button’ was here
SDL_tolua.c:2286: error: redefinition of ‘tolua_set_SDL_button’
SDL_tolua.c:1811: error: previous definition of ‘tolua_set_SDL_button’ was here
SDL_tolua.c:2300: error: redefinition of ‘tolua_get_SDL_state’
SDL_tolua.c:1825: error: previous definition of ‘tolua_get_SDL_state’ was here
SDL_tolua.c:2311: error: redefinition of ‘tolua_set_SDL_state’
SDL_tolua.c:1836: error: previous definition of ‘tolua_set_SDL_state’ was here
SDL_tolua.c:2325: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:2225: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:2336: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:2236: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:2400: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:2325: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:2411: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:2336: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:2425: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:2400: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:2436: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:2411: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:2450: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:2425: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:2461: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:2436: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:2550: error: redefinition of ‘tolua_get_SDL_type’
SDL_tolua.c:2450: error: previous definition of ‘tolua_get_SDL_type’ was here
SDL_tolua.c:2561: error: redefinition of ‘tolua_set_SDL_type’
SDL_tolua.c:2461: error: previous definition of ‘tolua_set_SDL_type’ was here
SDL_tolua.c:2650: error: redefinition of ‘tolua_get_SDL_button’
SDL_tolua.c:2275: error: previous definition of ‘tolua_get_SDL_button’ was here
SDL_tolua.c:2661: error: redefinition of ‘tolua_set_SDL_button’
SDL_tolua.c:2286: error: previous definition of ‘tolua_set_SDL_button’ was here
SDL_tolua.c:3121: error: redefinition of ‘tolua_get_SDL_x’
SDL_tolua.c:1850: error: previous definition of ‘tolua_get_SDL_x’ was here
SDL_tolua.c:3132: error: redefinition of ‘tolua_set_SDL_x’
SDL_tolua.c:1861: error: previous definition of ‘tolua_set_SDL_x’ was here
SDL_tolua.c:3146: error: redefinition of ‘tolua_get_SDL_y’
SDL_tolua.c:1875: error: previous definition of ‘tolua_get_SDL_y’ was here
SDL_tolua.c:3157: error: redefinition of ‘tolua_set_SDL_y’
SDL_tolua.c:1886: error: previous definition of ‘tolua_set_SDL_y’ was here
SDL_tolua.c:3171: error: redefinition of ‘tolua_get_SDL_w’
SDL_tolua.c:2350: error: previous definition of ‘tolua_get_SDL_w’ was here
SDL_tolua.c:3182: error: redefinition of ‘tolua_set_SDL_w’
SDL_tolua.c:2361: error: previous definition of ‘tolua_set_SDL_w’ was here
SDL_tolua.c:3196: error: redefinition of ‘tolua_get_SDL_h’
SDL_tolua.c:2375: error: previous definition of ‘tolua_get_SDL_h’ was here
SDL_tolua.c:3207: error: redefinition of ‘tolua_set_SDL_h’
SDL_tolua.c:2386: error: previous definition of ‘tolua_set_SDL_h’ was here
SDL_tolua.c:3871: error: redefinition of ‘tolua_get_SDL_w’
SDL_tolua.c:3171: error: previous definition of ‘tolua_get_SDL_w’ was here
SDL_tolua.c:3882: error: redefinition of ‘tolua_set_SDL_w’
SDL_tolua.c:3182: error: previous definition of ‘tolua_set_SDL_w’ was here
SDL_tolua.c:3896: error: redefinition of ‘tolua_get_SDL_h’
SDL_tolua.c:3196: error: previous definition of ‘tolua_get_SDL_h’ was here
SDL_tolua.c:3907: error: redefinition of ‘tolua_set_SDL_h’
SDL_tolua.c:3207: error: previous definition of ‘tolua_set_SDL_h’ was here
SDL_tolua.c: In function ‘tolua_get_SDL_hw_available’:
SDL_tolua.c:3976: error: cannot take address of bit-field ‘hw_available’
make: *** [SDL_tolua.o] Error 1

Once again, any help?

--
--Timothy.