Can't build latest Juce tip library

I’ve got:
1>juce_Socket.cpp
1>…\src\io\network\juce_Socket.cpp(75) : error C2504: ‘DeletedAtShutdown’ : base class undefined
1>…\src\io\network\juce_Socket.cpp(90) : error C2059: syntax error : 'constant’
1>…\src\io\network\juce_Socket.cpp(90) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>…\src\io\network\juce_Socket.cpp(90) : warning C4183: ‘juce_DeclareSingleton’: missing return type; assumed to be a member function returning 'int’
1>…\src\io\network\juce_Socket.cpp(87) : error C3861: ‘clearSingletonInstance’: identifier not found
1>…\src\io\network\juce_Socket.cpp(93) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>…\src\io\network\juce_Socket.cpp(95) : error C2039: ‘getInstance’ : is not a member of 'juce::SocketHelpers::WinSocketStarter’
1> …\src\io\network\juce_Socket.cpp(74) : see declaration of 'juce::SocketHelpers::WinSocketStarter’
1>…\src\io\network\juce_Socket.cpp(95) : error C3861: ‘getInstance’: identifier not found

when building the Juce lib :confused:

P.S. Visual Studio 2008 + SP1 under Windows 7.

Ah, thanks, will sort that out!

+1

src\io\network\juce_Socket.cpp(91) : error C2059: syntax error : 'constant’
src\io\network\juce_Socket.cpp(91) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
src\io\network\juce_Socket.cpp(91) : warning C4183: ‘juce_DeclareSingleton’: missing return type; assumed to be a member function returning 'int’
src\io\network\juce_Socket.cpp(88) : error C3861: ‘clearSingletonInstance’: identifier not found
src\io\network\juce_Socket.cpp(94) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
src\io\network\juce_Socket.cpp(96) : error C2039: ‘getInstance’ : is not a member of 'juce::SocketHelpers::WinSocketStarter’
src\io\network\juce_Socket.cpp(75) : see declaration of 'juce::SocketHelpers::WinSocketStarter’
src\io\network\juce_Socket.cpp(96) : error C3861: ‘getInstance’: identifier not found

??

bah… I guess it just needs juce_Singleton.h included too. Pesky win32 static library builds… I never actually build the static myself, all my win32 projects use the amalg build, which is why I don’t always spot this kind of thing. Will check it in later.

Just to let you know, the recent tip gives me another compile error with your favorite compiler (VS2005) on Windows 7

It happens with the amalgameted filse (when building the Plugin Host project), so it’s a slightly different issue but this thread looked recent enough that this might be related.

Oh, I just love VS2005…! There’s already a fallback definition of that macro in case it’s missing on the mac, I suppose I just need to also provide it for windows. Thanks!