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
make problem #2
Comments
As the pre-built libtensorflow.so is for arm64, and if you are trying this on x86, ld will complain. You can workaround this by two methods:
Thanks, cyberfire |
Please re-open if meet new issue |
Hi, I have the same problem. I follow this https://www.tensorflow.org/install/install_c for tensorflow c apis, but not bazel build. I do have libtensorflow.so in TENSORFLOW_ROOT. I guess I have to link it to test/camera.a as well? |
Seems to be similar to this issue. The fix works like charm. I had to add the install library path to variable(LD_LIBRARY_PATH) |
i have disable the arm_compute, but met another problem whem make your project. I built the libmtcnn.so successfully. Link the test.a just print these problem below.
/home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_DeleteTensor' /home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_DeleteStatus'/home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_DeleteSession' /home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_DeleteGraph'/home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_Message' /home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_TensorData'/home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_NewGraph' /home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_NewSessionOptions'/home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_SessionRun' /home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_NewSession'/home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_CloseSession' /home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_GraphOperationByName'/home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_GraphImportGraphDef' /home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_NewStatus'/home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_Dim' /home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_NewTensor'/home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_GetCode' /home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to
TF_NewImportGraphDefOptions'/home/sg/workspace/mtcnn/libmtcnn/libmtcnn.so: undefined reference to `TF_ImportGraphDefOptionsSetPrefix'
collect2: error: ld returned 1 exit status
Makefile:18: recipe for target 'test' failed
make: *** [test] Error 1
The text was updated successfully, but these errors were encountered: