theoraplayer & raknet broken on windows

BlitzMax Forums/Brucey's Modules/theoraplayer & raknet broken on windows

xlsior(Posted 2013) [#1]
bah.theoraplayer and bah.raknet both fail to compile on windows, gcc version 4.7.1 (tdm-1) :-/

Theoraplayer:
Compiling:TheoraVideoClip_Theora.cpp
Compiling:yuv_c.c
Compiling:yuv420_grey_c.c
C:/Code/Blitzmax/mod/bah.mod/theoraplayer.mod/libtheoraplayer/src/TheoraVideoFrame.cpp: In constructor 'TheoraVideoFrame::TheoraVideoFrame(TheoraVideoClip*)':
C:/Code/Blitzmax/mod/bah.mod/theoraplayer.mod/libtheoraplayer/src/TheoraVideoFrame.cpp:80:27: error: 'memset' was not declared in this scope
C:/Code/Blitzmax/mod/bah.mod/theoraplayer.mod/libtheoraplayer/src/TheoraVideoFrame.cpp: In member function 'virtual void TheoraVideoFrame::decode(TheoraPixelTransform*)':
C:/Code/Blitzmax/mod/bah.mod/theoraplayer.mod/libtheoraplayer/src/TheoraVideoFrame.cpp:115:63: error: 'memcpy' was not declared in this scope
C:/Code/Blitzmax/mod/bah.mod/theoraplayer.mod/libtheoraplayer/src/TheoraVideoFrame.cpp:123:35: error: 'memcpy' was not declared in this scope
Build Error: failed to compile (1) C:/Code/Blitzmax/mod/bah.mod/theoraplayer.mod/libtheoraplayer/src/TheoraVideoFrame.cpp

Build Error: failed to compile (1) C:/Code/Blitzmax/mod/bah.mod/theoraplayer.mod/libtheoraplayer/src/TheoraVideoFrame.cpp


bah.raknet:

Compiling:NatTypeDetectionServer.cpp
Compiling:NetworkIDManager.cpp
Compiling:NetworkIDObject.cpp
Compiling:PacketConsoleLogger.cpp
Compiling:PacketFileLogger.cpp
In file included from C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/NetworkIDManager.h:11:0,
                 from C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/NetworkIDObject.cpp:9:
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h: In instantiation of 'void DataStructures::AVLBalanced
BinarySearchTree<BinarySearchTreeType>::BalanceTree(typename DataStructures::BinarySearchTree<BinarySearchTreeType>::node*, bool) [with BinarySearchTreeType = NetworkIDNode; typename DataStructures::BinarySearchTree<BinarySearchTreeType>::n
ode = DataStructures::BinarySearchTree<NetworkIDNode>::node]':
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h:219:3:   required from 'void DataStructures::AVLBalancedBinarySearchTree<BinarySearchTreeType>::Del(const BinarySearchTreeType&) [with BinarySearchTreeType = NetworkIDNode]'
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/NetworkIDObject.cpp:43:72:   required from here
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h:169:5: error: 'Height' was not declared in this scope,
 and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h:169:5: note: declarations in dependent base 'DataStructures::BinarySearchTree<NetworkIDNode>' are not found by unqualified lookup
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h:169:5: note: use 'this->Height' instead
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h:174:5: error: 'Height' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h:174:5: note: declarations in dependent base 'DataStructures::BinarySearchTree<NetworkIDNode>' are not found by unqualified lookup
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h:174:5: note: use 'this->Height' instead
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h:202:4: error: 'FindParent' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h:202:4: note: declarations in dependent base 'DataStructures::BinarySearchTree<NetworkIDNode>' are not found by unqualified lookup
C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/DS_BinarySearchTree.h:202:4: note: use 'this->FindParent' instead
Compiling:PacketizedTCP.cpp
Build Error: failed to compile (1) C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/NetworkIDObject.cpp
Build Error: failed to compile (1) C:/Code/Blitzmax/mod/bah.mod/raknet.mod/src/NetworkIDObject.cpp



Brucey(Posted 2013) [#2]
So much to do, so little time…


xlsior(Posted 2013) [#3]
Looks like you found some time though, Theoraplayer appears to work again. :-)

(*very* nice one, by the way, with both sound & video working now!)