Skip to content
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

Open
ZAMA30 opened this issue Oct 5, 2020 · 4 comments
Open

cant compile for X64 bits #2

ZAMA30 opened this issue Oct 5, 2020 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@ZAMA30
Copy link

ZAMA30 commented Oct 5, 2020

No description provided.

@ZAMA30
Copy link
Author

ZAMA30 commented Oct 5, 2020

Cant complile in visusl studio 2017 for x 64 bits , something aboyt global variables not recognized.

@joobei
Copy link
Owner

joobei commented Oct 5, 2020

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 the OH_SDK_BASE variable set correctly?

OH_SDK_BASE=C:\OpenHaptics\Developer\3.5.0

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"

projects
|___Touchy\
|___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.

@joobei joobei self-assigned this Oct 5, 2020
@joobei joobei added help wanted Extra attention is needed question Further information is requested and removed help wanted Extra attention is needed labels Oct 5, 2020
@ZAMA30
Copy link
Author

ZAMA30 commented Oct 6, 2020 via email

@joobei
Copy link
Owner

joobei commented Oct 7, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants