-
Notifications
You must be signed in to change notification settings - Fork 1
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
missing references when linking 'hello world' program #1
Comments
Sorry for not being able to reply to you in a timely manner. Please double check if the linker path is configured correctly for link issues. The simplest way is to place the DLL in the same directory as the EXE file. |
Thanks for your reply. I found this issue which could be related: tensorflow/tensorflow#41904 |
logfile.txt |
Sorry for taking so long to reply to you. |
Thanks for your reply. I don't have any specific requirements to use CUDA, so no worries there. |
After a week of painful struggle, I finally successfully compiled the Python package of 2.18.0-rc0, but the C++ one is still stuck on the link error. I tried to modify the compilation configuration but couldn't find a solution, so I just filed an issue tensorflow/tensorflow#77156 with the official. |
OK. Thank you for your efforts. I think all of this is worthwhile, because others will struggle with this as well. |
error LNK2019: unresolved external symbol "public: __cdecl tensorflow::Input::Initializer::Initializer(class std::initializer_list const &)"
error LNK2019: unresolved external symbol "public: static class tensorflow::Scope __cdecl tensorflow::Scope::NewRootScope(void)"
error LNK2019: unresolved external symbol "private: class tensorflow::Scope __cdecl tensorflow::Scope::WithOpNameImpl(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)const "
error LNK2019: unresolved external symbol "public: __cdecl tensorflow::ClientSession::ClientSession(class tensorflow::Scope const &)"
error LNK2019: unresolved external symbol "public: __cdecl tensorflow::ClientSession::~ClientSession(void)"
error LNK2019: unresolved external symbol "public: class tensorflow::Status __cdecl tensorflow::ClientSession::Run(class std::vector<class tensorflow::Output,class std::allocator > const &,class std::vector<class tensorflow::Tensor,class std::allocator > *)const "
error LNK2019: unresolved external symbol "class tensorflow::Output __cdecl tensorflow::ops::Const(class tensorflow::Scope const &,struct tensorflow::Input::Initializer const &)"
error LNK2019: unresolved external symbol "public: __cdecl tensorflow::ops::MatMul::MatMul(class tensorflow::Scope const &,class tensorflow::Input,class tensorflow::Input,struct tensorflow::ops::MatMul::Attrs const &)"
I just checked that your binaries are 64bit, so that's not the problem...
The text was updated successfully, but these errors were encountered: