[sldev] cannot open file 'OpenJPEG.lib'
Nicholaz Beresford
nicholaz at blueflash.cc
Mon Nov 19 06:48:18 PST 2007
(sorry for breaking the thread sequence, but I'm currently
just losely following sldev through the mailing list
archive).
I am routinely using the debug build, as it's necessary
for leak debugging. The debug build config is more or less
usable, despite a few minor quirks, but 99$ of the people
will just want to use ReleaseNoOpt and ReleaseForDownload
configs, which both work fine with release versions of the
DLLs (release versions of 3rd party libs also work for debug
mode if you don't plan to debug into the libraries).
Regarding Runtime (linker options), I normally set it
to ignore everything except the static multithreaded
libs, that is ...
Properties, Linker, Ignore libraries:
Release: msvcrt.lib;msvcrtd.lib;libc.lib;libcd.lib;libcmtd.lib
Debug: msvcrt.lib;msvcrtd.lib;libc.lib;libcd.lib;libcmt.lib
But again, the debug build is a pain (compile time, runtime,
quirks) unless you have strong reasons to use it.
Regarding OpenJPEG, I added instructions for self build
a few days ago here (to VS2003 and VS2005). Generally,
when you build third party libs yourself, make sure that in
Properties -> C++ -> Code Generation the /MT (or /MTd for
debug) options are set in the project (or in makefiles like
libcurl).
Nick
More information about the SLDev
mailing list