[sldev] cannot open file 'OpenJPEG.lib'

Robin Cornelius robin.cornelius at gmail.com
Sun Nov 18 14:08:05 PST 2007


Anna Gulaev wrote:

> 
> This happens because, or course, there is no such file. Both the 1.1.1
> and 1.2 downloads for openjpeg have no such file in the debug version.
> There is a OpenJPEGd.lib, though. I tried renaming it but then got a
> whole host of other errors:
> 
> 
> 
> ------ Build started: Project: newview, Configuration: Debug Win32 ------
> 
> Executing pre-build batch file
> master:
> http://secondlife.com/app/message_template/master_message_template.msg
> current: c:\sl\sl_1_18_4_3\linden\scripts\messages\message_template.msg
> --- PASS ---
> Same 
> PREBUILD SUCCESSFUL
> Linking...
> MSVCRT.lib(MSVCR71.dll) : error LNK2005: _strtol already defined in
> LIBCMTD.lib(strtol.obj)
> 
> (and a whole lot more like this).
> 
> I'm thinking that renaming the lib got me past that error and onto The
> Next Thing To Be Fixed, but would like confirmation that that is the
> proper thing to do.
> 


In theory it should be ok what you have done swapping the debug for the
release but you may need to set/play with the "no default libs" settings
, or exclude default library, i forget the exact name, but its there as
a project setting in the link/linker tabs i believe.

Robin





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20071118/9ff2204b/signature.pgp


More information about the SLDev mailing list