eugene.litvinov Posted October 12, 2012 Share Posted October 12, 2012 Hi, we would like to build our release application, so we use for this SConscript as described here https://developer.un...vironment/scons We have modified main.cpp: #include <Unigine.h> using namespace Unigine; char* my_argv[] = { "-sound_app openal", "-engine_config ../cradle.cfg", "-system_script ../data/source/unigine.cpp", "-extern_define RELEASE" }; int main(int argc,char **argv) { Engine *engine = Engine::init(UNIGINE_VERSION,4,my_argv,"MyProject"); engine->main(); Engine::shutdown(); return 0; } The problem is our built exe file doesn't use files (paths) described in -system_script and -engine_config variables, looks like engine doesn't use my_args at all. Thanks Link to comment
manguste Posted October 19, 2012 Share Posted October 19, 2012 "-sound_app","openal" does the trick. Link to comment
Recommended Posts