Hi,
I've been compiling nightly builds for a long time without a problem, until now. About the time Codeblocks 8.02 was released I upgraded to a new computer running vista.
I installed the latest cygwin (not used for compiling wxWidgets or Codeblocks), MinGW, wxWidgets 2.8.9 (compiled with MinGW) and Codeblocks 8.02 on the machine. After that I get the following error trying to compile codeblocks from the svn source:
-------------- Build: sdk in Code::Blocks ---------------
Running target pre-build steps
build_tools/autorevision/autorevision +wx +int +t . include/autorevision.h
'svn' is not recognized as an internal or external command,
operable program or batch file.
Precompiling header: include\sdk_precomp.h
In file included from C:/cygwin/home/paul/Workspace/wxWidgets-2.8.9/include/wx/gsocket.h:175,
from C:/cygwin/home/paul/Workspace/wxWidgets-2.8.9/include/wx/sckaddr.h:20,
from C:/cygwin/home/paul/Workspace/wxWidgets-2.8.9/include/wx/socket.h:24,
from C:\Users\paul\Documents\Workspace\codeblocks\trunk\src\include\sdk_common.h:82,
from C:\Users\paul\Documents\Workspace\codeblocks\trunk\src\include\sdk_precomp.h:13:
C:/cygwin/home/paul/Workspace/wxWidgets-2.8.9/include/wx/msw/gsockmsw.h:93: error: `SOCKET' does not name a type
C:/cygwin/home/paul/Workspace/wxWidgets-2.8.9/include/wx/msw/gsockmsw.h:104: error: field `m_timeout' has incomplete type
Process terminated with status 1 (0 minutes, 56 seconds)
2 errors, 11 warnings
Everything up to the sdk compiles just fine.
It looks like winsock.h needs to be included but I would have thought that the wxWidgets headers would look after that and I've never needed to change anything before this.
Wondering if anyone else has had a similar problem (and found a solution to it :-)
Windows Vista Home Premium
MinGW 5.1.4
wxWidgets 2.8.9
Codeblocks 8.02
Codeblocks source latest nightly svn