Compiling errors: "reference to 'Handle' ambiguous"
Opened this issue · 0 comments
I had errors while compiling FieldKit revolving around "error: reference to 'Handle' is ambiguous" in the Camera3D.cpp class. It turns out that adding "v8::" to each "Handle" type resolved the errors. Idem for the SketchPad.cpp sample. I'd be happy to know why... Nonetheless, everything appears to run correctly for me now.
For reference, here is the beginning of the error log that was produced:
/Users/num3ric/Code/cinder/FieldKit.cpp/xcode/../src/fieldkit/script/module/../../../../../FieldKit.cpp/src/fieldkit/script/module/Camera3D.cpp:27: error: reference to 'Handle' is ambiguous
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:219: error: candidates are: typedef char** Handle
../../v8/include/v8.h:101: error: template class v8::Handle
/Users/num3ric/Code/cinder/FieldKit.cpp/xcode/../src/fieldkit/script/module/../../../../../FieldKit.cpp/src/fieldkit/script/module/Camera3D.cpp:27: error: 'Handle' has not been declared
/Users/num3ric/Code/cinder/FieldKit.cpp/xcode/../src/fieldkit/script/module/../../../../../FieldKit.cpp/src/fieldkit/script/module/Camera3D.cpp:27: error: expected ',' or '...' before '<' token
[...]
Note that my v8 javascript engine has been freshly downloaded today.