LeelaChessZero / lc0

The rewritten engine, originally for tensorflow. Now all other backends have been ported here.
GNU General Public License v3.0
2.46k stars 535 forks source link

Help, Windows 10 Build Error #1218

Closed jimi-pz closed 4 years ago

jimi-pz commented 4 years ago

Following the instructions for Windows 10 fails at the build step; giving "LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj" error.

Only 7 projects fails, others are ok. Could not make much sense to me, any idea ? I'm using visual studio 2019, fyi.

Error:

"C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\lc0.sln" (default target) (1) -> "C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\lc0@exe.vcxproj" (default target) (30) -> (Link target) -> LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj' [C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b 8acff\build\lc0@exe.vcxproj]

"C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\lc0.sln" (default target) (1) -> "C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\chessboard_test@exe.vcxproj" (default target) (32) -> LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj' [C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b 8acff\build\chessboard_test@exe.vcxproj]

"C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\lc0.sln" (default target) (1) -> "C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\hashcat_test@exe.vcxproj" (default target) (33) -> LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj' [C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b 8acff\build\hashcat_test@exe.vcxproj]

"C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\lc0.sln" (default target) (1) -> "C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\position_test@exe.vcxproj" (default target) (34) -> LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj' [C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b 8acff\build\position_test@exe.vcxproj]

"C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\lc0.sln" (default target) (1) -> "C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\optionsparser_test@exe.vcxproj" (default target) (35) -> LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj' [C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b 8acff\build\optionsparser_test@exe.vcxproj]

"C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\lc0.sln" (default target) (1) -> "C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\syzygy_test@exe.vcxproj" (default target) (36) -> LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj' [C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b 8acff\build\syzygy_test@exe.vcxproj]

"C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\lc0.sln" (default target) (1) -> "C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b8acff\build\encoder_test@exe.vcxproj" (default target) (37) -> LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj' [C:\Users\jimi\Leela Chess\LeelaChessZero-lc0-4b 8acff\build\encoder_test@exe.vcxproj]

699 Warning(s)
7 Error(s)
Naphthalin commented 4 years ago

Just to be sure, can you try again with a fresh clone of master? There recently was a fix merged for some Windows 10 compiler problems.

mooskagh commented 4 years ago

I recommend joining our Discord chat at http://lc0.org/chat and asking there in #help. There are often lots of helpful people and that way it will be resolved quicker.

jimi-pz commented 4 years ago

@Naphthalin: Thanks; it builds with master; @mooskagh, thanks for the info.