Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't build in VS2015, error #1383

Closed
waylenz opened this issue May 9, 2018 · 2 comments
Closed

can't build in VS2015, error #1383

waylenz opened this issue May 9, 2018 · 2 comments

Comments

@waylenz
Copy link

waylenz commented May 9, 2018

Hi,
Today I build the leela-zero , I get these errors
1>------ 已启动生成: project: leela-zero, configuration: Release x64 ------
1>GameState.obj : error LNK2001: unresolved external symbol "public: __cdecl UCTNodePointer::~UCTNodePointer(void)" (??1UCTNodePointer@@qeaa@XZ)
1>UCTNode.obj : error LNK2001: unresolved external symbol "public: float __cdecl UCTNodePointer::get_eval(int)const " (?get_eval@UCTNodePointer@@QEBAMH@Z)
1>UCTNode.obj : error LNK2001: unresolved external symbol "public: bool __cdecl UCTNodePointer::active(void)const " (?active@UCTNodePointer@@QEBA_NXZ)
1>UCTNode.obj : error LNK2001: unresolved external symbol "public: float __cdecl UCTNodePointer::get_score(void)const " (?get_score@UCTNodePointer@@QEBAMXZ)
1>UCTNode.obj : error LNK2001: unresolved external symbol "public: int __cdecl UCTNodePointer::get_visits(void)const " (?get_visits@UCTNodePointer@@QEBAHXZ)
1>UCTNode.obj : error LNK2001: unresolved external symbol "public: bool __cdecl UCTNodePointer::valid(void)const " (?valid@UCTNodePointer@@QEBA_NXZ)
1>UCTNode.obj : error LNK2001: unresolved external symbol "public: void __cdecl UCTNodePointer::inflate(void)const " (?inflate@UCTNodePointer@@QEBAXXZ)
1>UCTNode.obj : error LNK2001: unresolved external symbol "public: class UCTNodePointer & __cdecl UCTNodePointer::operator=(class UCTNodePointer &&)" (??4UCTNodePointer@@QEAAAEAV0@$$QEAV0@@z)
1>UCTNode.obj : error LNK2001: unresolved external symbol "public: __cdecl UCTNodePointer::UCTNodePointer(class UCTNodePointer &&)" (??0UCTNodePointer@@qeaa@$$QEAV0@@z)
1>UCTNode.obj : error LNK2001: unresolved external symbol "public: __cdecl UCTNodePointer::UCTNodePointer(short,float)" (??0UCTNodePointer@@qeaa@FM@Z)
1>UCTNodeRoot.obj : error LNK2001: unresolved external symbol "public: int __cdecl UCTNodePointer::get_move(void)const " (?get_move@UCTNodePointer@@QEBAHXZ)


Are some packages miss?

@gcp
Copy link
Member

gcp commented May 9, 2018

You need to add UCTNodePointer.cpp to the sln file. I don't think anyone is maintaining the MSVC2015 build files.

@waylenz
Copy link
Author

waylenz commented May 9, 2018

thank gcp, I add UCTNodePointer.cpp to sln, the issue have solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants