Indeed that solved the linking issue, but while I am at this I have to
refer to still another problem.
For quite some time that build the mrsid driver (Geo_DSDK-7.0.0.2167)
but now it errors with.
However, shouldn't it be trying to link against lti_dsdk_dll.lib
instead of lti_dsdk.lib?
Again it seams be a 'static' thing that is coming in the way.
lti_dsdk.lib(MrSIDEncrypt.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::const_iterator __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::end(void)const "
(__imp_?end@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AVconst_iterator@12@XZ)
referenced in function "public: static bool __cdecl
LizardTech::MrSIDEncrypt::keyMatchesLock(char const *,class
LizardTech::Encryption const&)"
(?keyMatchesLock@MrSIDEncrypt@LizardTech@@SA_NPBDABVEncryption@2@@Z)
For the record, after adding
MRSID_RDLLBUILD = YES
to nmake.opt it built fine again
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev