[gdal-dev] how to build dwg driver?
Ivan Lucena
lucena_ivan at hotmail.com
Wed Jul 22 12:23:19 PDT 2015
Hi,
I am having a hard time trying to build the DWG driver (VS10x64).
Reading from nmake.opt it seems like there are two SDK we can use.
I could not find the DWGDirect SDK for download, so I am trying to use TX_DSK_4.1.01.0.0.
Compilation goes well but I am getting several missing symbols during the linkage.
Does anybody have experience building that driver could give some advice?
Thanks a lot.
Ivan
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual class OdSmartPtr<class OdStreamBuf> __cdecl ExSystemServices::createFile(class OdString const &,enum Oda::FileAccessMode,en
um Oda::FileShareMode,enum Oda::FileCreationDisposition)" (?createFile at ExSystemServices@@UEAA?AV?$OdSmartPtr at VOdStreamBuf@@@@AEBVOdString@@W4FileAccessMode at Oda@@W4FileShareMode at 5@W4FileCreationDisposit
ion at 5@@Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl ExSystemServices::accessFile(class OdString const &,int)" (?accessFile at ExSystemServices@@UEAA_NAEBVOdString@@H
@Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual __int64 __cdecl ExSystemServices::getFileCTime(class OdString const &)" (?getFileCTime at ExSystemServices@@UEAA_JAEBVOdString
@@@Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual __int64 __cdecl ExSystemServices::getFileMTime(class OdString const &)" (?getFileMTime at ExSystemServices@@UEAA_JAEBVOdString
@@@Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual __int64 __cdecl ExSystemServices::getFileSize(class OdString const &)" (?getFileSize at ExSystemServices@@UEAA_JAEBVOdString@@
@Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual class OdString __cdecl ExSystemServices::formatMessage(unsigned int,char * *)" (?formatMessage at ExSystemServices@@UEAA?AVOdS
tring@@IPEAPEAD at Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual enum OdCodePageId __cdecl ExSystemServices::systemCodePage(void)const " (?systemCodePage at ExSystemServices@@UEBA?AW4OdCodePa
geId@@XZ)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual enum OdResult __cdecl ExSystemServices::initModelerLibrary(void)" (?initModelerLibrary at ExSystemServices@@UEAA?AW4OdResult@@
XZ)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual enum OdResult __cdecl ExSystemServices::uninitModelerLibrary(void)" (?uninitModelerLibrary at ExSystemServices@@UEAA?AW4OdResu
lt@@XZ)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual class OdDbHostAppProgressMeter * __cdecl ExHostAppServices::newProgressMeter(void)" (?newProgressMeter at ExHostAppServices@@U
EAAPEAVOdDbHostAppProgressMeter@@XZ)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl ExHostAppServices::releaseProgressMeter(class OdDbHostAppProgressMeter *)" (?releaseProgressMeter at ExHostAppSer
vices@@UEAAXPEAVOdDbHostAppProgressMeter@@@Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl ExHostAppServices::ttfFileNameByDescriptor(class OdTtfDescriptor const &,class OdString &)" (?ttfFileNameByDes
criptor at ExHostAppServices@@UEAA_NAEBVOdTtfDescriptor@@AEAVOdString@@@Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual class OdSmartPtr<class OdGsDevice> __cdecl ExHostAppServices::gsBitmapDevice(class OdRxObject *,class OdRxObject *,unsigned
long)" (?gsBitmapDevice at ExHostAppServices@@UEAA?AV?$OdSmartPtr at VOdGsDevice@@@@PEAVOdRxObject@@0K at Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual class OdSmartPtr<class OdDbDatabase> __cdecl ExHostAppServices::readFile(class OdString const &,bool,bool,enum Oda::FileSha
reMode,class OdString const &)" (?readFile at ExHostAppServices@@UEAA?AV?$OdSmartPtr at VOdDbDatabase@@@@AEBVOdString@@_N1W4FileShareMode at Oda@@0 at Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual class OdHatchPatternManager * __cdecl ExHostAppServices::patternManager(void)" (?patternManager at ExHostAppServices@@UEAAPEAV
OdHatchPatternManager@@XZ)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "private: virtual class OdDbKey * __cdecl OdDbHostAppServices2::key(void)const " (?key at OdDbHostAppServices2@@EEBAPEAVOdDbKey@@XZ)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl ExHostAppServices::start(class OdString const &)" (?start at ExHostAppServices@@UEAAXAEBVOdString@@@Z)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl ExHostAppServices::stop(void)" (?stop at ExHostAppServices@@UEAAXXZ)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl ExHostAppServices::meterProgress(void)" (?meterProgress at ExHostAppServices@@UEAAXXZ)
ogrdwgdriver.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl ExHostAppServices::setLimit(int)" (?setLimit at ExHostAppServices@@UEAAXH at Z)
ogrdwgdriver.obj : error LNK2019: unresolved external symbol "public: __cdecl ExHostAppServices::ExHostAppServices(void)" (??0ExHostAppServices@@QEAA at XZ) referenced in function "public: __cdecl OGRDWGS
ervices::OGRDWGServices(void)" (??0OGRDWGServices@@QEAA at XZ)
ogrdwgdriver.obj : error LNK2019: unresolved external symbol "public: __cdecl ExSystemServices::ExSystemServices(void)" (??0ExSystemServices@@QEAA at XZ) referenced in function "public: __cdecl OGRDWGServ
ices::OGRDWGServices(void)" (??0OGRDWGServices@@QEAA at XZ)
ogrdwgdatasource.obj : error LNK2019: unresolved external symbol "class CPLString __cdecl ACTextUnescape(char const *,char const *)" (?ACTextUnescape@@YA?AVCPLString@@PEBD0 at Z) referenced in function "p
ublic: void __cdecl OGRDWGDataSource::ReadLayerDefinitions(void)" (?ReadLayerDefinitions at OGRDWGDataSource@@QEAAXXZ)
ogrdwglayer.obj : error LNK2001: unresolved external symbol "class CPLString __cdecl ACTextUnescape(char const *,char const *)" (?ACTextUnescape@@YA?AVCPLString@@PEBD0 at Z)
ogrdwglayer.obj : error LNK2019: unresolved external symbol "unsigned char const * __cdecl ACGetColorTable(void)" (?ACGetColorTable@@YAPEBEXZ) referenced in function "private: void __cdecl OGRDWGLayer:
:PrepareLineStyle(class OGRFeature *)" (?PrepareLineStyle at OGRDWGLayer@@AEAAXPEAVOGRFeature@@@Z)
ogrdwg_dimension.obj : error LNK2001: unresolved external symbol "unsigned char const * __cdecl ACGetColorTable(void)" (?ACGetColorTable@@YAPEBEXZ)
ogrdwg_hatch.obj : error LNK2001: unresolved external symbol "unsigned char const * __cdecl ACGetColorTable(void)" (?ACGetColorTable@@YAPEBEXZ)
ogrdwglayer.obj : error LNK2019: unresolved external symbol "void __cdecl ACAdjustText(double,double,class OGRFeature *)" (?ACAdjustText@@YAXNNPEAVOGRFeature@@@Z) referenced in function "private: class
OGRFeature * __cdecl OGRDWGLayer::TranslateINSERT(class OdSmartPtr<class OdDbEntity>)" (?TranslateINSERT at OGRDWGLayer@@AEAAPEAVOGRFeature@@V?$OdSmartPtr at VOdDbEntity@@@@@Z)
ogr_DWG.dll : fatal error LNK1120: 25 unresolved externals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150722/c66ed76b/attachment.html>
More information about the gdal-dev
mailing list