diff options
Diffstat (limited to 'src/progs/ingen')
-rwxr-xr-x | src/progs/ingen/ingen.dev | 5 | ||||
-rw-r--r-- | src/progs/ingen/main.cpp | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/progs/ingen/ingen.dev b/src/progs/ingen/ingen.dev new file mode 100755 index 00000000..023eba7e --- /dev/null +++ b/src/progs/ingen/ingen.dev @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +export INGEN_MODULE_PATH="`pwd`/../../libs/engine/.libs:`pwd`/../../libs/serialisation/.libs:`pwd`/../../libs/gui/.libs:`pwd`/../../libs/client/.libs:`pwd`/../../bindings/.libs" +export INGEN_GLADE_PATH="`pwd`/../../libs/gui/ingen_gui.glade" +./ingen $@ diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp index 64cfd36b..5be5a8d3 100644 --- a/src/progs/ingen/main.cpp +++ b/src/progs/ingen/main.cpp @@ -109,8 +109,7 @@ main(int argc, char** argv) engine_module.reset(); } } else { - cerr << "Unable to load engine module, engine not loaded." << endl; - cerr << "Try using src/set_dev_environment.sh, or setting INGEN_MODULE_PATH." << endl; + cerr << "Unable to load engine module." << endl; } } @@ -132,7 +131,6 @@ main(int argc, char** argv) use_osc = true; } else { cerr << "Unable to load ingen_client module, aborting." << endl; - cerr << "Try using src/set_dev_environment.sh, or setting INGEN_MODULE_PATH." << endl; return -1; } } @@ -186,7 +184,6 @@ main(int argc, char** argv) } else { cerr << "Unable to load serialisation module, aborting." << endl; - cerr << "Try using src/set_dev_environment.sh, or setting INGEN_MODULE_PATH." << endl; return -1; } } @@ -204,7 +201,6 @@ main(int argc, char** argv) run(argc, argv, world); } else { cerr << "Unable to find GUI module, GUI not loaded." << endl; - cerr << "Try using src/set_dev_environment.sh, or setting INGEN_MODULE_PATH." << endl; } } |