Front Page › Forums › OpenHaptics › Has anyone tried OpenHaptics 3.0 with H3DAPI 2.0?
- This topic has 22 replies, 7 voices, and was last updated 14 years, 7 months ago by Markus.
-
AuthorPosts
-
July 24, 2009 at 2:57 pm #733432adam.faethParticipant
Yes, I’ve only tried to build H3DAPI with OH3 in Win32. I hope you find a way to build with Win64, but I can’t help too much with that.
July 29, 2009 at 12:56 pm #733443sarnab75ParticipantThnaks all. I will look into it.
BTW, did you change the cmakelist file for hapi as well??
August 3, 2009 at 12:48 pm #733460tdeweyerParticipantUnfortunatly I’m in the same position. So if you find the solution before me can you please post it.
Thanks.
August 4, 2009 at 6:27 am #733469MarkusKeymasterAre you still getting the “no imports found” error for hl and hd? Those are really weird and sounds to me simply like something is not correctly set up in the project.
Also, are you having OpenHaptics 2.0 and 3.0 installed on the same machine at the same time? If you do then maybe there is a conflict of some sort.
If you get compile errors (not link errors) then it could simply be so that you are not using trunk and need to update H3DAPI code a bit to compile properly on 64 bit system.
August 5, 2009 at 8:31 am #733478tdeweyerParticipantI am still receiving these errors
1>LINK : warning LNK4199: /DELAYLOAD:HD.dll ignored; no imports found from HD.dll
1>LINK : warning LNK4199: /DELAYLOAD:Haptik.Library.dll ignored; no imports found from Haptik.Library.dll
1>HLThread.obj : error LNK2019: unresolved external symbol __imp__hdScheduleSynchronous@12 referenced in function “public: virtual void __thiscall HAPI::HLThread::synchronousCallback(enum H3DUtil::PeriodicThreadBase::CallbackCode (__cdecl*)(void *),void *)” (?synchronousCallback@HLThread@HAPI@@UAEXP6A?AW4CallbackCode@PeriodicThreadBase@H3DUtil@@PAX@Z0@Z)
1>HLThread.obj : error LNK2019: unresolved external symbol __imp__hdScheduleAsynchronous@12 referenced in function “public: virtual int __thiscall HAPI::HLThread::asynchronousCallback(enum H3DUtil::PeriodicThreadBase::CallbackCode (__cdecl*)(void *),void *)” (?asynchronousCallback@HLThread@HAPI@@UAEHP6A?AW4CallbackCode@PeriodicThreadBase@H3DUtil@@PAX@Z0@Z)
1>PhantomHapticsDevice.obj : error LNK2001: unresolved external symbol __imp__hdScheduleAsynchronous@12
1> and lots moreI have no old openhaptics on my computer
the libs are included with .lib
the defines in hapi.h are okI hope that some suggestions still come up. I will test everthing again when I’m back at the office the 24th of august.
August 5, 2009 at 6:05 pm #733485sarnab75ParticipantMarkus,
It’s a link error. Same as what Tdeweyer was getting. Probably issues with x64.
August 10, 2009 at 6:40 am #733502MarkusKeymasterThat is something I have never encountered before in that case. For some reason the hdScheduleAsynchronous function and other hd functions are found anywhere in the libraries you link against and therefore the hd.dll (hd.lib) is ignored for delayloading. I really have no idea. Maybe there are similar cases for other libraries that you can google for.
Or you can try to find out if the hdScheduleSynchronous functions are moved to some other kind of namespace or something else.
Or maybe delayload does not work properly at all, try to remove that statement for the project.
Hmm. I think I am out of ideas again.
August 10, 2009 at 6:40 am #726819adam.faethParticipant -
AuthorPosts
- You must be logged in to reply to this topic.