Forum Replies Created
-
AuthorPosts
-
boland3Blocked
Dear Hugo and all,
Good news!! With your help, I was able to compile SOFA and successfully run the demo/example Geomagic plugin scenes (liver, skull).
All who contributed deserve much praise for such a powerful program. I will be trying to write a journal paper soon and will credit SOFA as many times as I can.
Next I will try to build my own scene; I will keep you updated!
Thanks,
Brianboland3BlockedIf anyone can think of anything, please let me know. I will try to learn more about scene files and attempt to write one.
I will also try to build in release version somehow.
Thanks everyone.
boland3BlockedAlso, how can I build the release version? I had no intention of using the debug version.
boland3BlockedFirst I wanted to thank you for helping me out. I really appreciate your time.
So I tried with a random device name and it did give an error as it should. Here is the output:
[INFO] [PluginManager] Loaded plugin: C:/Users/Brian/SofaInstall/v16.12/build/bin/Debug/Geomagic_d.dll [INFO] [TagFactory] creating new tag 2: NoPicking Loading OBJ topology : snake_body.obj [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 184 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 497 != 1 PNG image C:/Users/Brian/SofaInstall/v16.12/src/share/textures/snakeColorMap.png: 2048x2048x24 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 16 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 336 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 17 != 1 [NewOmni] Failed to initialize the device called Default Devicenot [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 181 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 34 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1
I’ll keep trying to find the issue.
Thanks,
Brianboland3Blocked[INFO] [PluginManager] Loaded plugin: C:/Users/Brian/SofaInstall/v16.12/build/bin/Debug/Geomagic_d.dll [INFO] [TagFactory] creating new tag 2: NoPicking Loading OBJ topology : snake_body.obj [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 184 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 497 != 1 PNG image C:/Users/Brian/SofaInstall/v16.12/src/share/textures/snakeColorMap.png: 2048x2048x24 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 16 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 336 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 17 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 181 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 34 != 1 **************************************** This is the DEVELOPER EDITION of OPENHAPTICS, commercial distribution is prohibited Please contact 3D Systems to obtain a commercial license **************************************** [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 181 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 34 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1 [WARNING] [MechanicalObject] Writing to State vector position(V_COORD) with incorrect size : 35 != 1
Sorry for formatting issue. I am relatively new at the forums. It appears that this error is a result of having a developer version of the toolkit as opposed to a commercial license. Is that why it will not operate?
Thanks,
Brianboland3BlockedI have not changed anything in a scene file. How would I change the scene file with the sample liver model so that the haptic device can be used with it?
Here is the output:
https://s17.postimg.org/4h4rc0u9r/output_sofa_01.jpgboland3BlockedI see a field in CMake called ‘CMAKE_CONFIGURATION_TYPES’ and its value was ‘Debug;Release;MinSizeRel;RelWithDebInfo’
I will try to change the field to just ‘Release’ and compile again.
Thanks,
Brianboland3BlockedHi Hugo,
I had installed the haptic device back in January and the Geomagic diagnostic confirms that it is connected and working.
Then I close the Geomagic diagnostic and try to open Sofa by going to:
C:\Users\Brian\SofaInstall\v16.12\build\bin\Debug\runSofa_dI know of no other .exe file to open and run other than this debug mode file. It opens Sofa and I can use it with my computer mouse, but the device does nothing in the program. I went to the Sofa ‘Plugin Manager’ and made sure Geomagic was there.
Should I try again from scratch? I just don’t know how to get the device working in the program as the mouse.
Let me know if I can provide any more pertinent info.
Thanks,
Brianboland3BlockedDear Hugo,
I think I have compiled it because it says ‘loaded plugin…Geomagic…dll’ when I first click on the file:
C:\Users\Brian\SofaInstall\v16.12\build\bin\Debug\runSofa_d.exeIt opens after a few minutes (slow computer). The program does not seem to recognize the haptic touch device as a mouse controller. Is there another step to activate it? Sorry for the confusion; there are many files in the ‘build’ folder and I’m just having trouble connecting the last dot.
Thanks,
Brian Bolandboland3BlockedSo I tried again from scratch and got a little bit further. This time the CMake configured and generated. The Visual Studio build failed.
About an hour or so into it, I get a window called ‘devenv.exe – Application Error’ with the text: “The exception unknown software exception (0xe0434352) occured in the application at location 0x76510f22.”
Any ideas? I checked the box for Geomagic. Am I supposed to run CMake for the plugin itself, before running CMake for SOFA? Please advise.
Thanks,
Brian -
AuthorPosts