Re: unresolved external error
- From: karim <karim@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Jun 2007 22:16:00 -0700
Hi Doug,
i solved the error. The /Zc:wchar_t option setting in release mode is the
problem.Thanks a lot. Thanks to all.
-karimulla.
"karim" wrote:
Hi Doug,.
"Doug Harrison [MVP]" wrote:
On Mon, 18 Jun 2007 21:45:01 -0700, karim <karim@xxxxxxxxxxxxxxxxxxxxxxxxx>yes, i tried.
wrote:
I understood that the above case is my actual probelm,but i didn't get how
to resolve in your explanation. can you please elobrate the solution for this.
So I would make sure I've deleted
everything and rebuild totally from scratch.
Did you try that?
If so, and you're still having the problem, look at allyes,it seems that there is an inconsistency in the above option. Actually i
your BuildLog.htm files and see if there is inconsistent /Zc:wchar_t option
usage.
have 3 projects in my workspace, those are SimAPI,SimWFP, and Simcdm. i am
tring to compile Simcdm and this is dependent on remaining two projects.i
have checked all of the three project properties->configuration
properties->c/c++->Language->Treat wchar_t as built in type and it is set as
"yes" for all three projects.But still i didn't get how to solve this issue
as i am new to vc++:-). i am posting snapsnots of Debug and release build
logs of all 3 projects and the option /Zc:wchar_t is there in SimWFP release
build but not in any other builts.
*********************************************************
Build Log Rebuild started: Project: SimAPI, Configuration: Debug|Win32
Command Lines Creating temporary file
"c:\TestSandBox\SimAPI\Debug\RSP0000012283004.rsp" with contents
[
/Od /I "." /I ".\res" /I ".\include" /I "C:\Program Files\NCR APTRA\Problem
Determination Collection" /D "SIMAPI_LIB" /D "WIN32" /D "_DEBUG" /D
"_WINDOWS" /D "_MBCS" /D "UNICODE" /D "_WIN32_WINNT=0x0400" /D
"_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_UNICODE" /Gm /EHsc /RTC1 /MDd /Zp1
/Yc"stdafx.h" /Fp".\Debug/SimAPI.pch" /Fo".\Debug/" /Fd".\Debug/"
/FR".\Debug\\" /W3 /c /Zi /Gz /TP .\StdAfx.cpp
]
Creating command line "cl.exe
@c:\TestSandBox\SimAPI\Debug\RSP0000012283004.rsp /nologo /errorReport:prompt"
Creating temporary file "c:\TestSandBox\SimAPI\Debug\RSP0000022283004.rsp"
with contents
[
/Od /I "." /I ".\res" /I ".\include" /I "C:\Program Files\NCR APTRA\Problem
Determination Collection" /D "SIMAPI_LIB" /D "WIN32" /D "_DEBUG" /D
"_WINDOWS" /D "_MBCS" /D "UNICODE" /D "_WIN32_WINNT=0x0400" /D
"_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_UNICODE" /Gm /EHsc /RTC1 /MDd /Zp1
/Yu"stdafx.h" /Fp".\Debug/SimAPI.pch" /Fo".\Debug/" /Fd".\Debug/"
/FR".\Debug\\" /W3 /c /Zi /Gz /TP .\source\SimXFSVersion.cpp
.\source\SimTrace.cpp
.................
]
Creating command line "cl.exe
@c:\TestSandBox\SimAPI\Debug\RSP0000022283004.rsp /nologo /errorReport:prompt"
Creating command line "rc.exe /d "_DEBUG" /d "_VC80_UPGRADE=0x0600" /d
"_AFXDLL" /d "_UNICODE" /d "UNICODE" /l 0x809 /I "res"
/fo".\Debug/SimAPI.res" .\res\SimAPI.rc"
Creating temporary file "c:\TestSandBox\SimAPI\Debug\RSP0000032283004.rsp"
with contents
[
/OUT:".\Debug\SimAPI.lib" .\Debug\DBCompacter.obj
.........................
.\Debug\StdAfx.obj
]
Creating command line "lib.exe
@c:\TestSandBox\SimAPI\Debug\RSP0000032283004.rsp /NOLOGO"
Creating temporary file "c:\TestSandBox\SimAPI\Debug\RSP0000042283004.rsp"
with contents
[
/o ".\Debug/SimAPI.bsc"
...............................
.\Debug\StdAfx.sbr
]
Creating command line "bscmake.exe
@c:\TestSandBox\SimAPI\Debug\RSP0000042283004.rsp /nologo"
****************************************************
Build Log Rebuild started: Project: SimAPI, Configuration: Release|Win32
Command Lines Creating temporary file
"c:\TestSandBox\SimAPI\Release\RSP0000052283424.rsp" with contents
[
/Od /I "." /I ".\res" /I ".\include" /I "C:\Program Files\NCR APTRA\Problem
Determination Collection" /I "..\..\XFS 2 SDK" /D "SIMAPI_LIB" /D "WIN32" /D
"NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "UNICODE" /D "_WIN32_WINNT=0x0400" /D
"_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_UNICODE" /FD /EHsc /MD /Zp1
/Yc"stdafx.h" /Fp".\Release/SimAPI.pch" /Fo".\Release/" /Fd".\Release/" /W3
/c /Gz /TP .\StdAfx.cpp
]
Creating command line "cl.exe
@c:\TestSandBox\SimAPI\Release\RSP0000052283424.rsp /nologo
/errorReport:prompt"
Creating temporary file "c:\TestSandBox\SimAPI\Release\RSP0000062283424.rsp"
with contents
[
/Od /I "." /I ".\res" /I ".\include" /I "C:\Program Files\NCR APTRA\Problem
Determination Collection" /I "..\..\XFS 2 SDK" /D "SIMAPI_LIB" /D "WIN32" /D
"NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "UNICODE" /D "_WIN32_WINNT=0x0400" /D
"_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_UNICODE" /FD /EHsc /MD /Zp1
/Yu"stdafx.h" /Fp".\Release/SimAPI.pch" /Fo".\Release/" /Fd".\Release/" /W3
/c /Gz /TP .\source\SimXFSVersion.cpp
.\source\SimTrace.cpp
.......................................................
.\source\DBCompacter.cpp
]
Creating command line "cl.exe
@c:\TestSandBox\SimAPI\Release\RSP0000062283424.rsp /nologo
/errorReport:prompt"
Creating command line "rc.exe /d "NDEBUG" /d "_VC80_UPGRADE=0x0600" /d
"_AFXDLL" /d "_UNICODE" /d "UNICODE" /l 0x809 /I "res"
/fo".\Release/SimAPI.res" .\res\SimAPI.rc"
Creating temporary file "c:\TestSandBox\SimAPI\Release\RSP0000072283424.rsp"
with contents
[
/OUT:".\Release\SimAPI.lib" .\Release\DBCompacter.obj
.\Release\picture.obj
..................................................
.\Release\StdAfx.obj
]
Creating command line "lib.exe
@c:\TestSandBox\SimAPI\Release\RSP0000072283424.rsp /NOLOGO"
*******************************************************
Build Log Rebuild started: Project: SimWFP, Configuration: Debug|Win32
Command Lines Creating temporary file
"c:\TestSandBox\SimWFP\Debug\RSP0000082283308.rsp" with contents
[
/Od /I "..\help" /I "..\SimAPI\include" /I ".\include" /I "C:\Program
Files\NCR APTRA\Problem Determination Collection" /D "SIMAPI_INTERNALS" /D
"WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "UNICODE" /D
"_WIN32_WINNT=0x0400" /D "_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_UNICODE"
/Gm /EHsc /RTC1 /MDd /Zp1 /Yc"stdafx.h" /Fp".\Debug/SimWFP.pch" /Fo".\Debug/"
/Fd".\Debug/" /FR".\Debug\\" /W3 /c /Zi /Gz /TP .\StdAfx.cpp
]
Creating command line "cl.exe
@c:\TestSandBox\SimWFP\Debug\RSP0000082283308.rsp /nologo /errorReport:prompt"
Creating temporary file "c:\TestSandBox\SimWFP\Debug\RSP0000092283308.rsp"
with contents
[
/Od /I "..\help" /I "..\SimAPI\include" /I ".\include" /I "C:\Program
Files\NCR APTRA\Problem Determination Collection" /D "SIMAPI_INTERNALS" /D
"WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "UNICODE" /D
"_WIN32_WINNT=0x0400" /D "_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_UNICODE"
/Gm /EHsc /RTC1 /MDd /Zp1 /Yu"stdafx.h" /Fp".\Debug/SimWFP.pch" /Fo".\Debug/"
/Fd".\Debug/" /FR".\Debug\\" /W3 /c /Zi /Gz /TP .\source\SimWFPTracer.cpp
.\source\SimWFPConst.cpp
........................................
.\source\simblankview.cpp
]
Creating command line "cl.exe
@c:\TestSandBox\SimWFP\Debug\RSP0000092283308.rsp /nologo /errorReport:prompt"
Creating command line "rc.exe /d "_DEBUG" /d "_VC80_UPGRADE=0x0600" /d
"_AFXDLL" /d "_UNICODE" /d "UNICODE" /l 0x809 /I "temp_res"
/fo".\Debug/SimWFP.res" .\temp_res\SimWFP.rc"
Creating temporary file "c:\TestSandBox\SimWFP\Debug\RSP00000A2283308.rsp"
with contents
[
/OUT:".\Debug\SimWFP.lib" .\Debug\simblankview.obj
.\Debug\simcommandconfig.obj
................................
.\Debug\StdAfx.obj
]
Creating command line "lib.exe
@c:\TestSandBox\SimWFP\Debug\RSP00000A2283308.rsp /NOLOGO"
Creating temporary file "c:\TestSandBox\SimWFP\Debug\RSP00000B2283308.rsp"
with contents
[
/o ".\Debug/SimWFP.bsc"
.\Debug\simblankview.sbr
................................................
.\Debug\StdAfx.sbr
]
Creating command line "bscmake.exe
@c:\TestSandBox\SimWFP\Debug\RSP00000B2283308.rsp /nologo"
*********************************************************
Build Log Rebuild started: Project: SimWFP, Configuration: Release|Win32
Command Lines Creating temporary file
"c:\TestSandBox\SimWFP\Release\RSP00000C2282708.rsp" with contents
[
/Od /I "..\help" /I "..\SimAPI\include" /I ".\include" /I "C:\Program
Files\NCR APTRA\Problem Determination Collection" /D "SIMAPI_INTERNALS" /D
"WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "UNICODE" /D
"_WIN32_WINNT=0x0400" /D "_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_UNICODE"
/FD /EHsc /MD /Zp1 /Zc:wchar_t- /Yc"stdafx.h" /Fp".\Release/SimWFP.pch"
/Fo".\Release/" /Fd".\Release/" /W3 /c /Gz /TP .\StdAfx.cpp
]
Creating command line "cl.exe
@c:\TestSandBox\SimWFP\Release\RSP00000C2282708.rsp /nologo
/errorReport:prompt"
Creating temporary file "c:\TestSandBox\SimWFP\Release\RSP00000D2282708.rsp"
with contents
[
/Od /I "..\help" /I "..\SimAPI\include" /I ".\include" /I "C:\Program
Files\NCR APTRA\Problem Determination Collection" /D "SIMAPI_INTERNALS" /D
"WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "UNICODE" /D
"_WIN32_WINNT=0x0400" /D "_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_UNICODE"
/FD /EHsc /MD /Zp1 /Zc:wchar_t- /Yu"stdafx.h" /Fp".\Release/SimWFP.pch"
/Fo".\Release/" /Fd".\Release/" /W3 /c /Gz /TP .\source\SimWFPTracer.cpp
.\source\SimWFPConst.cpp
..................................................
.\source\simblankview.cpp
]
Creating command line "cl.exe
@c:\TestSandBox\SimWFP\Release\RSP00000D2282708.rsp /nologo
/errorReport:prompt"
Creating command line "rc.exe /d "NDEBUG" /d "_VC80_UPGRADE=0x0600" /d
"_AFXDLL" /d "_UNICODE" /d "UNICODE" /l 0x809 /I "temp_res"
/fo".\Release/SimWFP.res" .\temp_res\SimWFP.rc"
Creating temporary file "c:\TestSandBox\SimWFP\Release\RSP00000E2282708.rsp"
with contents
[
/OUT:".\Release\SimWFP.lib" .\Release\simblankview.obj
.\Release\simcommandconfig.obj
................................................
.\Release\StdAfx.obj
]
Creating command line "lib.exe
@c:\TestSandBox\SimWFP\Release\RSP00000E2282708.rsp /NOLOGO"
**********************************************************
Build Log Rebuild started: Project: simcdm, Configuration: Release|Win32
Command Lines Creating temporary file
"c:\TestSandBox\simcdm\Release\RSP00000F2282152.rsp" with contents
[
/Od /I ".." /I "..\SimWFP\include" /I ".\Generic\Include" /I ".\cdm00000" /I
".\ULTLBX\include" /I "." /I ".\help" /I "..\SimAPI\include" /I ".\include"
/I ".\res" /I "C:\Program Files\NCR APTRA\Problem Determination Collection"
/D "NDEBUG" /D "_WIN32_IE=0x0500" /D "_MBCS" /D "CDM_INCLUDES" /D "WIN32" /D
"_WINDOWS" /D "_USRDLL" /D "UNICODE" /D "_WIN32_WINNT=0x0400" /D
"_AFX_NO_DAO_SUPPORT" /D "_AFX_NO_DB_SUPPORT" /D "_VC80_UPGRADE=0x0600" /D
"_WINDLL" /D "_AFXDLL" /D "_UNICODE" /FD /EHsc /MD /Zp1 /Yc"stdafx.h"
/Fp".\Release/simcdm.pch" /Fo".\Release/" /Fd".\Release/" /FR".\Release/" /W3
/c /Gz /TP .\StdAfx.cpp
]
Creating command line "cl.exe
@c:\TestSandBox\simcdm\Release\RSP00000F2282152.rsp /nologo
/errorReport:prompt"
Creating temporary file "c:\TestSandBox\simcdm\Release\RSP0000102282152.rsp"
with contents
[
/Od /I ".." /I "..\SimWFP\include" /I ".\Generic\Include" /I ".\cdm00000" /I
".\ULTLBX\include" /I "." /I ".\help" /I "..\SimAPI\include" /I ".\include"
/I ".\res" /I "C:\Program Files\NCR APTRA\Problem Determination Collection"
/D "NDEBUG" /D "_WIN32_IE=0x0500" /D "_MBCS" /D "CDM_INCLUDES" /D "WIN32" /D
"_WINDOWS" /D "_USRDLL" /D "UNICODE" /D "_WIN32_WINNT=0x0400" /D
"_AFX_NO_DAO_SUPPORT" /D "_AFX_NO_DB_SUPPORT" /D "_VC80_UPGRADE=0x0600" /D
"_WINDLL" /D "_AFXDLL" /D "_UNICODE" /FD /EHsc /MD /Zp1 /Yu"stdafx.h"
/Fp".\Release/simcdm.pch" /Fo".\Release/" /Fd".\Release/" /FR".\Release/" /W3
/c /Gz /TP .\Generic\Source\Xstatus4.cpp
.\Generic\Source\OXMaskedEdit.cpp
..........................................
.\Generic\Source\ReadMixTables.cpp
]
Creating command line "cl.exe
@c:\TestSandBox\simcdm\Release\RSP0000102282152.rsp /nologo
/errorReport:prompt"
Creating temporary file "c:\TestSandBox\simcdm\Release\RSP0000112282152.rsp"
with contents
[
/Od /I "..\Res" /I ".." /I "..\SimWFP\include" /I ".\Generic\Include" /I
".\cdm00000" /I ".\ULTLBX\include" /I "." /I ".\help" /I "..\SimAPI\include"
/I ".\include" /I ".\res" /I "C:\Program Files\NCR APTRA\Problem
Determination Collection" /D "NDEBUG" /D "_WIN32_IE=0x0500" /D "_MBCS" /D
"CDM_INCLUDES" /D "WIN32" /D "_WINDOWS" /D "_USRDLL" /D "UNICODE" /D
"_WIN32_WINNT=0x0400" /D "_AFX_NO_DAO_SUPPORT" /D "_AFX_NO_DB_SUPPORT" /D
"_VC80_UPGRADE=0x0600" /D "_WINDLL" /D "_AFXDLL" /D "_UNICODE" /FD /EHsc /MD
/Zp1 /Yu"stdafx.h" /Fp".\Release/simcdm.pch" /Fo".\Release/" /Fd".\Release/"
/FR".\Release/" /W3 /c /Gz /TP .\source\simcdmlcupage.cpp
.\source\SimCDMDispenseCP.cpp
......................................
".\Release\Xstatus4.obj"
]
Creating command line "link.exe
@c:\TestSandBox\simcdm\Release\RSP0000122282152.rsp /NOLOGO
/ERRORREPORT:PROMPT"
Creating temporary file "c:\TestSandBox\simcdm\Release\RSP0000132282152.rsp"
with contents
[
/o ".\Release/simcdm.bsc"
.......................................
.\Release\ReadMixTables.sbr
]
Creating command line "bscmake.exe
@c:\TestSandBox\simcdm\Release\RSP0000132282152.rsp /nologo"
***************************************************
Build Log Rebuild started: Project: simcdm, Configuration: Debug|Win32
Command Lines Creating temporary file
"c:\TestSandBox\simcdm\Debug\RSP0000142283548.rsp" with contents
[
/Od /I ".\Generic\Include" /I ".\cdm00000" /I ".\ULTLBX\include" /I "." /I
".\help" /I "..\SimAPI\include" /I ".\include" /I ".\res" /I "C:\Program
Files\NCR APTRA\Problem Determination Collection" /D "CDM_INCLUDES" /D
- References:
- Re: unresolved external error
- From: Doug Harrison [MVP]
- Re: unresolved external error
- From: karim
- Re: unresolved external error
- From: Doug Harrison [MVP]
- Re: unresolved external error
- From: Doug Harrison [MVP]
- Re: unresolved external error
- From: karim
- Re: unresolved external error
- Prev by Date: Re: unresolved external error
- Next by Date: fatal error U1023: syntax error in expression while using NMAKE
- Previous by thread: Re: unresolved external error
- Next by thread: debug a document double click
- Index(es):
Relevant Pages
|