Open cdw9bf opened 8 years ago
I'm not sure, best to try that first and see if it works.
Are the only functions you are calling from boost the "lock_guard" and "unique_lock"?
I'm not sure, you could take a look around. I'm pretty sure all the boost stuff could be replaced with Qt/C++11 calls though.
Hi,
I am currently having a problem when making Logger. There appears to be two functions by the names of "lock_guard" and "unique_lock" when making the OpenNI1 directory. One of these functions in located in "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__mutex_base" and the other one with the same name is located in "/usr/local/include/boost/thread/lock_guard.hpp" .
I assume you want to use the function found in the boost directory but I found that these two lines are the ones that are creating the issue.
using namespace std; using namespace boost;
Is there an easy way around this other than changing all of the function names to include boost:: before them and removing the namespace line calling in all boost functions?
Thanks,
Chris