mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
Compile fixes for latest VRPN and TIFF
This commit is contained in:
parent
bffe3bf55a
commit
2c1cb4c313
@ -2,3 +2,4 @@
|
|||||||
|
|
||||||
struct timeval;
|
struct timeval;
|
||||||
struct fd_set;
|
struct fd_set;
|
||||||
|
struct timezone;
|
||||||
|
@ -599,8 +599,12 @@ if (COMPILER == "MSVC"):
|
|||||||
LibName("PNG", GetThirdpartyDir() + "png/lib/libpng16_static.lib")
|
LibName("PNG", GetThirdpartyDir() + "png/lib/libpng16_static.lib")
|
||||||
else:
|
else:
|
||||||
LibName("PNG", GetThirdpartyDir() + "png/lib/libpng_static.lib")
|
LibName("PNG", GetThirdpartyDir() + "png/lib/libpng_static.lib")
|
||||||
|
if (PkgSkip("TIFF")==0):
|
||||||
|
if os.path.isfile(GetThirdpartyDir() + "tiff/lib/libtiff.lib"):
|
||||||
|
LibName("TIFF", GetThirdpartyDir() + "tiff/lib/libtiff.lib")
|
||||||
|
else:
|
||||||
|
LibName("TIFF", GetThirdpartyDir() + "tiff/lib/tiff.lib")
|
||||||
if (PkgSkip("JPEG")==0): LibName("JPEG", GetThirdpartyDir() + "jpeg/lib/jpeg-static.lib")
|
if (PkgSkip("JPEG")==0): LibName("JPEG", GetThirdpartyDir() + "jpeg/lib/jpeg-static.lib")
|
||||||
if (PkgSkip("TIFF")==0): LibName("TIFF", GetThirdpartyDir() + "tiff/lib/libtiff.lib")
|
|
||||||
if (PkgSkip("ZLIB")==0): LibName("ZLIB", GetThirdpartyDir() + "zlib/lib/zlibstatic.lib")
|
if (PkgSkip("ZLIB")==0): LibName("ZLIB", GetThirdpartyDir() + "zlib/lib/zlibstatic.lib")
|
||||||
if (PkgSkip("VRPN")==0): LibName("VRPN", GetThirdpartyDir() + "vrpn/lib/vrpn.lib")
|
if (PkgSkip("VRPN")==0): LibName("VRPN", GetThirdpartyDir() + "vrpn/lib/vrpn.lib")
|
||||||
if (PkgSkip("VRPN")==0): LibName("VRPN", GetThirdpartyDir() + "vrpn/lib/quat.lib")
|
if (PkgSkip("VRPN")==0): LibName("VRPN", GetThirdpartyDir() + "vrpn/lib/quat.lib")
|
||||||
|
@ -27,6 +27,14 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// VPRN misses an include to this in vrpn_Shared.h.
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
// Prevent VRPN from defining this function, which we don't need,
|
||||||
|
// and cause compilation errors in MSVC 2015.
|
||||||
|
#include "vrpn_Configure.h"
|
||||||
|
#undef VRPN_EXPORT_GETTIMEOFDAY
|
||||||
|
|
||||||
#include "vrpn_Connection.h"
|
#include "vrpn_Connection.h"
|
||||||
#include "vrpn_Tracker.h"
|
#include "vrpn_Tracker.h"
|
||||||
#include "vrpn_Analog.h"
|
#include "vrpn_Analog.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user