Front Page › Forums › VHTK › Error when executing VHTK example
- This topic has 32 replies, 8 voices, and was last updated 13 years, 3 months ago by ralu_saw.
-
AuthorPosts
-
December 17, 2008 at 7:26 am #732245MarkusKeymaster
It is probably so that somewhere in the scene you load there is an instance of SpaceWareSensor started. Or you have selected (somehow) to use a SpaceWareSensor to navigate in the scene. In that case the SpaceWareSensor will try to start. So locate where the node is started and remove it and the warning message wiill disappear.
Do not forget to check python files loaded by the scene.
December 18, 2008 at 1:34 am #732251nugrahaParticipantyup problem solved, thanks for the help.
it is the default of x3d sensor node to load all the devices which include haptic device, mouse, keyboard, and the space ware. thanksSeptember 30, 2010 at 6:34 pm #734771ShihParticipantI am using H3DAPI 2.1.0 win 32 installer for install H3D on C:/H3D.
I am using VHTK 1.9.0 with CMake 2.8.1 and vc 8 for VHTK installation.
For CMake source file is C:/VHTK/build and bin is C:/VHTK/build/vc8.
I had BUILD INSTALL the VHTK solution file for installing libraries.Environment variables
VHTK_ROOT C:VHTK
H3D_EXTERNAL_ROOT C:H3DExternal
H3D_PYTHON_ROOT C:Python24
H3D_ROOT C:H3DH3DAPIBut I get the following problem when I try to run the example x3d file.
C:VHTK>H3DLoad x3dsetup_dichloroethane.x3d
Loading x3dsetup_dichloroethane.x3d
WARNING: Could not create “VolumeHaptics” node. It does not exist in the H3DNode
Database (x3dsetup_dichloroethane.x3d line 41)
WARNING: Could not create “LocalInfo” node. It does not exist in the H3DNodeData
base (x3dsetup_dichloroethane.x3d line 48)
WARNING: Could not create “SampledScalarVolume” node. It does not exist in the H
3DNodeDatabase (x3dsetup_dichloroethane.x3d line 169)
WARNING: Could not create “IsoSurface” node. It does not exist in the H3DNodeDat
abase (x3dsetup_dichloroethane.x3d line 198)
WARNING: Could not create “IsoSurface” node. It does not exist in the H3DNodeDat
abase (x3dsetup_dichloroethane.x3d line 207)
WARNING: Could not create “IsoSurface” node. It does not exist in the H3DNodeDat
abase (x3dsetup_dichloroethane.x3d line 216)
WARNING: Could not create “VolumeRenderer” node. It does not exist in the H3DNod
eDatabase (x3dsetup_dichloroethane.x3d line 225)
WARNING: Could not create “VectorFollowMode” node. It does not exist in the H3DN
odeDatabase (x3dsetup_dichloroethane.x3d line 250)
WARNING: Could not create “VectorFrontShapeMode” node. It does not exist in the
H3DNodeDatabase (x3dsetup_dichloroethane.x3d line 283)
XMLParseError: Invalid USE attribute. No node with DEF name “FOLLOW_MODE” define
d. ( in x3dsetup_dichloroethane.x3d line 297)I am wondering about how to fix this?
Thanks.October 1, 2010 at 7:08 am #734769datanaduParticipantHi,
that just means H3DLoad/H3DViewer cannot find VHTK library. Firstly, I think you should make sure of the followings:
1. Have you run Install to install the .dll library?
2. if you have and the example still doesn’t work, then just find where your library is and insert it where the AutoSOload in the .x3d code. For example:
[code][/code]3. You need to check the directory of the python files as well but I can’t remember what was the problem with them.
I hope that would help,
trang
October 2, 2010 at 3:54 pm #734772ShihParticipant1. Yes, I installed the .dll.
2. I have try addingto x3d example, but I got same warnings.
3. I am not sure what you want me to do with python files.Thanks for reply.
October 4, 2010 at 9:03 am #734773karluParticipantWindows has a bug that they never seem to fix: they fail silently when a dll fails to load. Your dll path might be wrong, or the dll name, or the dll is compiled with a different version of the compiler than the rest of the system.
October 5, 2010 at 6:49 am #734774MarkusKeymasterDid you build H3DLoad using Visual studio 8 or are you using the default version?
If you are then it will not work. Build H3DLoad/H3DViewer using visual studio 8. You should not have to build H3DAPI/HAPI/H3DUtil however.
October 5, 2010 at 9:52 pm #734776ShihParticipantI have build H3DLoad and H3DViewer with visual studio 8.
I have also double check my dll path and name.
But I am still having same warnings when try to run it.
Thanks for reply though.October 7, 2010 at 1:58 pm #734777MarkusKeymasterIs you visual studio 8 version up to date? Check if there are any updates for it.
Did you also double check that you are not mixing debug and release dlls?
October 7, 2010 at 6:25 pm #734779ShihParticipantI get it working now.
It seems that there is a problem between H3DLoad and VHTK.
I double check on my setup.
Examples work fine with
C:VHTK>H3DViewer x3dsetup_dichloroethane.x3d
But give same warnings for
C:VHTK>H3DLoad x3dsetup_dichloroethane.x3d
Anyway,
Thank you all for your help.January 12, 2011 at 12:59 pm #734901ralu_sawParticipantI installed the H3D API-2.1.1.-win32 version, but I have problems with the instructions for the installation of the VHTK 1.9.
From the VHTK installation guide:
-point no.4: what is 3DTouch? does it mean the path to the haptic device driver?
-point no.5: I didn’t find the VC7 setup file located in VHTK/build/win32/vc7/. there are not such things there
Help me please.January 14, 2011 at 7:38 am #734911karluParticipantWhich installation guide? The guide that resides in the docs folder is very obsolete. I’m sorry for not removing it. VHTK is compiled and installed the same was as H3D. Use CMake and set all paths and then compile.
January 20, 2011 at 11:41 am #734934ralu_sawParticipantHello,
In the installation guide from the Documentation area.
Now I hould like also to compile H3DAPI (because at the university I don’t have admnistrator reights). Could you tell me where I could find all the .lib files of the dependecies that I need? Or I have to compile first every librarie by myself?[quote]
karlu wrote:
Which installation guide? The guide that resides in the docs folder is very obsolete. I’m sorry for not removing it. VHTK is compiled and installed the same was as H3D. Use CMake and set all paths and then compile.[/quote]January 21, 2011 at 7:18 am #734941karluParticipantThere is a comprehensive guide for this in the Wiki area. You shouldn’t have to install *all* libraries yourself. There is an “externals” folder with libraries for Windows and under Linux you simply apt-get install the libraries you need.
January 31, 2011 at 7:33 am #734991ralu_sawParticipantThanks. I did it. But now I have a problem with MedX3D. I built but when I wanted to build Forssim (which requires MedX3D with teem support) I realized that I don’t know how to do it. Could you tell me please how to build it with teem support? When I run cMake there are no options for teem library.
-
AuthorPosts
- You must be logged in to reply to this topic.