+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <iostream>
#include <simgear/compiler.h>
-#include SG_GL_H
+#include <osg/GL>
#include <plib/pw.h>
#include <plib/pu.h>
#include <simgear/props/props.hxx>
}
fclose(tmp);
- pwInit(0, 0, 600, 400, 0, "Layout Test", true, 0);
+ pwInit(0, 0, 600, 400, 0, const_cast<char*>("Layout Test"), true, 0);
pwSetCallbacks(keyboardCB, mouseButtonCB, mouseMotionCB,
resizeCB, exitCB);
int pw=0, ph=0;
w.calcPrefSize(&pw, &ph);
w.layout(0, 0, pw, ph);
- writeProperties(cout, &props, true);
+ writeProperties(std::cout, &props, true);
}