kylemcdonald/ofxFaceTracker — Issue #18: Namespace problem?
Author: jbloit
Created: 2011-12-18 08:38:39+00:00
State: open

Hi,
I've been trying to compile FaceOSC and BasicExample, and even after fixing some header paths in the projects (for some reason, the OF_CORE_HEADERS variable wasn't defined), I always get stuck during the precompiling step of the targeted app :

Precompile Carbon.h ...in /System/Library/Frameworks/Carbon.framework/Headers
'::memcpy' has not been declared

Detail :

/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:0 In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h

/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21:0 In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h

/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:0 In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h

/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20:0 In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h

/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:25:0 In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h

../../../libs/poco/include/Poco/string.h:43:0 In file included from ../../../libs/poco/include/Poco/string.h

../../../libs/poco/include/Poco/Foundation.h:143:0 In file included from ../../../libs/poco/include/Poco/Foundation.h

../../../libs/poco/include/Poco/Bugcheck.h:44:0 In file included from ../../../libs/poco/include/Poco/Bugcheck.h

/usr/include/c++/4.2.1/string:47:0 In file included from /usr/include/c++/4.2.1/string

/usr/include/c++/4.2.1/bits/char_traits.h:45:0 In file included from /usr/include/c++/4.2.1/bits/char_traits.h

/usr/include/c++/4.2.1/cstring:80:0 '::memcpy' has not been declared in /usr/include/c++/4.2.1/cstring

Lots of similar erros follow.

Does that ring familiar to anyone?

I'm using macos10.6.3, XCcode 3.2 and just checked out all last versions of OF, FaceTracker and ofxCv (although I also had these errors with previous versions as well). I also have Jason's code.

Thank you,
Julien