bantherewind / cinder-leapmotion Goto Github PK
View Code? Open in Web Editor NEWCinder wrapper for the Leap Motion SDK
Cinder wrapper for the Leap Motion SDK
Attempting to compile the LeapApp sample, after fixing the xcopy command (#4), I receive another compiler error:
Error 1 error C2064: term does not evaluate to a function taking 1 arguments c:\program files (x86)\microsoft visual studio 11.0\vc\include\xrefwrap 431 1 LeapApp
I think this might have to do with Device::connectEventHandler, or Device::mEventHandler, as these are the only places you're using function templates?
void connectEventHandler( const std::function<void( Leap::Frame )>& eventHandler );
std::function<void ( Leap::Frame )> mEventHandler;
This link might be of help. It's a little over my head: http://connect.microsoft.com/VisualStudio/feedback/details/764670/error-using-std-tr1-function-templates-in-visual-studio-2012-express-in-xrefwrap
Note that the samples compile and run fine in Xcode.
When compiling the samples in vc11 (Visual Studio Express 2012 for me), I receive 1 error:
Error 1 error MSB3073: The command "xcopy "..\..\..\lib\msw\Leapd.dll" "(my path here)\cinder\blocks\LeapSdk\samples\LeapApp\vc11\bin\" /Y /C
:VCEnd" exited with code 4. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 124 5 LeapApp
Looking at the lib\msw directory, there's actually another level: x64 or x86. I was able to fix this temporarily by changing the build event to:
xcopy "..\..\..\lib\msw\x86\Leapd.dll" "$(ProjectDir)bin\" /Y /C
...but I'm sure there's a way to sub in the appropriate directory based on whether you're building for x64 or x86 (I just don't know how to do that).
Hey @BanTheRewind, the skeletal tracking beta just went public. I've got a branch on my fork with the new header files and libs: https://github.com/nselikoff/Cinder-LeapMotion/tree/beta
If you want to make a beta branch in your repo I'd be happy to PR to it.
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.