Now given that Jules figures that the odd minimise problem I’ve been getting is due to some confusion between different versions of MS libraries (or MinGW ports of said), I tried doing the JUCE build through MSVC Express.
Something is defintely not right with my setup here:
MSVC++ 2005 Express (beta 1 – is there an earlier non-beta version somewhere?)
WinXPSP2 Platform SDK (everything installed)
MS Server 2003 SDK (the only one I could find available) – everything installed.
MSVC configured as dexribed in the the “Building JUCE for Win32 doc”
Interestingly the doc for vs6 and devc++ suggests that the Platform SDK should have a win64 directory inside include. However, I only have that directory for the Microsoft SDK includes. Is this a typo in the doc or are MS just out to piss me off?
Heres the failure list from a build attempt:
------ Build started: Project: JUCE, Configuration: Debug Win32 ------
Compiling...
juce_String.cpp
c:\juce\src\juce_core\text\juce_String.cpp(301) : error C2664: 'wcslen' : cannot convert parameter 1 from 'const juce_wchar *const ' to 'const wchar_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\juce\src\juce_core\text\juce_String.cpp(307) : error C2664: 'wcstombs' : cannot convert parameter 2 from 'const juce_wchar *const ' to 'const wchar_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\juce\src\juce_core\text\juce_String.cpp(359) : error C2664: 'wcstombs' : cannot convert parameter 2 from 'const juce_wchar *const ' to 'const wchar_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\juce\src\juce_core\text\juce_String.cpp(578) : error C2664: 'mbstowcs' : cannot convert parameter 1 from 'juce_wchar *' to 'wchar_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\juce\src\juce_core\text\juce_String.cpp(608) : error C2664: 'mbstowcs' : cannot convert parameter 1 from 'juce_wchar *const ' to 'wchar_t *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
juce_win32_DirectSound.cpp
c:\juce\build\win32\platform_specific_code\juce_win32_DirectSound.cpp(35) : fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory
juce_win32_PlatformUtils.cpp
c:\juce\build\win32\platform_specific_code\juce_win32_PlatformUtils.cpp(228) : error C2664: 'void JUCE::String::copyToBuffer(char *const ,const int) throw() const' : cannot convert parameter 1 from 'WCHAR *' to 'char *const '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Generating Code...
Build log was saved at "file://c:\juce\bin\intermediate_win32\staticdebug\BuildLog.htm"
JUCE - 7 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
someone throw a dog a clue bone…