-
Notifications
You must be signed in to change notification settings - Fork 182
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
Undefined reference to tensorflow::FreezeSavedModel #249
Comments
This may be because your protobuf header files have a different version than you protobuf library. I have no idea if your |
Closing for inactivity, feel free to reopen if the issue persists. |
Hi, Sorry to reopen that but anyone has a fix for this please ? |
Hi, you can try the |
The problem I am encountering when I try to compile a method with usign tensorflow::FreezeSavedModel(). It keeps complaining about not being able to find tensorflow::FreezeSavedModel(). However, I did have it included in my header file.
I tried to google search the issue, and someone encountered similar issue said it was the protobuf. But I explicitly tell CMake to link to a specific library file.
Error Message I am getting.
Configure message I get from CMakeLists.txt
The header I have included in CatDogCnn.hpp
the method that is causing the problem in the CatDogCnn.cpp file
the root CMakeLists.txt
CMakeLists.txt for CatDogCnn. I linked to a specify the location of libprotobuf.so becasue ${PROTOBUF_LIBRARIES} keeps pointing to version 2.5 which doesn't have
google/protobuf/arena.h
The text was updated successfully, but these errors were encountered: