-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant compile for X64 bits #2
Comments
Cant complile in visusl studio 2017 for x 64 bits , something aboyt global variables not recognized. |
Can you please paste the exact build error message from the "output" window of Visual Studio? In the meantime I have slightly improved CMakeLists.txt and it builds fine for me. Can you please pull the latest version and try again? Things to watch out for:
Also, in general the better practice is building outside of the source dir. To that end, make a directory on the same level as the cloned git source called.. for example "touchy_build"
and then from inside touchy_build run:
This should generate correct Visual Studio 2017 x64 Solution. I just tried it and it built correctly. |
You were right, i have been able to compiled for x64.
I am trying to use it with unity and marching cubes meshes , that change with touch, like carving them, but i have try with the openhaptics plugin of 3d syetems, but collision would not update when the mesh changes, and it is not open source to try to fix it.
Do you now this is possible, i mean collider update of the haptic shape, or may i use unity collision and on collision stay send a collision event or force callback to de phantom?
Thanks a lot for your contribution and open source code , I am trying to finish my phd, but i am in a close road, right now.
Alvaro Zamarron
…________________________________
De: Nikolaos Katzakis <notifications@github.com>
Enviado: lunes, 5 de octubre de 2020 23:35
Para: joobei/Touchy <Touchy@noreply.github.com>
Cc: ZAMA30 <zzzamarron@hotmail.com>; Author <author@noreply.github.com>
Asunto: Re: [joobei/Touchy] cant compile for X64 bits (#2)
Can you please paste the exact build error message from the "output" window of Visual Studio? In the meantime I have slightly improved CMakeLists.txt and it builds fine for me. Can you please pull the latest version and try again? Things to watch out for:
If you run "set" in the command prompt, is do you have the OH_SDK_BASE variable set correctly?
OH_SDK_BASE=C:\OpenHaptics\Developer\3.5.0
Also, to ensure you're building outside of the source dir make a directory on the same level as the cloned git source called.. for example "touchy_build" and then from inside touchy_build run:
cmake ..\Touchy -G "Visual Studio 15 2017 Win64"
This should generate correct Visual Studio 2017 x64 Solution. I just tried it and it built correctly.
Let me know if you still have trouble.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAHNKCTWUR6RWK7EC2ZJOMLSJI33VANCNFSM4SE3G5GA>.
|
The c++ component of Touchy creates a local "loop" that checks the position of the stylus and produces corresponding forces. This results in quick and snappy response from the haptic device. You could re-write some methods to transfer this functionality to c# i.e. Unity would signal the device about WHEN and HOW MUCH force to produce. My guess is that it would be slightly slower but still doable. |
No description provided.
The text was updated successfully, but these errors were encountered: