2013-03-03, 19:07
Are these Wiki articles accurate for Frodo?
http://wiki.xbmc.org/index.php?title=HOW...or_Windows
http://wiki.xbmc.org/index.php?title=HOW..._using_Git
My environment is:
Windows 7 Pro x86
MS Visual C++ 2010 Express
Microsoft DirectX SDK June 2010
Java JRE 1.7.0.15 (needed for what?)
Having some problem setting it all up, first problem is when I run buildmingwlibs.bat, there is a problem with building xbmc_asap.dll.
I've solved it for the moment with copying it from an installed XBMC Frodo.
But after that when I try to build an untouched Frodo it fails with a couple of LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt.
Anyone having any suggestions/solutions?
http://wiki.xbmc.org/index.php?title=HOW...or_Windows
http://wiki.xbmc.org/index.php?title=HOW..._using_Git
My environment is:
Windows 7 Pro x86
MS Visual C++ 2010 Express
Microsoft DirectX SDK June 2010
Java JRE 1.7.0.15 (needed for what?)
Having some problem setting it all up, first problem is when I run buildmingwlibs.bat, there is a problem with building xbmc_asap.dll.
Code:
##### building asap dlls #####
Makefile:179: warning: overriding commands for target `clean'
../players/Makefile:31: warning: ignoring old commands for target `clean'
cl -nologo -O2 -GL -GR- -W3 -DNDEBUG -Fexbmc_asap.dll -I. -I.. -Fo../xbmc/ -LD -MD ../xbmc/xbmc_asap.c ../asap.c ../acpu.c ../apokeysnd.c ../xbmc/xbmc_asap.res -link -release
xbmc_asap.c
../xbmc/xbmc_asap.c(48) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(234) : see declaration of 'fopen'
../xbmc/xbmc_asap.c(119) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
../xbmc/xbmc_asap.c(120) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
asap.c
../asap.c(1804) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
acpu.c
apokeysnd.c
Creating library xbmc_asap.lib and object xbmc_asap.exp
Generating code
Finished generating code
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
make: *** [xbmc_asap.dll] Error 2
cp: cannot stat `xbmc_asap.dll': No such file or directory
failed to compile /xbmc/system/players/paplayer/xbmc_asap.dll
I've solved it for the moment with copying it from an installed XBMC Frodo.
But after that when I try to build an untouched Frodo it fails with a couple of LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt.
Code:
1>------ Skipped Build: Project: gtest, Configuration: Debug Win32 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: libPlatinum, Configuration: Debug Win32 ------
3>------ Build started: Project: visDirectxSpectrum, Configuration: Debug (DirectX) Win32 ------
2> libPlatinum.vcxproj -> D:\Source\Frodo_Base\project\VS2010Express\libs\libPlatinum\Debug\libPlatinumd.lib
3> Creating library D:\Source\Frodo_Base\project\VS2010Express\libs\visDirectxSpectrum\Debug (DirectX)\Spectrum_win32dx.lib and object D:\Source\Frodo_Base\project\VS2010Express\libs\visDirectxSpectrum\Debug (DirectX)\Spectrum_win32dx.exp
3>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
4>------ Build started: Project: visWaveform, Configuration: Debug (DirectX) Win32 ------
5>------ Build started: Project: ImageLib_dll, Configuration: Debug Win32 ------
4> Creating library D:\Source\Frodo_Base\project\VS2010Express\libs\visWaveform\Debug (DirectX)\Waveform.lib and object D:\Source\Frodo_Base\project\VS2010Express\libs\visWaveform\Debug (DirectX)\Waveform.exp
4>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
6>------ Build started: Project: cpluff, Configuration: Debug Win32 ------
6> Creating library D:\Source\Frodo_Base\project\VS2010Express\libs\cpluff\Debug\cpluff.lib and object D:\Source\Frodo_Base\project\VS2010Express\libs\cpluff\Debug\cpluff.exp
6>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
7>------ Build started: Project: libhdhomerun_dll, Configuration: Debug Win32 ------
5> Creating library Debug\vs2010\cximagecrtd.lib and object Debug\vs2010\cximagecrtd.exp
5>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
5>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
7> Creating library D:\Source\Frodo_Base\project\VS2010Express\libs\libhdhomerun_dll\Debug\hdhomerun.lib and object D:\Source\Frodo_Base\project\VS2010Express\libs\libhdhomerun_dll\Debug\hdhomerun.exp
7>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
8>------ Build started: Project: visMilkdrop, Configuration: Debug Win32 ------
8> Creating library D:\Source\Frodo_Base\project\VS2010Express\libs\visMilkdrop\Debug\Plugin.lib and object D:\Source\Frodo_Base\project\VS2010Express\libs\visMilkdrop\Debug\Plugin.exp
8>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
9>------ Build started: Project: libass_dll, Configuration: Debug Win32 ------
9> Creating library Debug\vs2010\libass_win32.lib and object Debug\vs2010\libass_win32.exp
9>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
9>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
10>------ Build started: Project: XBMC, Configuration: Debug (DirectX) Win32 ------
10> AddonModuleXbmc.cpp
10> AddonModuleXbmcaddon.cpp
10> AddonModuleXbmcgui.cpp
10> AddonModuleXbmcplugin.cpp
10> AddonModuleXbmcvfs.cpp
10>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 1 succeeded, 8 failed, 29 up-to-date, 1 skipped ==========
Anyone having any suggestions/solutions?