Moderator: Andres Valverde
BrettVsop wrote:Ok assume I do not have any of the programs necessary to compile.
I need to get gcc and cygwin? I thought cygwin was for compiling linux executables.
I need to get flex. What is winres, is that another program that I need to get?
Also I may be missing some of the libraries as well. I have Visual Studios version 6 and I tried to compile with it. Since it is a newer version the code will not compile, but some of the problems I saw were missing libraries.
edit: Oh I guess I should of mentioned I am looking to create a windows executable.
BrettVsop wrote:I tried that before I posted. First thing that happened was it could not find a few of the source files. So I had to move some of the source files to the winboard directory. Next it was missing header files. So I found some header files off of the internet and copied them into the directory.
The current error that I am getting is:
.\sys/time.h(11) : error C2061: syntax error : identifier '__THROW'
It seems like it was created for Visual Studios 5, not 6. I believe that if I had 5, I would not be having any problems. This stupid program cannot compile any source (that I have seen or written) in any version, but the version it was written for. I have version 6 and 2005 installed for just this reason.
Daniel Mehrmann wrote:I don't know which sources you're using. Please use the current cvs repository of winboard. It includes a makefile for Visuial Studio 6 and 2005/2003.
You'll find it here: http://savannah.gnu.org/projects/xboard/
BrettVsop wrote:Is there this much work compiling the source in every compiler?
Thanks for the step by step Sven. I am still trying to get it running though. I am trying to figure out how to do some of the steps. (I usually do not mess around in the options area)
I am trying to get a copy of Visual Studios v5. I might be able to get a hold of it, and I think, if i do, i will be able to compile it without all of these steps.
PulsarMike wrote:winboard_rj got me to be able to compile winboard. it has a valid winboard project file for visual studio 6. i just built winboard_rj out of box then coppied on top teh files from winboard. then compiled again it worked. Did the same thing with the winboardx files and got some link errors. realized there were some new .c files in winboardx so i added them to the project and it worked.
Mike
Return to Programming and Technical Discussions
Users browsing this forum: No registered users and 43 guests