FGRE / libnpengine

Free implementation of Nitroplus/5pb. Visual Novel game engine
http://dev.pulsir.eu/krofna/
GNU Lesser General Public License v3.0
53 stars 5 forks source link

Error when compiling: NSBInterpreter.cpp:45:14: error: ‘MAGIC_FUNCTION_DECLARATION’ was not declared in this scope #1

Closed paxidently closed 9 years ago

paxidently commented 10 years ago
hikki@kubuntu libnpengine-new % cmake . && make                  
-- Configuring libnpengine version 0.0.0-3b1201fddd
-- Found NPA in /tdd/soft/games/vn/steinsgate/libnpa/include
-- checking for one of the modules 'sdl2'
-- Configuring done
-- Generating done
-- Build files have been written to: /tdd/soft/games/vn/steinsgate/libnpengine-new
Scanning dependencies of target npengine
[ 10%] Building CXX object CMakeFiles/npengine.dir/src/Window.cpp.o
[ 20%] Building CXX object CMakeFiles/npengine.dir/src/NSBInterpreter.cpp.o
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp: In constructor ‘NSBInterpreter::NSBInterpreter(Window*)’:
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:45:14: error: ‘MAGIC_FUNCTION_DECLARATION’ was not declared in this scope
     Builtins[MAGIC_FUNCTION_DECLARATION] = { &NSBInterpreter::FunctionDeclaration, 0 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:49:14: error: ‘MAGIC_CMP_LOGICAL_AND’ was not declared in this scope
     Builtins[MAGIC_CMP_LOGICAL_AND] = { &NSBInterpreter::CmpLogicalAnd, 2 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:50:14: error: ‘MAGIC_CMP_LOGICAL_OR’ was not declared in this scope
     Builtins[MAGIC_CMP_LOGICAL_OR] = { &NSBInterpreter::CmpLogicalOr, 2 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:53:14: error: ‘MAGIC_CMP_GREATER’ was not declared in this scope
     Builtins[MAGIC_CMP_GREATER] = { &NSBInterpreter::CmpGreater, 2 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:54:14: error: ‘MAGIC_CMP_LESS’ was not declared in this scope
     Builtins[MAGIC_CMP_LESS] = { &NSBInterpreter::CmpLess, 2 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:55:14: error: ‘MAGIC_CMP_EQUAL’ was not declared in this scope
     Builtins[MAGIC_CMP_EQUAL] = { &NSBInterpreter::CmpEqual, 2 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:58:14: error: ‘MAGIC_ADD_EXPRESSION’ was not declared in this scope
     Builtins[MAGIC_ADD_EXPRESSION] = { &NSBInterpreter::AddExpression, 2 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:59:14: error: ‘MAGIC_SUB_EXPRESSION’ was not declared in this scope
     Builtins[MAGIC_SUB_EXPRESSION] = { &NSBInterpreter::SubExpression, 2 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:60:14: error: ‘MAGIC_MUL_EXPRESSION’ was not declared in this scope
     Builtins[MAGIC_MUL_EXPRESSION] = { &NSBInterpreter::MulExpression, 2 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:61:14: error: ‘MAGIC_DIV_EXPRESSION’ was not declared in this scope
     Builtins[MAGIC_DIV_EXPRESSION] = { &NSBInterpreter::DivExpression, 2 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:62:14: error: ‘MAGIC_MOD_EXPRESSION’ was not declared in this scope
     Builtins[MAGIC_MOD_EXPRESSION] = { &NSBInterpreter::ModExpression, 2 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:67:14: error: ‘MAGIC_VARIABLE’ was not declared in this scope
     Builtins[MAGIC_VARIABLE] = { &NSBInterpreter::Get, 0 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:71:14: error: ‘MAGIC_END_FUNCTION’ was not declared in this scope
     Builtins[MAGIC_END_FUNCTION] = { &NSBInterpreter::Return, 0 };
              ^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:95:14: error: ‘MAGIC_NEGA_EXPRESSION’ was not declared in this scope
     Builtins[MAGIC_NEGA_EXPRESSION] = { &NSBInterpreter::NegaExpression, 1 };
              ^
make[2]: *** [CMakeFiles/npengine.dir/src/NSBInterpreter.cpp.o] Ошибка 1
make[1]: *** [CMakeFiles/npengine.dir/all] Ошибка 2
make: *** [all] Ошибка 2
krofna commented 10 years ago

libnpengine-new is supposed to be built with libnpa/new branch. Note that *-new is a work in progress and does not run Steins;Gate yet.