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

Could not find boost_thread library #1

Open
filitchp opened this issue Nov 26, 2017 · 0 comments
Open

Could not find boost_thread library #1

filitchp opened this issue Nov 26, 2017 · 0 comments

Comments

@filitchp
Copy link

On my system (OS X 10.11.6 with Boost 1.65) I kept getting the linker error "ld: library not found for -lboost_thread".

SIMPLE FIX: in CMakelists.txt change boost_thread to boost_thread-mt like so:

target_link_libraries(ecto_streamer_serv
  ${OpenCV_LIBS}
  boost_thread-mt boost_system boost_regex
  )

I'm not sure if the fix is good for maintaining backwards compatibility with older versions of Boost or if this is perhaps a system-dependent issue, but it allowed me to run the sample server.

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

1 participant