Giter VIP home page Giter VIP logo

sherlock-cpp's People

Contributors

vmlaker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sherlock-cpp's Issues

help building pls

Trying to build on a windows 8.1 x64 system
How do I tell scons where boost is? or where my openCV source is?

I get this:

scons bites=../bites
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
cl "/FoF:\OPENCV dependencies\SherlockC++\bites\src\Averager.obj" /c "F:\OPENCV dependencies\SherlockC++\bites\src\Averager.c
pp" -std=c++11 /nologo "/IF:\OPENCV dependencies\SherlockC++\bites\include"
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
Averager.cpp
F:\VStudio14Pro\VC\INCLUDE\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Spe
cify /EHsc
f:\opencv dependencies\sherlockc++\bites\include\bites/ConcurrentQueue.hpp(5): fatal error C1083: Cannot open include file: '
boost/thread/mutex.hpp': No such file or directory
scons: *** [F:\OPENCV dependencies\SherlockC++\bites\src\Averager.obj] Error 2
scons: building terminated because of errors.

[build breakage] tests not buildable on Linux

Hi,

First, thanks a lot for sharing your code, and your great knowledge on the threads side.

I followed your instructions, but was not able to build the tests you proposed without some hacks. I'm not an scons specialist, but I finaly got it built, and the attached diff will perhaps help you to fix seriously that. TIA

ISSUE DESCRIPTION :
Linking issue, prefer use pkg-config to detect the right opencv version, and the correct order for the libraries linking (instead of a list, never up to date, because everybody can add whatever in the list, mainly when compiling himself OpenCV).

CONTEXT:
OS : Linux (Linuxmint 18.1, x86_64, i7, lot of ram )
Issue type : build breakage, because not linking with pthread and not using pkg-config to build against the correct libopencv.

Attached : two diffs, containing build fixes, but maybe a bit hackish. Indeed, they obviously need review and improvements, because I didn"t separate the Linux build from the Windows one (e.g.), but I'm not a scons specialist, sorry.

Last but not least, the tests work correctly after that. Thanks again for your nice work. Next step : I'll try to understand deeply what you do, and provide you feedback (if I can).

-- ericb
bites.diff.txt
sherlock-cpp.diff.txt

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.