我試圖編譯一個項目,我在VS 2010中創建了一個軟件管理程序。在VS6和VS2005中,它編譯完美。在VS 2010中編譯項目時出錯C++
1 - 視覺工作室6 2 - Visual Studio 2005的3 - Visual Studio 2010中
原來的版本有一些錯誤,我想以後解決,但首先我需要它來編譯。
隨着VS 6和VS 2005的編譯完美。
我增加了庫的#pragma評論(LIB, 「bufferoverflowU.lib」)對應於每個需要的文件(的.cpp)
但是,它並沒有與bufferoverflowU.lib
解決任何問題錯誤是:
1>------ Operación Volver a generar todo iniciada: proyecto: Gestion_v1, configuración: Release Win32 ------
1> StdAfx.cpp
1> WDoS.cpp
1> Helpers.cpp
1> Gestion.cpp
1> WWW.cpp
1>WWW.cpp(141): warning C4018: '<' : no coinciden signed/unsigned
1>WWW.cpp(136): warning C4101: 'dwTmp' : variable local sin referencia
1>WWW.cpp(481): warning C4244: '=' : conversion from 'DWORD' to 'char'; possible loss of data
1>WWW.cpp(482): warning C4244: '=' : conversion from 'DWORD' to 'char'; possible loss of data
1> Generando código...
1>LINK : warning LNK4108: /ALIGN specified without /DRIVER; image may not run
1>WDoS.obj : error LNK2019: unresolved external symbol ___security_cookie referenced in function "unsigned long __stdcall WDoS_HTTP(void *)" ([email protected]@[email protected])
1>Gstion.obj : error LNK2001: unresolved external symbol ___security_cookie
1>WWW.obj : error LNK2001: unresolved external symbol ___security_cookie
1>WDoS.obj : error LNK2019: unresolved external symbol @[email protected] referenced in function "unsigned long __stdcall WDoS_HTTP(void *)" ([email protected]@[email protected])
1>Gestion.obj : error LNK2001: unresolved external symbol @[email protected]
1>WWW.obj : error LNK2001: unresolved external symbol @[email protected]
1>.\Release/Gestion_v1.exe : fatal error LNK1120: 2 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
任何想法? 謝謝
你能把你的錯誤翻譯成英文嗎?如果這些都是英文的話,更廣泛的受衆將能夠幫助診斷問題。 – Cornstalks
好的,我已經翻譯成英文 –
[你有沒有試過這個主題做了什麼?](http://www.pcreview.co.uk/forums/unresolved-external-symbol-___security_cookie-t1428747.html) – Cornstalks