|
-
February 6th, 2009, 04:46 AM
#1
"Review manifest file" ," Application not configured properly"
I am trying to build a win32 application using "microsoft visual studio 2005 + sp1 " on winxp 64 bit OS.
(which was working fine on winxp 32 bit).
It is building properly and also generates the EXE file, the manifest file also gets generated.
I get the following error when i run the exe.
This application failed to start because the application configuration is incorrect .
Review the manifest file for possible errors.
Re-installing the application may fix the problem.
manifest file is pasted below
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
</assembly>
Given below are the steps I had followed ,(but in vain).
..............................................................................
I checked the exe files using "dependency walker" and found some dlls missing.
I copied the missing files into the parent folder which contains the exe file.
I ran the "Dependency walker" again , it still shows some errors, but the log file doesnt give
anu information
But the error still persists
..............................................................................
I tried building the application after changing the "run time library" from
Multi-threaded Debug Dll (/MDd) to Multi threaded debug. ( i have tried both release and debug mode)
It gave me linking errors like
1>inflate.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >: perator<<(class std::basic_ostream<char,struct std::char_traits<char> > & (__cdecl*)(class std::basic_ostream<char,struct std::char_traits<char> > &))" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAV01@AAV01@@Z@Z) already defined in IBMv1.obj
1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >: perator<<(double)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@N@Z) already defined in IBMv1.obj
1>libcpmtd.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in msvcprtd.lib(MSVCP80D.dll)
1>libcpmtd.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in msvcprtd.lib(MSVCP80D.dll)
1>LIBCMTD.lib(mlock.obj) : error LNK2005: __lock already defined in MSVCRTD.lib(MSVCR80D.dll)
1>LIBCMTD.lib(fflush.obj) : error LNK2005: _fflush already defined in MSVCRTD.lib(MSVCR80D.dll)
1>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
1>C:\Documents and Settings\234242\My Documents\Visual Studio 2005\Projects\workspace\ImageBasedModellingJan20\Release\ImageBasedModellingJan20.exe : fatal error LNK1169: one or more multiply defined symbols found
..............................................................................
PLEASE HELP
-
February 6th, 2009, 05:22 AM
#2
Re: "Review manifest file" ," Application not configured properly"
It's a problem with your linkage not manifest, I guess you are using some other library which has different linkage specification and you will need to change that too.. or continue using Debug DLL.
Regards,
Ramkrishna Pawar
-
February 6th, 2009, 05:33 AM
#3
Re: "Review manifest file" ," Application not configured properly"
I was trying the static linkage , just to see if that might be the solution to my first problem ("confuguration problem/ manifest problem) , which infact led to another one ( "the linkage error").
I prefer continuing with the debug dll options as rebuilding the library again with diff linkage specifications is not possible.
PLEASE HEELPPPPP....
-
December 15th, 2010, 02:41 AM
#4
Re: "Review manifest file" ," Application not configured properly"
1-first :if you convert project2003 or 2005 to 2008 and used any .net framwork erliey you must inestal same version of .net framewok erliey on you system
2- second: you must (app.config file) exclude from your project
Then its work
enjoy
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|