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

Compiling issue with QtCreator #38

Open
jeppius opened this issue May 10, 2018 · 1 comment
Open

Compiling issue with QtCreator #38

jeppius opened this issue May 10, 2018 · 1 comment

Comments

@jeppius
Copy link

jeppius commented May 10, 2018

I can't successfuly compile ofxMSATensorFlow, even with a freshly recompiled TensorFlow library. Any help would be appreciated.
Using Qt Creator 4.1.0 - Based on Qt 5.7.0 (Clang 7.0 (Apple), 64 bit) - Built on Aug 24 2016 15:09:37 on a 10.13 High Sierra I get the following linker errors with the provided examples:

Undefined symbols for architecture x86_64:
"tensorflow::TensorShapeRep::SlowCopyFrom(tensorflow::TensorShapeRep const&)", referenced from:
tensorflow::TensorShapeRep::TensorShapeRep(tensorflow::TensorShapeRep const&) in ofxMSATFImageClassifier.cpp.o
tensorflow::TensorShapeRep::TensorShapeRep(tensorflow::TensorShapeRep const&) in ofxMSATFSimpleModel.cpp.o
tensorflow::TensorShapeRep::TensorShapeRep(tensorflow::TensorShapeRep const&) in example-basic.cpp.o
"tensorflow::TensorShapeRep::DestructorOutOfLine()", referenced from:
tensorflow::TensorShapeRep::operator=(tensorflow::TensorShapeRep&&) in ofxMSATFImageClassifier.cpp.o
tensorflow::TensorShapeRep::~TensorShapeRep() in ofxMSATFImageClassifier.cpp.o
tensorflow::TensorShapeRep::operator=(tensorflow::TensorShapeRep&&) in ofxMSATFSimpleModel.cpp.o
tensorflow::TensorShapeRep::~TensorShapeRep() in ofxMSATFSimpleModel.cpp.o
tensorflow::TensorShapeRep::~TensorShapeRep() in example-basic.cpp.o
"tensorflow::TensorShapeBasetensorflow::TensorShape::TensorShapeBase(tensorflow::gtl::ArraySlice)", referenced from:
__ZN10tensorflow11TensorShapeCI2NS_15TensorShapeBaseIS0_EEENS_3gtl10ArraySliceIxEE in ofxMSATFImageClassifier.cpp.o
__ZN10tensorflow11TensorShapeCI2NS_15TensorShapeBaseIS0_EEENS_3gtl10ArraySliceIxEE in ofxMSATFSimpleModel.cpp.o
"tensorflow::TensorShapeBasetensorflow::TensorShape::TensorShapeBase()", referenced from:
tensorflow::TensorShape::TensorShape() in ofxMSATFImageClassifier.cpp.o
tensorflow::TensorShape::TensorShape() in example-basic.cpp.o
"tensorflow::TensorShapeBasetensorflow::TensorShape::dims() const", referenced from:
msa::tf::tensor_to_pixel_dims(tensorflow::Tensor const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) in ofxMSATFUtils.cpp.o
"tensorflow::TensorShapeBasetensorflow::TensorShape::dim_size(int) const", referenced from:
tensorflow::Tensor::dim_size(int) const in ofxMSATFUtils.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Process failed with exit code 1.
The following products could not be built for configuration qtc_Desktop_df5bff5f-debug:
example-basic
Error while building/deploying project example-basic (kit: Desktop)
When executing step "Qbs Build"

@kauecosta
Copy link

I stuck at the same point :/

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

No branches or pull requests

2 participants