183
edits
No edit summary |
No edit summary |
||
Line 404: | Line 404: | ||
+#include "CanvasImageUriHandler.hxx" | +#include "CanvasImageUriHandler.hxx" | ||
+ | + | ||
+#ifdef _WIN32 | |||
+#include <windows.h> | |||
+#endif | |||
+#include <osgDB/Registry> | +#include <osgDB/Registry> | ||
+#include <osgDB/ReaderWriter> | +#include <osgDB/ReaderWriter> | ||
Line 556: | Line 559: | ||
+ if (currenttask){ | + if (currenttask){ | ||
+ SG_LOG(SG_NETWORK, SG_INFO, "canvasimage task running"); | + SG_LOG(SG_NETWORK, SG_INFO, "canvasimage task running"); | ||
+ sleep(15); | +#ifdef _WIN32 | ||
+ Sleep(15000); | |||
+#else | |||
+ sleep(15); | |||
+#endif | |||
+ } | + } | ||
+ | + | ||
Line 876: | Line 883: | ||
== Building == | == Building == | ||
* Download and extract the attached tar archive (https://sourceforge.net/projects/remote-canvas-for-flightgear). It contains the patches listed above, | * Download and extract the latest attached tar archive (https://sourceforge.net/projects/remote-canvas-for-flightgear). It contains the patches listed above, | ||
* Copy the simgear and flightgear subfolders over your existing source tree. | * Copy the simgear and flightgear subfolders over your existing source tree. | ||
* Run the platform specific make for building FG. | * Run the platform specific make for building FG. |
edits