i trying to compile PcHelpWare_viewer_src and gui_SC_src with vs2010.
i get error messages. I read here that need to delete MANIFEST. Deleted, but still I get an error message.
Code: Select all
1>------ Build started: Project: PcHelpware_sc, Configuration: Debug Win32 ------
1>Build started 15/09/2011 12:34:04.
1>InitializeBuildStatus:
1> Touching ".\Debug\PcHelpware_sc.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1>ResourceCompile:
1> All outputs are up-to-date.
1>ManifestResourceCompile:
1> All outputs are up-to-date.
1>CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.68
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Code: Select all
1>------ Build started: Project: router, Configuration: Debug Win32 ------
1>Build started 15/09/2011 16:47:40.
1>InitializeBuildStatus:
1> Creating ".\Debug\router.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> StdAfx.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1>c:\program files\microsoft visual studio 10.0\vc\include\malloc.h(281): fatal error C1070: mismatched #if/#endif pair in file 'c:\program files\microsoft visual studio 10.0\vc\include\malloc.h'
1> routerfunctions.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1>c:\program files\microsoft visual studio 10.0\vc\include\malloc.h(281): fatal error C1070: mismatched #if/#endif pair in file 'c:\program files\microsoft visual studio 10.0\vc\include\malloc.h'
1> PortForwardEngine.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1>c:\program files\microsoft visual studio 10.0\vc\include\malloc.h(281): fatal error C1070: mismatched #if/#endif pair in file 'c:\program files\microsoft visual studio 10.0\vc\include\malloc.h'
1> Generating Code...
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:02.03
2>------ Build started: Project: PcHelpWare_viewer, Configuration: Debug Win32 ------
2>Build started 15/09/2011 16:47:42.
2>InitializeBuildStatus:
2> Creating ".\Debug\PcHelpWare_viewer.unsuccessfulbuild" because "AlwaysCreate" was specified.
2>ClCompile:
2> SCconsole.cpp
2>c:\users\moshe\downloads\new folder (4)\pchelpware_viewer_src\https_sock\scconsole.cpp(150): warning C4996: '_tcsncpy': This function or variable may be unsafe. Consider using _tcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 10.0\vc\include\tchar.h(1516) : see declaration of '_tcsncpy'
2>c:\users\moshe\downloads\new folder (4)\pchelpware_viewer_src\https_sock\scconsole.cpp(154): warning C4996: '_tcsncpy': This function or variable may be unsafe. Consider using _tcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 10.0\vc\include\string.h(105) : see declaration of 'strcpy'
2>c:\users\moshe\downloads\new folder (4)\pchelpware_viewer_src\dynalias.cpp(135): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 10.0\vc\include\string.h(110) : see declaration of 'strcat'
2> CryptoService.cpp
2>c:\program files\microsoft visual studio 10.0\vc\include\malloc.h(280): fatal error C1020: unexpected #endif
2> askpass.cpp
2>c:\program files\microsoft visual studio 10.0\vc\include\malloc.h(281): fatal error C1070: mismatched #if/#endif pair in file 'c:\program files\microsoft visual studio 10.0\vc\include\malloc.h'
2> Generating Code...
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:03.73
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========