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
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