[sldev] cannot open file 'OpenJPEG.lib'

Phoenix phoenix at secondlife.com
Sun Nov 18 16:56:40 PST 2007


If memory serves right, you get those kind of errors with MSVC when a  
library is created with the DLL based c runtime libraries. If you  
rebuilt open jpeg libraries to link to the static c runtime, and  
change the link file from openjpeg.lib to openjpegd.lib you should be  
fine.


On 2007-11-18, at 14:32 , Anna Gulaev wrote:
> Robin Cornelius wrote:
> Anna Gulaev wrote:
> > MSVCRT.lib(MSVCR71.dll) : error LNK2005: _strtol already defined in
> > LIBCMTD.lib(strtol.obj)
> >
> > (and a whole lot more like this).
>
>  ...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.
>
> Thanks Robin, it looks like the compiler agrees with you. After  
> many of those errors I got these warnings:
>
> LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of  
> other libs; use /NODEFAULTLIB:library
> LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of  
> other libs; use /NODEFAULTLIB:library
>
> Being new to Windows, I'm off to the oracle at google to figure out  
> what the hell it means :-)
>
> I seem to have gotten through the openjpeg thing by swapping the  
> release library into the debug version.
>
> Anna
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20071118/bc300fe4/PGP.pgp


More information about the SLDev mailing list