Giter VIP home page Giter VIP logo

cinder-leapmotion's People

Contributors

andrewfb avatar bantherewind avatar nselikoff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cinder-leapmotion's Issues

Compiler error C2064 in vc11

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.

Build configuration for vc11 contains wrong dll directory for xcopy command

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.