roy7 wrote:as0770 wrote:Thanks but it won't compile:
g++ -O3 -Wall -std=c++11 -g -c src/UctSearch.cpp -o src/UctSearch.o
src/UctSearch.cpp:39:18: fatal error: Eval.h: Datei oder Verzeichnis nicht gefunden
#include "Eval.h"
^
compilation terminated.
You have to download the CNTK as well and add the cntk/Include directory to the includes path when compiling. Either add to your PATH in general or add
When you link at the end you'll need to add cntk/ctnk/EvalDll.dll (I think it was called) to the list of objects on the file command make does.
Thanks, but I still have problems. After downloading cntk I get this error:
src/UctSearch.cpp: In function ‘void ParallelUctSearch(thread_arg_t*)’:
src/UctSearch.cpp

15: error: ‘atomic_int64_t’ in namespace ‘std’ does not name a type
static std::atomic_int64_t queue_full;
^
src/UctSearch.cpp

25: error: ‘queue_full’ was not declared in this scope
std::atomic_fetch_add(&queue_full, 1);
^
I can remove the function:
void
ParallelUctSearch(thread_arg_t *arg)
{
}
And get the next error:
/home/alex/Programme/Engines/Go/Rayon/src/UctSearch.cpp

Nicht definierter Verweis auf `GetEvalF'
I can fix this by:
// GetEvalF(&nn_model);
And it compiles but of course it don't work:
./ray
Init CNTK
Get EvalModel failed