diff --git a/pandatool/src/eggprogs/lwoToEgg.cxx b/pandatool/src/eggprogs/lwoToEgg.cxx index 2ddba3afd9..5a3f320f4b 100644 --- a/pandatool/src/eggprogs/lwoToEgg.cxx +++ b/pandatool/src/eggprogs/lwoToEgg.cxx @@ -8,6 +8,7 @@ #include #include #include +#include //////////////////////////////////////////////////////////////////// // Function: LwoToEgg::Constructor @@ -74,6 +75,7 @@ run() { int main(int argc, char *argv[]) { + init_liblwo(); LwoToEgg prog; prog.parse_command_line(argc, argv); prog.run(); diff --git a/pandatool/src/fltprogs/fltToEgg.cxx b/pandatool/src/fltprogs/fltToEgg.cxx index 371f4b9be7..0199797145 100644 --- a/pandatool/src/fltprogs/fltToEgg.cxx +++ b/pandatool/src/fltprogs/fltToEgg.cxx @@ -6,6 +6,7 @@ #include "fltToEgg.h" #include +#include //////////////////////////////////////////////////////////////////// // Function: FltToEgg::Constructor @@ -78,6 +79,7 @@ run() { int main(int argc, char *argv[]) { + init_libflt(); FltToEgg prog; prog.parse_command_line(argc, argv); prog.run(); diff --git a/pandatool/src/lwo/test_lwo.cxx b/pandatool/src/lwo/test_lwo.cxx index d468295b7a..3fe3bfd909 100644 --- a/pandatool/src/lwo/test_lwo.cxx +++ b/pandatool/src/lwo/test_lwo.cxx @@ -5,9 +5,11 @@ #include "lwoInputFile.h" #include "lwoChunk.h" +#include "config_lwo.h" int main(int argc, char *argv[]) { + init_liblwo(); if (argc != 2) { cerr << "test_lwo file.lwo\n"; exit(1);