I am want to extend the tutorial of tensorflow (http://ift.tt/2ndDTqV) g++ -std=c++11 -shared forward_matching.cc -o libzero_out.so -fPIC -I$TF_INC -I$TF_INC/external/nsync/public -L$TF_LIB -ltensorflow_framework -O2 -L. -lshared -D_GLIBCXX_USE_CXX11_ABI=0 by adding -L. (current directory) -lstereo.-lstereo stands for libstereo.so and this is what I want to use in my project.
The compiling works fine, but, I have not found a way to include those files by using #include "path_to /a_file/in/shared_lib".
Is there a tool, that helps me to find the path like objdump, ldd, nm, and so on?
Aucun commentaire:
Enregistrer un commentaire