Browse Source

make build on windows

David Rose 24 years ago
parent
commit
eb466653c3

+ 2 - 0
panda/metalibs/pandafx/Sources.pp

@@ -9,6 +9,8 @@
 
 
 #define COMPONENT_LIBS \
 #define COMPONENT_LIBS \
     distort effects
     distort effects
+#define LOCAL_LIBS putil express
+#define OTHER_LIBS dtoolconfig dtool
 
 
 #begin metalib_target
 #begin metalib_target
   #define TARGET pandafx
   #define TARGET pandafx

+ 1 - 1
panda/src/putil/ioPtaDatagramFloat.h

@@ -35,7 +35,7 @@ class DatagramIterator;
 //               place to scope these static methods which should be
 //               place to scope these static methods which should be
 //               called directly.
 //               called directly.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
-class IoPtaDatagramFloat {
+class EXPCL_PANDA IoPtaDatagramFloat {
 public:
 public:
   static void write_datagram(Datagram &dest, CPTA_float array);
   static void write_datagram(Datagram &dest, CPTA_float array);
   static PTA_float read_datagram(DatagramIterator &source);
   static PTA_float read_datagram(DatagramIterator &source);

+ 1 - 1
panda/src/putil/ioPtaDatagramInt.h

@@ -34,7 +34,7 @@ class DatagramIterator;
 //               constructed; it's just a convenient place to scope
 //               constructed; it's just a convenient place to scope
 //               these static methods which should be called directly.
 //               these static methods which should be called directly.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
-class IoPtaDatagramInt {
+class EXPCL_PANDA IoPtaDatagramInt {
 public:
 public:
   static void write_datagram(Datagram &dest, CPTA_int array);
   static void write_datagram(Datagram &dest, CPTA_int array);
   static PTA_int read_datagram(DatagramIterator &source);
   static PTA_int read_datagram(DatagramIterator &source);

+ 1 - 1
panda/src/putil/ioPtaDatagramShort.h

@@ -35,7 +35,7 @@ class DatagramIterator;
 //               place to scope these static methods which should be
 //               place to scope these static methods which should be
 //               called directly.
 //               called directly.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
-class IoPtaDatagramShort {
+class EXPCL_PANDA IoPtaDatagramShort {
 public:
 public:
   static void write_datagram(Datagram &dest, CPTA_ushort array);
   static void write_datagram(Datagram &dest, CPTA_ushort array);
   static PTA_ushort read_datagram(DatagramIterator &source);
   static PTA_ushort read_datagram(DatagramIterator &source);