Michael Williams wrote:
Ben Shoemaker wrote:
Success! I was able to build on WinXP using Scons and minGW (with gcc4.3.3). Here's what (finally) worked for me:

1. Install Python 2.6.2
http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi

2. Install minGW (using TDM's installer on empty minGW directory)
http://downloads.sourceforge.net/tdm-gcc/tdm-mingw-1.902.0-f1.exe
 > ...

Is there a nice installer like this anywhere for 64-bit (Windows 7)?


I'm just using the 32-bit version.  But something is not right:

> g++.exe -o example.exe ego/ego.cpp example/main.cpp -O3 -Iego 
-fomit-frame-pointer -ffast-math -frename-registers -march=i686

In file included from ego/ego.cpp:49:
ego/fast_random.cpp: In member function 'void FastRandom::test()':
ego/fast_random.cpp:76: error: 'printf' was not declared in this scope
ego/fast_random.cpp: In member function 'void FastRandom::test2(uint, uint)':
ego/fast_random.cpp:90: error: 'printf' was not declared in this scope
In file included from example/main.cpp:27:
example/uct.cpp: In member function 'std::string Stat::to_string(bool)':
example/uct.cpp:82: error: 'sprintf' was not declared in this scope
example/main.cpp: In function 'int main(int, char**)':
example/main.cpp:51: error: 'stdout' was not declared in this scope
example/main.cpp:51: error: 'setbuf' was not declared in this scope
example/main.cpp:52: error: 'stderr' was not declared in this scope

It's like it can't find stdio. Any ideas? Process Monitor says that it is getting BUFFER OVERFLOW when accessing that file. I don't know what that means so it may or may not be normal. But probably not.
_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to