
LINK : fatal error LNK1104: cannot open file 'libci.lib'
First, you should be using Embedded Visual C++ or Platform Builder to build
for Windows CE. Visual C++ is intended to build desktop applications only.
That said, assuming you checked the obvious possibility that it's actually
on your linker command line, it looks like you've got a reference to
useoldio.h or something else that contains
#pragma comment(lib,"libci")
You might add /P to the compiler command line to get the preprocessed (.i)
file and find out where such a reference is coming from.
If you don't have any luck there, you can try adding /NODEFAULTLIB:libci to
your linker command line. Of course, if you're using something (like old
C++ streams, which aren't supported on CE) that requires libci, you're going
to get unresolved externals from the linker.
--
Russ Keldorph
me.)
This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"
Quote:
> I get this error message when trying to build a DLL for WindowsCE using
Visual C++.
> LINK : fatal error LNK1104: cannot open file 'libci.lib'
> Why am I getting this and how can I correct the problem?