Downloading default network stormveil.bin
curl -sOL https://github.com/Bobingstern/tarnished-nets/releases/download/stormveil/stormveil.bin
clang++ -O3 -march=native -fno-finite-math-only -funroll-loops -flto -fuse-ld=lld -std=c++20 -static -DNDEBUG -pthread -DEVALFILE=\"stormveil.bin\" -fuse-ld=lld src/datagen.cpp src/main.cpp src/movepicker.cpp src/nnue.cpp src/parameters.cpp src/search.cpp src/searcher.cpp src/util.cpp -o Tarnished-CD979854
src/main.cpp:95:18: warning: 'strtok' is deprecated: This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
95 | char *move = strtok(str, " ");
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h:435:16: note: 'strtok' has been explicitly marked deprecated here
435 | _Check_return_ _CRT_INSECURE_DEPRECATE(strtok_s)
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33617\include\vcruntime.h:355:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
355 | #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT( \
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33617\include\vcruntime.h:345:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
345 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
| ^
src/main.cpp:96:20: warning: 'strtok' is deprecated: This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
96 | while ((move = strtok(NULL, " "))) {
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h:435:16: note: 'strtok' has been explicitly marked deprecated here
435 | _Check_return_ _CRT_INSECURE_DEPRECATE(strtok_s)
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33617\include\vcruntime.h:355:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
355 | #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT( \
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33617\include\vcruntime.h:345:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
345 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
| ^
error: expected absolute expression
.type gEVALData, @object
^
error: expected absolute expression
.type gEVALEnd, @object
^
error: expected absolute expression
.type gEVALSize, @object
^
error: expected absolute expression
.type gEVALData, @object
^
error: expected absolute expression
.type gEVALEnd, @object
^
error: expected absolute expression
.type gEVALSize, @object
^
2 warnings generated.
src/nnue.cpp:43:17: warning: Using AVX2 NNUE inference [-W#pragma-messages]
43 | #pragma message("Using AVX2 NNUE inference")
| ^
1 warning generated.
lld-link: error: undefined symbol: gEVALData
>>> referenced by src/main.cpp
>>> C:\Users\liamt\AppData\Local\Temp\main-0dde1b.o
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:35: Tarnished-CD979854] Error 1