vmlaker / sherlock-cpp Goto Github PK
View Code? Open in Web Editor NEWC++ version of Sherlock
License: MIT License
C++ version of Sherlock
License: MIT License
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.