Front Page › Forums › Installing and compiling › H3DLoad compilation problem
- This topic has 9 replies, 3 voices, and was last updated 8 years, 3 months ago by Markus.
-
AuthorPosts
-
December 17, 2012 at 9:07 am #735861talfurParticipant
Hey,
My name is Tal.
I am working with a phantom desktop, and am currently trying to perform an H3DLoad compilation.
The experimnet files I am using where already used on another (no loger existing) computer.I have followed the compilation protocol, but had an error, and havn’t been able to work it out yet.
I have downloaded CMake 2.8.10.2 and throught the CMake gui successfully created a solution (VC_10) for the H3DAPI (C:H3DH3DAPIbuild
).At the next step I’ve tried to do the same for H3DLoad (C:H3DH3DAPIH3DLoadbuild).
During the ‘configure’ phase at the CMake, I’ve got the following warning:
STATUS,H3DAPI debug libraries not found. Debug build might not work.Since it seems from your forum I’m not the first, I tried to continue- opened the file H3DLoad with visual studio 10 and tried to build to project (same as I previously did with the H3DAPI). This time I’ve got a few wornings, and the following error:
Error 1 error LNK1104: cannot open file ‘H3DAPI_vc10_d.lib’ C:H3DH3DAPIH3DLoadbuildTal4LINK H3DLoad
Would you be so kind as to give me some advice to cope with those problems?
Thank you in advance,
Have a nice day,
Tal
December 19, 2012 at 9:10 am #735860MarkusKeymasterHello Tal,
In visual studio on windows you can select which configuration you want to build. For a normal visual studio solution file generated by CMake there are four of them. Which one to build is selectable in a drop down list at the top of the visual studio interface. In order to properly generate a solution file for H3DLoad you need to first build the INSTALL project of H3DAPI in both Release and Debug configuration. (just one of the release versions is enough). If you do that then generate the H3DLoad project everything will work fine.
//Markus
December 27, 2012 at 1:43 pm #735865talfurParticipantThank you Markus,
Helpful as always.
Will try that.
Tal
December 31, 2012 at 9:32 am #735867talfurParticipantHello Again 🙂
Following the successful compilation, I’ve tried to load a file using my new “h3dload_d”.
Got a following massage from the Microsoft visual C++ debug library:
“Debug assersion failed”
program:c:H3DBinH3DLoad_d.exe
file: c:program files Microsoft visual studio 10.0VCincludexstring line1441
Expression: string subscript out of range.Any suggestions?
Thanks again,
Tal
January 7, 2013 at 8:34 am #735871MarkusKeymasterI think you are using H3DAPI 2.1.1 or something like that, which had a mistake in H3DLoad which could cause problems in release mode but never seem to. In debug mode there was a complaint however. The code is fixed in latest trunk, the fix is quite easy. Change
[code]
if( s[0] == 27 ) {
[/code]
to
[code]
if( !s.empty() && s[0] == 27 ) {
[/code]
in the class QuitAPIField in H3DLoad.cpp.December 17, 2015 at 9:37 am #737344matcnrParticipantHi
I am having an hard time to launch H3DLoad settings.
I was using a NovintFalcon but now I need to use again the PhantomDesktop.
The problem is that H3DLoad settings opens and shuts down immediately not giving me any time to select the desired haptic device.
Any suggestion on how to solve this?
Thanks
December 17, 2015 at 9:47 am #737345MarkusKeymasterTry starting it from a command window so you have a chance to see if there are any error messages given?
I assume you are using the exe file?
You can also just use SettingsGui.py (if you have the correct python addon installed (wxpython)).Try starting it as administrator. if that works then there is some kind of read access issue.
December 17, 2015 at 10:16 am #737346matcnrParticipantI solved the problem.
I unistalled and re installed H3D API.
Now I can use PhantomDesktop normally…
Unfortunately trying to get things work with the Novint Falcon has caused me only problems.
January 5, 2016 at 6:44 am #737349MarkusKeymasterHow old was your falcon? And the drivers? Just out of curiousity, the release has support for falcon (at least the 32 bit version of the release) but I have not checked recently if there is anything new regarding novint falcon, such as new proper drivers and/or new api.
January 5, 2016 at 6:44 am #727649talfurParticipant -
AuthorPosts
- You must be logged in to reply to this topic.