Hi Martin,

You've already mentioned that you don't use visual studio so I don't 
necessarily expect more assistance with this issue but I figured I'd keep 
posting here for the record.

Notes:  
I am running Windows 7 Pro 32-bit
I am using the libgta-1.0.1 Windows 32 bit binaries

I traced the error to the osgdb_gta.dll plugin which is called when running 
osgdem.  I used dependency walker to look at this dll and found that there are 
multiple errors with it.  There are two errors that come up related to 
ieshims.dll and ieframe.dll, both of which I googled and believe to be common 
false positive errors based on some Windows 7 delayed loading dll technique.  
The third error is related to libgta-0.dll :
"Error: At least one module has an unresolved import due to a missing export 
function in an implicitly dependent module."
Dependency walker reports that the following functions are not bound in 
libgta-0.dll:

??0Image@osg@@QAE@XZ
??1Image@osg@@MAE@XZ
?allocateImage@Image@osg@@UAEXHHHIIH@Z
?className@Image@osg@@UBEPBDXZ
?clone@Image@osg@@UBEPAVObject@2@ABVCopyOp@2@@Z
?cloneType@Image@osg@@UBEPAVObject@2@XZ
?compare@Image@osg@@UBEHABV12@@Z
?computeDataVariance@Object@osg@@UAEXXZ
?copySubImage@Image@osg@@UAEXHHHPBV12@@Z
?getDataPointer@Image@osg@@UBEPBXXZ
?getTotalDataSize@Image@osg@@UBEIXZ
?getUserData@Object@osg@@UAEPAVReferenced@2@XZ
?getUserData@Object@osg@@UBEPBVReferenced@2@XZ
?isImageTranslucent@Image@osg@@UBE_NXZ
?isNotifyEnabled@osg@@YA_NW4NotifySeverity@1@@Z
?isSameKindAs@Image@osg@@UBE_NPBVObject@2@@Z
?libraryName@Image@osg@@UBEPBDXZ
?notify@osg@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@W4NotifySeverity@1@@Z
?readImageFromCurrentTexture@Image@osg@@UAEXI_NI@Z
?readPixels@Image@osg@@UAEXHHHHII@Z
?releaseGLObjects@BufferData@osg@@UBEXPAVState@2@@Z
?releaseGLObjects@Object@osg@@UBEXPAVState@2@@Z
?requiresUpdateCall@Image@osg@@UBE_NXZ
?resizeGLObjectBuffers@BufferData@osg@@UAEXI@Z
?resizeGLObjectBuffers@Object@osg@@UAEXI@Z
?scaleImage@Image@osg@@UAEXHHHI@Z
?sendFocusHint@Image@osg@@UAE_N_N@Z
?sendKeyEvent@Image@osg@@UAE_NH_N@Z
?sendPointerEvent@Image@osg@@UAE_NHHH@Z
?setFileName@Image@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z
?setFrameLastRendered@Image@osg@@UAEXPBVFrameStamp@2@@Z
?setImage@Image@osg@@UAEXHHHHIIPAEW4AllocationMode@12@H@Z
?setName@Object@osg@@UAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z
?setThreadSafeRefUnref@Object@osg@@UAEX_N@Z
?setUserData@Object@osg@@UAEXPAVReferenced@2@@Z
?unref@Referenced@osg@@QBEHXZ
?update@Image@osg@@UAEXPAVNodeVisitor@2@@Z


I then tried loading libgta-0.dll into dependency walker and it did not report 
any errors.  I'm not a dll expert by any means but it looks to me like the 
osgdb_gta.dll is not properly linked to the libgta-0.dll.  When I built OSG 
using CMake, I pointed the GTA_INCLUDE_DIRS to the directory containing the 
libgta include content set GTA_LIBRARIES to libgta.lib .  Are these the correct 
settings?  I think the next thing to try is to rebuild OSG and set 
GTA_LIBRARIES to libgta.a as you mentioned in the last post.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44496#44496





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to