View Full Version : need a file: "nafxcw.lib"
E-Male
11th May 2004, 22:56
I'm trying to compile bsn.dll
after getting a whole lot of file, mostly headers (many from dspguru, thx) i'm down to this one: nafxcw.lib
if anyone has a working nafxcw.lib for c++/windows/pc or knows where to find it please reply
or do i need a whole pack with nafx*.* files?
thx in advance for any help
E-Male
Moitah
12th May 2004, 03:20
Update your Platform SDK, it's in there.
E-Male
12th May 2004, 06:28
my platform sdk is up2date and the only nafxcw.lib in there (the only on my pc) doesn't work
Guest
12th May 2004, 07:24
post the exact errors you get
:logfile:
@E-Male: getting that error is normally a MFC ascociated error. Also you can get that when Visual Studio 6 makes a mistake and links libraries in the wrong order. As Neuron2 says post your log file, but also post your MFC settings (or at least the compiler switches)...
-Nic
E-Male
12th May 2004, 12:15
here's the compiler output
first without the lib then with the (only) one i found on my hd
(in ...program files\Microsoft SDK\Lib\IA64\mfc)
P:\bsn>cl /LD bsn.cpp /I p:\bsn
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3052 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
bsn.cpp
Microsoft (R) Incremental Linker Version 7.10.3052
Copyright (C) Microsoft Corporation. All rights reserved.
/out:bsn.dll
/dll
/implib:bsn.lib
bsn.obj
LINK : fatal error LNK1104: cannot open file 'nafxcw.lib'
P:\bsn>ren *.2 *.lib
P:\bsn>cl /LD bsn.cpp /I p:\bsn
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3052 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
bsn.cpp
Microsoft (R) Incremental Linker Version 7.10.3052
Copyright (C) Microsoft Corporation. All rights reserved.
/out:bsn.dll
/dll
/implib:bsn.lib
bsn.obj
nafxcw.lib(nolib.obj) : fatal error LNK1112: module machine type 'IA64' conflict
s with target machine type 'X86'
P:\bsn>
i hope that helps
Oh, ok...I hadn't been following what your doing, I see that your trying to compile just with MS's free compiler tools...tricky.
The nafxcw.lib your using, as you've probably guessed, looks like it's the 64bit version (which is the same as the one I have in my platform SDK).
The one you want, probably is available only in Visual Studio. I have it, but I doubt MS want it distributing...
You might be a little stuck. Although there shouldn't be a need for nafxcw.lib, so there might be a way of not using it...
-Nic
E-Male
12th May 2004, 16:07
i have some old student version of visual studio / visual c++ lying around somewhere here
i hope i can find it and that the lib is not too outdated
if it doesn't work i gues i'm stuck before even changing one line of code in bsn.cpp
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.