[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [gnugo-devel] Building GNU Go on Windows
From: |
Ben Lambrechts |
Subject: |
RE: [gnugo-devel] Building GNU Go on Windows |
Date: |
Mon, 19 Nov 2007 23:40:30 +0100 |
> > I tried with Visual C++ 2005 Express and Visual Studio 2008 beta 2
> > With both I get the message:
> >
> > The project file '___\gnugo-3.7.11-cmake\patterns\uncompress_fuseki.dsp'
> has
> > been corrupted and cannot be opened.
> >
> > When I place the 'uncompress_fuseki.dsp' provided by Olav Müller-Loose
> in
> > the patterns folder, it still generates lots of errors and warnings.
> >
> > When I also place the 'engine.dsp' provided by Olav Müller-Loose in the
> > engine folder, it also doesn't build.
>
> The versions of both uncompress_fuseki.dsp and engine.dsp provided
> by Olav are in the CVS. I'm not sure if they're in the tarball that
> Gunnar put up. If I understand correctly the dsp files will not
> be used if you build with cmake, and Gunnar would like to do away
> with the dsp files but perhaps not until after 3.8 release.
>
> Can you send us the errors and warnings?
>
> Dan
First I get the " The project file
'___\gnugo-3.7.11-cmake\patterns\uncompress_fuseki.dsp' has been corrupted
and cannot be opened."-error.
When I try to build I get the following list of errors and warnings.
PS: This is the package provided by Gunnar, without the patches from Olav.
Error 1 fatal error C1083: Cannot open source file: '.\score.c': No
such file or directory c1 engine
Error 2 error BK1506 : cannot open file '.\Debug\score.sbr': No such
file or directory BSCMAKE engine
Error 3 error PRJ0019: A tool returned an error code from
"Performing Custom Build Step" patterns patterns
Error 4 error BK1506 : cannot open file '.\Debug\apatterns.sbr': No
such file or directory BSCMAKE patterns
Warning 5 warning C4996: 'fopen': This function or variable may be
unsafe. Consider using fopen_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details. C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\patterns\extract_fuseki.c 322
fuseki
Warning 6 warning C4996: 'fopen': This function or variable may be
unsafe. Consider using fopen_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details. C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\patterns\extract_fuseki.c 349
fuseki
Warning 7 warning C4996: 'strdup': The POSIX name for this item is
deprecated. Instead, use the ISO C++ conformant name: _strdup. See online
help for details. C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\patterns\extract_fuseki.c 367
fuseki
Error 8 fatal error LNK1104: cannot open file '.\debug\patterns.lib'
fuseki fuseki
Error 9 error C2065: 'fd_set' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 209
gnugo
Error 10 error C2146: syntax error : missing ';' before identifier
'readReady' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 209
gnugo
Error 11 error C2065: 'readReady' : undeclared identifier
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
209 gnugo
Error 12 error C2143: syntax error : missing ';' before 'type'
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
210 gnugo
Error 13 error C2143: syntax error : missing ';' before 'type'
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
211 gnugo
Error 14 error C2143: syntax error : missing ';' before 'const'
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
212 gnugo
Error 15 error C2275: 'GmpResult' : illegal use of this type as an
expression C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 213
gnugo
Error 16 error C2146: syntax error : missing ';' before identifier
'result' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 213
gnugo
Error 17 error C2065: 'result' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 213
gnugo
Error 18 error C2065: 'intDummy' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 216
gnugo
Error 19 error C2065: 'intDummy' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 218
gnugo
Error 20 error C2065: 'charPtrDummy' : undeclared identifier
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
220 gnugo
Warning 21 warning C4047: '=' : 'const char **' differs in levels of
indirection from 'int *' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 220
gnugo
Error 22 error C2065: 'readReady' : undeclared identifier
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
240 gnugo
Error 23 error C2065: 'readReady' : undeclared identifier
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
241 gnugo
Error 24 error C2065: 'noTime' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 242
gnugo
Error 25 error C2224: left of '.tv_usec' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
242 gnugo
Error 26 error C2065: 'noTime' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 244
gnugo
Error 27 error C2224: left of '.tv_sec' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
244 gnugo
Error 28 error C2065: 'noTime' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 246
gnugo
Error 29 error C2224: left of '.tv_sec' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
246 gnugo
Error 30 error C2065: 'readReady' : undeclared identifier
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
247 gnugo
Error 31 error C2065: 'noTime' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 247
gnugo
Error 32 error C2065: 'readReady' : undeclared identifier
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c
248 gnugo
Error 33 error C2065: 'result' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 250
gnugo
Error 34 error C2065: 'result' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 251
gnugo
Error 35 error C2065: 'result' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\gmp.c 252
gnugo
Error 36 error C2065: 'WSADATA' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1690
gnugo
Error 37 error C2146: syntax error : missing ';' before identifier
'data' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1690
gnugo
Error 38 error C2065: 'data' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1690
gnugo
Error 39 error C2065: 'WORD' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1691
gnugo
Error 40 error C2146: syntax error : missing ';' before identifier
'version' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1691
gnugo
Error 41 error C2065: 'version' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1691
gnugo
Error 42 error C2065: 'version' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1693
gnugo
Error 43 error C2065: 'data' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1693
gnugo
Error 44 error C2065: 'NO_ERROR' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1693
gnugo
Error 45 error C2079: 'address' uses undefined struct 'sockaddr_in'
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1707 gnugo
Warning 46 warning C4047: '=' : 'hostent *' differs in levels of
indirection from 'int' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1717
gnugo
Error 47 error C2037: left of 'h_addrtype' specifies undefined
struct/union 'hostent' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1719
gnugo
Error 48 error C2065: 'AF_INET' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1720
gnugo
Error 49 error C2037: left of 'h_length' specifies undefined
struct/union 'hostent' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1720
gnugo
Error 50 error C2224: left of '.sin_addr' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1720 gnugo
Error 51 error C2065: 'PF_INET' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1725
gnugo
Error 52 error C2065: 'SOCK_STREAM' : undeclared identifier
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1725 gnugo
Error 53 error C2224: left of '.sin_family' must have struct/union
type C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1731
gnugo
Error 54 error C2065: 'AF_INET' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1731
gnugo
Error 55 error C2224: left of '.sin_port' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1732 gnugo
Error 56 error C2037: left of 'h_addr_list' specifies undefined
struct/union 'hostent' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1734
gnugo
Error 57 error C2224: left of '.sin_addr' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1736 gnugo
Error 58 error C2224: left of '.sin_addr' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1736 gnugo
Error 59 error C2198: 'memcpy' : too few arguments for call
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1736 gnugo
Error 60 error C2037: left of 'h_name' specifies undefined
struct/union 'hostent' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1743
gnugo
Error 61 error C2079: 'address' uses undefined struct 'sockaddr_in'
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1768 gnugo
Warning 62 warning C4047: '=' : 'hostent *' differs in levels of
indirection from 'int' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1777
gnugo
Error 63 error C2037: left of 'h_addrtype' specifies undefined
struct/union 'hostent' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1779
gnugo
Error 64 error C2065: 'AF_INET' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1780
gnugo
Error 65 error C2037: left of 'h_length' specifies undefined
struct/union 'hostent' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1780
gnugo
Error 66 error C2224: left of '.sin_addr' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1780 gnugo
Error 67 error C2037: left of 'h_name' specifies undefined
struct/union 'hostent' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1785
gnugo
Error 68 error C2224: left of '.sin_addr' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1786 gnugo
Error 69 error C2037: left of 'h_addr_list' specifies undefined
struct/union 'hostent' C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1786
gnugo
Error 70 error C2224: left of '.sin_addr' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1787 gnugo
Error 71 error C2198: 'memcpy' : too few arguments for call
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1787 gnugo
Error 72 error C2224: left of '.sin_addr' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1790 gnugo
Error 73 error C2065: 'INADDR_ANY' : undeclared identifier
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1790 gnugo
Error 74 error C2065: 'PF_INET' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1792
gnugo
Error 75 error C2065: 'SOCK_STREAM' : undeclared identifier
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1792 gnugo
Error 76 error C2224: left of '.sin_family' must have struct/union
type C:\Documents and
Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1798
gnugo
Error 77 error C2065: 'AF_INET' : undeclared identifier C:\Documents
and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c 1798
gnugo
Error 78 error C2224: left of '.sin_port' must have struct/union type
C:\Documents and Settings\Ben\Bureaublad\gnugo-3.7.11-cmake\interface\main.c
1799 gnugo
- Re: [gnugo-devel] Building GNU Go on Windows, (continued)
Re: [gnugo-devel] Building GNU Go on Windows, Olav Müller-Loose, 2007/11/06
Re: [gnugo-devel] Building GNU Go on Windows, Gunnar Farnebäck, 2007/11/19
Re: [gnugo-devel] Building GNU Go on Windows, Phil Garcia, 2007/11/19