I am getting an error
LINK : fatal error LNK1104: cannot open file '.\Debug\SampleViewer.res'
Build Log
Rebuild started: Project: SampleViewer, Configuration: Debug|Win32
Command Lines
Command Lines
- Creating temporary file "c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\RSP00000A44604900.rsp" with contents
- [
- /Od /I "../../inc-pc" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_WIN32_WINNT=0x0500" /D "_VC80_UPGRADE=0x0600" /D "_MBCS" /Gm /EHsc /RTC1 /MTd /Fp".\Debug/SampleViewer.pch" /Fo".\Debug/" /Fd".\Debug/" /FR".\Debug\\" /W3 /WX /c /ZI /TP /D"_CRT_SECUE_NO_DEPRECATE"
- ".\ValueView.cpp"
- ".\SaveNextDlg.cpp"
- ".\SampleViewer.cpp"
- ".\MainFrame.cpp"
- ".\ListFrame.cpp"
- ".\IPInput.cpp"
- ".\InfoFrame.cpp"
- ".\ImageView.cpp"
- ".\HistFrame.cpp"
- ".\FinderFrame.cpp"
- ".\CtrlFrame.cpp"
- ".\ContainerView.cpp"
- ".\ColumnTreeView.cpp"
- ".\ColumnTreeCtrl.cpp"
- ".\ChildFrame.cpp"
- ".\AttrTreeView.cpp"
- ".\AboutDlg.cpp"
- ]
- Creating command line "cl.exe @"c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\RSP00000A44604900.rsp" /nologo /errorReport:prompt"
- Creating temporary file "c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\RSP00000B44604900.rsp" with contents
- [
- /Od /I "../../inc-pc" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_WIN32_WINNT=0x0500" /D "_VC80_UPGRADE=0x0600" /D "_MBCS" /Gm /EHsc /RTC1 /MTd /Yc"stdafx.h" /Fp".\Debug/SampleViewer.pch" /Fo".\Debug/" /Fd".\Debug/" /FR".\Debug\\" /W3 /WX /c /ZI /TP /D"_CRT_SECUE_NO_DEPRECATE"
- ".\StdAfx.cpp"
- ]
- Creating command line "cl.exe @"c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\RSP00000B44604900.rsp" /nologo /errorReport:prompt"
- Creating command line "rc.exe /d "_DEBUG" /d "_VC80_UPGRADE=0x0600" /l 0x409 /fo".\Debug/SampleViewer.rc" ".\Debug\SampleViewer.rc""
- Creating temporary file "c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\TMP00000C44604900.tmp" with contents
- [
- 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ".\\Debug\\SampleViewer.exe.embed.manifest"
- ]
- Creating command line "rc.exe /fo".\Debug\SampleViewer.exe.embed.manifest.res" "c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\TMP00000C44604900.tmp""
- Creating temporary file "c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\RSP00000D44604900.rsp" with contents
- [
- /OUT:"../../bin-pc/SampleViewer.exe" /INCREMENTAL /LIBPATH:"../../lib-pc" /MANIFEST /MANIFESTFILE:".\Debug\SampleViewer.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /NODEFAULTLIB:"LIBCMT" /DELAYLOAD:"OleAcc.dll" /DEBUG /PDB:".\Debug/SampleViewer.pdb" /SUBSYSTEM:WINDOWS /DYNAMICBASE:NO /MACHINE:X86 pvapi.lib ImageLib.lib Ws2_32.lib DelayImp.lib
- ".\Debug\AboutDlg.obj"
- ".\Debug\AttrTreeView.obj"
- ".\Debug\ChildFrame.obj"
- ".\Debug\ColumnTreeCtrl.obj"
- ".\Debug\ColumnTreeView.obj"
- ".\Debug\ContainerView.obj"
- ".\Debug\CtrlFrame.obj"
- ".\Debug\FinderFrame.obj"
- ".\Debug\HistFrame.obj"
- ".\Debug\ImageView.obj"
- ".\Debug\InfoFrame.obj"
- ".\Debug\IPInput.obj"
- ".\Debug\ListFrame.obj"
- ".\Debug\MainFrame.obj"
- ".\Debug\SampleViewer.obj"
- ".\Debug\SampleViewer.res"
- ".\Debug\SaveNextDlg.obj"
- ".\Debug\StdAfx.obj"
- ".\Debug\ValueView.obj"
- ".\Debug\SampleViewer.exe.embed.manifest.res"
- ]
- Creating command line "link.exe @"c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\RSP00000D44604900.rsp" /NOLOGO /ERRORREPORT:PROMPT"
- Creating temporary file "c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\RSP00000E44604900.rsp" with contents
- [
- /o ".\Debug/SampleViewer.bsc"
- ".\Debug\AboutDlg.sbr"
- ".\Debug\ListFrame.sbr"
- ".\Debug\ChildFrame.sbr"
- ".\Debug\ColumnTreeCtrl.sbr"
- ".\Debug\ColumnTreeView.sbr"
- ".\Debug\ContainerView.sbr"
- ".\Debug\CtrlFrame.sbr"
- ".\Debug\FinderFrame.sbr"
- ".\Debug\HistFrame.sbr"
- ".\Debug\ImageView.sbr"
- ".\Debug\InfoFrame.sbr"
- ".\Debug\IPInput.sbr"
- ".\Debug\MainFrame.sbr"
- ".\Debug\SampleViewer.sbr"
- ".\Debug\SaveNextDlg.sbr"
- ".\Debug\StdAfx.sbr"
- ".\Debug\ValueView.sbr"
- ".\Debug\AttrTreeView.sbr"
- ]
- Creating command line "bscmake.exe @"c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\RSP00000E44604900.rsp" /nologo"
- Compiling...
- StdAfx.cpp
- Compiling...
- AboutDlg.cpp
- AttrTreeView.cpp
- ChildFrame.cpp
- ColumnTreeCtrl.cpp
- ColumnTreeView.cpp
- ContainerView.cpp
- CtrlFrame.cpp
- FinderFrame.cpp
- HistFrame.cpp
- ImageView.cpp
- InfoFrame.cpp
- IPInput.cpp
- ListFrame.cpp
- MainFrame.cpp
- SampleViewer.cpp
- SaveNextDlg.cpp
- ValueView.cpp
- Generating Code...
- Compiling resources...
- Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
- Copyright (C) Microsoft Corporation. All rights reserved.
- Compiling manifest to resources...
- Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
- Copyright (C) Microsoft Corporation. All rights reserved.
- Linking...
- LINK : fatal error LNK1104: cannot open file '.\Debug\SampleViewer.res'
- Creating browse information file...
- Microsoft Browse Information Maintenance Utility Version 9.00.21022
- Copyright (C) Microsoft Corporation. All rights reserved.
- Build log was saved at "file://c:\Program Files\Prosilica\GigESDK\examples\SampleViewer\Debug\BuildLog.htm"
- SampleViewer - 1 error(s), 0 warning(s)
The above is a build log.
Please help me out.
thanks.
Sam HobbsPosted Sep 27, 2010, 2:33 AM
I assumed that was the cause and I assumed the error was caused by a missing RC file.
theLizardPosted Sep 27, 2010, 1:44 AM
Ignore Sam, he must have a chip on his shoulder, if you want to learn a bit more about rc.exe google it, you will find a lot of info about it.
PetalPosted Sep 23, 2010, 8:15 AM
please help me out.
thanks
Sam HobbsPosted Sep 22, 2010, 9:09 PM
Sam HobbsPosted Sep 22, 2010, 9:06 PM
Are you familiar with Windows unmanaged programming with C++? I assume not.
Did you create the project or did you get the project from someone else? I assume you did not create the project.
Are you sure you have all the files for the project? The most likely cause of the errors is that you are missing a RC file. If you don't have the RC file and don't need it then you can remove the res file form the project. Do you know how to do that or are you trying to get a large project built in spite of very little experience?