X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Fdecode_binobj.cxx;h=41880e1257a80c839a43911207835c47a4f0ff3a;hb=201cb61f842ef50a19438e3872ba22e588fa1afc;hp=af2ae2b9f2e4d0a99d21d150b298be82bd7b1779;hpb=aa9e91f926de395575a5374642af78c9e3fbb6b5;p=simgear.git diff --git a/simgear/io/decode_binobj.cxx b/simgear/io/decode_binobj.cxx index af2ae2b9..41880e12 100644 --- a/simgear/io/decode_binobj.cxx +++ b/simgear/io/decode_binobj.cxx @@ -10,8 +10,10 @@ #include #include +#include #include "sg_binobj.hxx" +#include using std::cout; using std::endl; @@ -24,6 +26,9 @@ int main( int argc, char **argv ) { if ( argc != 2 ) { cout << "Usage: " << argv[0] << " binary_obj_file" << endl; } + + + sglog().setLogLevels( SG_ALL, SG_ALERT ); SGBinObject obj; bool result = obj.read_bin( argv[1] );