2 evil looking errors
Moderator: Moderators
2 evil looking errors
using Visual Studio 2005 NOT express edition
------ Build started: Project: DCPlusPlus, Configuration: Debug Win32 ------
Compiling...
main.cpp
MainFrm.cpp
UPnP.cpp
Generating Code...
Compiling resources...
Compiling manifest to resources...
Linking...
CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Build log was saved at "file://C:\...\DCPlusPlus-0.689-src\vc7\Debug\DCPlusPlus\BuildLog.htm"
DCPlusPlus - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========
------ Build started: Project: DCPlusPlus, Configuration: Debug Win32 ------
Compiling...
main.cpp
MainFrm.cpp
UPnP.cpp
Generating Code...
Compiling resources...
Compiling manifest to resources...
Linking...
CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Build log was saved at "file://C:\...\DCPlusPlus-0.689-src\vc7\Debug\DCPlusPlus\BuildLog.htm"
DCPlusPlus - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========
xaozon.echoz.com
DC++ isn't customized to compile on VS 8... Anyway, you might find a patch that will fix your problem here.
I forgot to say... Have you converted the project files etc to VS 8? (Doesn't look like it from the error.)
I forgot to say... Have you converted the project files etc to VS 8? (Doesn't look like it from the error.)
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
I am not sure what the cause of that problem is but I remember having that problem everytime I convert the DC++ project to vs 8 might be so that it happens for other projets as well but I'm not sure of that one. Anyway to resolove it, right click the DCPlusPlus project and choose propertis then navigate to Linker->Manifest File and set "Generate Manifest" to no.
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
Made some quick research on it, seems like this is due to that DC++ has anw own Manfifest included through it's resource file and when vs tries to generate one aswell a conflict occours. I guess that the appoached I mentioned in my above post is the best one to provide more backwards compability, otherwisw you could delete the one in the reosuce file but then there would be no manifest for older version of visual studio if I'm not mistaken...
after manually pathcing code theres only 1 error:
c:\...\visual studio 2005\dcplusplus-0.689-src\windows\exlistviewctrl.cpp(49) : error C2086: 'int j' : redefinition
c:\...\visual studio 2005\dcplusplus-0.689-src\windows\exlistviewctrl.cpp(35) : see declaration of 'j'
joakim i havent tried your advice yet ill try now
c:\...\visual studio 2005\dcplusplus-0.689-src\windows\exlistviewctrl.cpp(49) : error C2086: 'int j' : redefinition
c:\...\visual studio 2005\dcplusplus-0.689-src\windows\exlistviewctrl.cpp(35) : see declaration of 'j'
joakim i havent tried your advice yet ill try now
xaozon.echoz.com