[gdal-dev] Win build issues
Mateusz Loskot
mateusz at loskot.net
Mon Apr 23 13:35:45 EDT 2012
On 23 April 2012 18:16, Joaquim Luis <jluis at ualg.pt> wrote:
>> 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 at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QBE?AVconst_iterator at 12@XZ)
>> referenced in function "public: static bool __cdecl
>> LizardTech::MrSIDEncrypt::keyMatchesLock(char const *,class
>> LizardTech::Encryption const&)"
>> (?keyMatchesLock at MrSIDEncrypt@LizardTech@@SA_NPBDABVEncryption at 2@@Z)
>>
>
> For the record, after adding
> MRSID_RDLLBUILD = YES
> to nmake.opt it built fine again
The Wiki might be worth updating then
http://trac.osgeo.org/gdal/wiki/MrSID
Best regards,,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the gdal-dev
mailing list