How to use nmake to compile on WinNT?

Shxin YU iku317 at netscape.net
Fri Mar 24 05:04:37 EST 2000


Dear All:
When I tried to compile the Galib245 on WinNT,after I entered the command
:
nmake /f makefile.win32,I got the following error,
would you please tell me what's the problem?
Thanks a lot,
shixin

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cd ga
        nmake /nologo /f makefile.win32
        cd ..
        cd examples
        nmake /nologo /f makefile.win32
        link.exe /nologo /subsystem:console /incremental:no /debug randtest.o
/out
randtest.exe /LIBPATH:../ga ga.lib
randtest.o : error LNK2001: unresolved external symbol "int __cdecl
GARandomBit(vo
d)" (?GARandomBit@@YAHXZ)
randtest.o : error LNK2001: unresolved external symbol "unsigned int __cdecl
GAGet
andomSeed(void)" (?GAGetRandomSeed@@YAIXZ)
randtest.o : error LNK2001: unresolved external symbol "void __cdecl
GARandomSeed(
nsigned int)" (?GARandomSeed@@YAXI at Z)
randtest.o : error LNK2001: unresolved external symbol "char const * __cdecl
GAGet
NG(void)" (?GAGetRNG@@YAPBDXZ)
randtest.o : error LNK2001: unresolved external symbol "float __cdecl
ran2(void)"
?ran2@@YAMXZ)
randtest.exe : fatal error LNK1120: 5 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\Bin\NMA
E.EXE"' : return code '0x2'
Stop.


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.





More information about the galib mailing list