by netiad » 18 Sep 2010, 15:38
The problem could be from a setting I'm missing in my project to point to a file its looking at while trying to connect to fics.
It could also be the hackish way I configured the .rc file and changed source files so winboard would compile in visual studio 2008.
The hackish steps I took are:
1. changed OutputChatMessage in wchat.c to: void OutputChatMessage(int partner, char *text) { return; }.
This was to get me past the errors: wchat.c(282) : error C2143: syntax error : missing ';' before 'type'
wchat.c(283) : error C2065: 'n' : undeclared identifier
wchat.c(283) : error C2065: 'n' : undeclared identifier
wchat.c(283) : error C2065: 'n' : undeclared identifier
2. Commented out #include <unistd.h>, afaik unistd.h is a library for process control in unix / linux for things like pipes and forks. I didn't have any other errors after commenting it out so I'm assuming what was using it wasn't using it under the windows plateform.
This got me past this error: parser.c(1816) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
3. Changed "MANIFEST_RESOURCE_ID 24" to "MANIFEST_RESOURCE_ID 5000" inside winboard.rc
This got me past this error: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
The source I'm compiling on is xboard-4.4.4