Comments (12)
First, I'd like to see what you come up with when your done because it sounds interesting. Second, do you have the code in visual studio now? You also need Open VR SDK 1.0.0
from driver_leap.
Thank you for your input. OpenVR missing was part of the problem and also LeapSDK. I got both and found out that I have to set the paths in the "Paths.props"-file. After having tried the newest OpenVR version I got version 1.0.0.
Unfortunatly I still get errors when trying to build the project in visual studio 15. (I translate from german):
"rapidjson/document.h" no such file or directory
unexpected end of file while searching for precompiled header, maybe you forgot to add "#include pch.h" to the source", any idea how to solve this?
from driver_leap.
I got rapidjson from https://github.com/miloyip/rapidjson and copied the folder "rapidjson/include/rapidjson" to "driver_leap\tools\config_tool\rapidjson" and the error about rapidjson went away.
Then second error about "pch.h" remained. I found "leap_driver > properties > C/C++ > precompiled Headers > disabled" makes this error go away, I dont know what this is and get other errors now about mkdir and copying files fails with "code 4" ...I'll try again another day.
from driver_leap.
My computer is currently broken, but when I get it working I can try to see how I got it working
from driver_leap.
@FDanner Did you get it working? M computer is now working so I could check how I got it working for you.
from driver_leap.
Hi ajayyy,
I got it partly working. The postbuild still fails. There is the following line in "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets" that makes the build fail:
When I comment the line out the build works. I could manually overwrite the leap.dll with my selfcompiled leap.dll and append "hello world" to a logfile with my source modification :)
Without commenting the line out it's failing, seams like it's trying to copy files and create directories but fails with "Code 4" whatever that means... any idea?
PS: One more feature I would like to add is to disable the driver for SteamVR Apps that have native leapmotion support like Bigscreen Beta or Altspace. Having virtual steam controllers and virtual hands at the same time in too much :)
from driver_leap.
found the postbuild commands in driver_leap.vcxproj
mkdir "$(InstallDir)\bin\Win64"
makes it fail because the directory already exists
xcopy /s /i /y "$(SolutionDir)\resources" "$(InstallDir)\resources"
makes it fail because the source directory does not exist, what is this, am I missing something?
It compiles successfully with both commented out.
from driver_leap.
@FDanner That's weird, didn't have that error. So, you got it working?
from driver_leap.
it's working now. Just managed to use the shift key for the system menu instead of the timeout gesture.
from driver_leap.
@FDanner Awesome.
from driver_leap.
@FDanner
Hi
encountered the same errors as you.
i fix the:
#include pch.h by disable precompiled header
the Code 4 by change the settings in driver_leap - preprocessor definitions - to all yes
and SDKDDKVer.h/windows.h by add their location u=in - additional include dirctories
but now i get the
“Only Win32 target is supported!” error
Were you able to fix it?
from driver_leap.
Edit: Fixed: Ok, I was fetching OpenVR v1. not 0.9.19
I am trying to make Alpha 0.3 works from source code but the driver_leap.cpp give me 70 errors.
I think I have not taken any steps step... Basic errors like:
- object of abstract class type "CServerDriver_Leap" is not allowed
- namespace "vr" has no member "IClientTrackedDeviceProvider_Version"
(..)
My C++ is a little rusty, (I have a long time C# programmer)
Any idea please?
from driver_leap.
Related Issues (20)
- Buttons HOT 1
- Enhancement: Disable certain/all actions with keyboard shortcuts
- Visual C++ 2015 Update 2 link is dead HOT 4
- Windows Defender won't let me download it. Claims RunDas.b Trojan. HOT 8
- when I try to run the source code i get "Only Win32 target is supported error"
- Up down left right gestures HOT 1
- error HOT 1
- First steps with DCS (Digital combat simulator) HOT 4
- Disabling touchpad gestures
- Using a controller/joystick inside a thick glove?
- Broken README.md link to Visual C++ updates
- New Skeleton API support?
- Aidez-moi, problème de gestes avec leapmotion steamvr HOT 1
- Doesn't seem to work with new SteamVR HOT 1
- steamvr leap motion HOT 6
- no update since 3 years - ?? HOT 1
- Is it possible to treat my hands as a vive tracker rather than vive controller
- i dont know what to do help
- Solved Hand-Offset
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 driver_leap.