Comments (4)
Hi all, I was able to get the example project to compile on Windows 10 Version 1809 with OF 10.1, some notes below:
1.) Use V2 Leap SDK, not the Orion update, which as of now is at V4. Install it first. You will likely get an error about your graphics drivers, but ignore it and continue. You will notice that when it is installed, your Leap will not work. At this point, you need to follow the manual hotfix instructions here: https://forums.leapmotion.com/t/resolved-windows-10-fall-creators-update-bugfix/6585.
2.) Next. copy the 32-bit (x86) .bin and .lib files from LeapDeveloperKit_2.3.1+31549_win folder into the example folder's bin, replacing the ones that are there.
3.) Last, you will want to go to Project -> properties -> linker -> input and copy the full path to the .lib file. for me, it was C:\Users\user\Documents\of_v0.10.1_vs2017_release\addons\ofxLeapMotion2\example\bin\Leap.lib
.
4.) Be sure to add:
void close() {
if (ourController) {
ourController->removeListener(*this);
}
/// JRW - let's delete our Leap controller
/// call close() on app exit
#ifndef TARGET_WIN32 // 3j
delete ourController;
#endif
}
as @johanjohan noted.
Now, the example should compile!
from ofxleapmotion2.
Can you help me out with the set ups, im getting compiler errors from LeapMath.h saying that is mising a ';'
from ofxleapmotion2.
@genekogan thx for the plugin. in close() i need to make following changes to avoid a crash on exit. i am on win10 of098 vs2015
void close() {
if (ourController) {
ourController->removeListener(*this);
}
/// JRW - let's delete our Leap controller
/// call close() on app exit
#ifndef TARGET_WIN32 // 3j
delete ourController;
#endif
}
from ofxleapmotion2.
@johanjohan how did you make the addon work on W10/of098/vs2015? I've tried to copy the leap.lib as suggested in the linker section, but I receive several linker error.
from ofxleapmotion2.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofxleapmotion2.