Code Monkey home page Code Monkey logo

Comments (4)

momo1986 avatar momo1986 commented on September 7, 2024

Looks like it needs to refer to correct boost_lib file and include file.
I can find the boost_include file with
"dpkg -S /usr/include/boost/"
However, how can I find the correct boost library file?
Thanks
Jun Yan

from attentionalpoolingaction.

efang96 avatar efang96 commented on September 7, 2024

Getting the same error, I've tried looking through previous undefined symbol issues but none of them seem to work.

from attentionalpoolingaction.

efang96 avatar efang96 commented on September 7, 2024

Update: after modifying the make file, downgrading tensorflow to 1.1 I was able to move past this issue. Here is the beginning of my make file for reference:

BOOST_LIB_DIR := /home/boost_1_69_0/stage/lib
BOOST_INC_DIR := /home/boost_1_69_0
TF_INC := $(shell python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')
LDFLAGS := -Wl,--no-as-needed,-rpath,$(BOOST_LIB_DIR) -D_GLIBCXX_USE_CXX11_ABI=0 # this ensures it will look in the correct BOOST directory for libs (not the system path)

all: pose_to_heatmap.so zero_out_channels.so render_pose.so render_objects.so

I suggest starting over and following instructions on installing boost / opencv closely.

Update:
After upgrading to tensorflow-gpu 1.12 (because cuda9 isn't supported on 1.1), getting this error again.

from attentionalpoolingaction.

dbaeka avatar dbaeka commented on September 7, 2024

Looks like it needs to refer to correct boost_lib file and include file.
I can find the boost_include file with
"dpkg -S /usr/include/boost/"
However, how can I find the correct boost library file?
Thanks
Jun Yan

You can find the boost library in /usr/lib/x86_64-linux-gnu/

And then set your LDFLAGS as @efang96 suggests

from attentionalpoolingaction.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.