[so] Tema 3 windows probleme compilare
Azure Dragon
the_first_azure_dragon at yahoo.com
Sat May 10 14:49:21 EEST 2008
Eu am patit asta pe calcul meu. Solutia e un #define _WIN32_WINNT 0x0500 inainte de #include <windows.h> in tema5.h. Vezi daca se rezolva.
----- Original Message ----
From: Faur Andrei <faur.andrei at yahoo.com>
To: so at cursuri.cs.pub.ro
Sent: Saturday, May 10, 2008 2:44:18 PM
Subject: [so] Tema 3 windows probleme compilare
Cu toate ca pe calculatorul meu se compileaza si programul merge, cand uploadez pe site primesc urmatoarea eroare :
[bla bla...]
cl /nologo /W3 /EHsc /c tema3.c
Microsoft (R) Program Maintenance Utility Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.
tema3.c(392) : warning C4013: 'AddVectoredExceptionHandler' undefined; assuming extern returning int
tema3.c(393) : warning C4047: '=' : 'LPVOID' differs in levels of indirection from 'int'
tema3.c(487) : warning C4013: 'RemoveVectoredExceptionHandler' undefined; assuming extern returning int
link /nologo /release /dll /out:libvm.dll /implib:libvm.lib tema3.obj
Creating library libvm.lib and object libvm.exp
tema3.obj : error LNK2019: unresolved external symbol _AddVectoredExceptionHandler referenced in function _VirtualInit
tema3.obj : error LNK2019: unresolved external symbol _RemoveVectoredExceptionHandler referenced in function _VirtualEnd
libvm.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop. In makefile am ceva de genul :
cl /nologo /W3 /EHsc /c tema3.c pentru fisierul obiect
link /nologo /release /dll /out:libvm.dll /implib:libvm.lib tema3.obj pentru librarie
What am i missing?
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
so mailing list
so at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/so/attachments/20080510/913f8a83/attachment.html
More information about the so
mailing list