Problem with compilation of dependencies

savail

13-07-2012 14:11:53

Hey,
I'm following this tutorial: http://www.ogre3d.org/tikiwiki/MyGUI+Compiling in order to setup MyGUI. I downloaded OGRE dependencies from here: http://www.ogre3d.org/download/source for microsoft visual C++. I succeeded in compiling all the projects in solution except Freetype. These errors occur:
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "copy "D:\MYGUI\Dependencies\src\freetype-2.3.11\objs\debug\freetype2311_d.lib" "D:\MYGUI\Dependencies\src\..\lib\Debug\" /y
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: xcopy "D:\MYGUI\Dependencies\src\freetype-2.3.11\builds\win32\vc2005\..\..\..\include\*.*" "D:\MYGUI\Dependencies\src\..\include" /s /y
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073:
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 9009.


Maybe I put dependencies folder in the wrong place? I put that just in a random place on my disk.
I would be very grateful for any help!
edit:
When tried to download only MyGUI dependencies I couldn't even upgrade the solution to 2010 version. This is the upgrade.log:
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type='text/xsl' href='_UpgradeReport_Files/UpgradeReport.xslt'?><UpgradeLog>
<Properties><Property Name="Solution" Value="MyGUIDependencies.VS2008">
</Property><Property Name="Solution File" Value="D:\MYGUI\Dependencies\src\MyGUIDependencies.VS2008.sln">
</Property><Property Name="User Options File" Value="D:\MYGUI\Dependencies\src\MyGUIDependencies.VS2008.suo">
</Property><Property Name="Date" Value="13 lipca 2012">
</Property><Property Name="Time" Value="17:07">
</Property></Properties><Event ErrorLevel="2" Project="" Source="MyGUIDependencies.VS2008.sln" Description="Error creating backup file: D:\MYGUI\Dependencies\src\MyGUIDependencies.VS2008.sln.old">
</Event><Event ErrorLevel="2" Project="" Source="MyGUIDependencies.VS2008.suo" Description="Error creating backup file: D:\MYGUI\Dependencies\src\MyGUIDependencies.VS2008.suo.old">
</Event><Event ErrorLevel="0" Project="freetype.2008" Source="freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj" Description="Converting project file 'D:\MYGUI\Dependencies\src\freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj'.">
</Event><Event ErrorLevel="1" Project="freetype.2008" Source="freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj" Description="Failed to upgrade platform 'x64'. Please make sure you have it installed under '%vctargetspath%\platforms\x64'">
</Event><Event ErrorLevel="1" Project="freetype.2008" Source="freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj" Description="VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.">
</Event><Event ErrorLevel="1" Project="freetype.2008" Source="freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj" Description="Failed to upgrade 'Release|x64'. Please make sure you have the corresponding platform installed under '%vctargetspath%\platforms\x64'">
</Event><Event ErrorLevel="1" Project="D:\MYGUI\Dependencies\src\freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj" Source="" Description="Cannot load the project due to a corrupt project file.">
</Event><Event ErrorLevel="2" Project="freetype.2008" Source="freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj" Description="The project configuration dimension name/value &quot;(Platform, Win32)&quot; was not found in the project manifest.">
</Event><Event ErrorLevel="2" Project="D:\MYGUI\Dependencies\src\freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj" Source="" Description="The following error has occurred during XML parsing:&#xA;&#xA;File: D:\MYGUI\Dependencies\src\freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj&#xA;Line: 183&#xA;Column: 5&#xA;Error Message:&#xA;BĹ‚Ä…d systemowy: -2147154677.&#xA;&#xA;The file 'D:\MYGUI\Dependencies\src\freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj' has failed to load.">
</Event><Event ErrorLevel="2" Project="freetype.2008" Source="freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj" Description="Project upgrade failed.">
</Event><Event ErrorLevel="3" Project="freetype.2008" Source="freetype-2.3.11\builds\win32\vc2005\freetype.2008.vcproj" Description="Not Converted">
</Event><Event ErrorLevel="0" Project="OIS.2008" Source="ois-1.2.0\Win32\OIS.2008.vcproj" Description="Converting project file 'D:\MYGUI\Dependencies\src\ois-1.2.0\Win32\OIS.2008.vcproj'.">
</Event><Event ErrorLevel="1" Project="OIS.2008" Source="ois-1.2.0\Win32\OIS.2008.vcproj" Description="Failed to upgrade platform 'x64'. Please make sure you have it installed under '%vctargetspath%\platforms\x64'">
</Event><Event ErrorLevel="1" Project="OIS.2008" Source="ois-1.2.0\Win32\OIS.2008.vcproj" Description="VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.">
</Event><Event ErrorLevel="1" Project="OIS.2008" Source="ois-1.2.0\Win32\OIS.2008.vcproj" Description="Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.">
</Event><Event ErrorLevel="1" Project="OIS.2008" Source="ois-1.2.0\Win32\OIS.2008.vcproj" Description="Attribute 'OptimizeForWindows98' of 'VCLinkerTool' is not supported in this version and has been removed during conversion.">
</Event><Event ErrorLevel="1" Project="OIS.2008" Source="ois-1.2.0\Win32\OIS.2008.vcproj" Description="Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.">
</Event><Event ErrorLevel="1" Project="OIS.2008" Source="ois-1.2.0\Win32\OIS.2008.vcproj" Description="Failed to upgrade 'Release|x64'. Please make sure you have the corresponding platform installed under '%vctargetspath%\platforms\x64'">
</Event><Event ErrorLevel="1" Project="D:\MYGUI\Dependencies\src\ois-1.2.0\Win32\OIS.2008.vcproj" Source="" Description="Cannot load the project due to a corrupt project file.">
</Event><Event ErrorLevel="2" Project="OIS.2008" Source="ois-1.2.0\Win32\OIS.2008.vcproj" Description="The project configuration dimension name/value &quot;(Platform, Win32)&quot; was not found in the project manifest.">
</Event><Event ErrorLevel="2" Project="D:\MYGUI\Dependencies\src\ois-1.2.0\Win32\OIS.2008.vcproj" Source="" Description="The following error has occurred during XML parsing:&#xA;&#xA;File: D:\MYGUI\Dependencies\src\ois-1.2.0\Win32\OIS.2008.vcproj&#xA;Line: 195&#xA;Column: 5&#xA;Error Message:&#xA;BĹ‚Ä…d systemowy: -2147154677.&#xA;&#xA;The file 'D:\MYGUI\Dependencies\src\ois-1.2.0\Win32\OIS.2008.vcproj' has failed to load.">
</Event><Event ErrorLevel="2" Project="OIS.2008" Source="ois-1.2.0\Win32\OIS.2008.vcproj" Description="Project upgrade failed.">
</Event><Event ErrorLevel="3" Project="OIS.2008" Source="ois-1.2.0\Win32\OIS.2008.vcproj" Description="Not Converted">
</Event><Event ErrorLevel="0" Project="" Source="MyGUIDependencies.VS2008.sln" Description="The solution file does not require conversion.">
</Event><Event ErrorLevel="3" Project="" Source="MyGUIDependencies.VS2008.sln" Description="No Conversion Required">
</Event></UpgradeLog>

Apostate

27-07-2012 01:46:04

Those errors look like it's dying on the x64 platform stuff. I'm assuming you're trying to use Visual Studio Express 2010? Apparently it doesn't come with x64 support out of the box, but you could try this and see if it will convert then. That might help. After I converted the dependencies and built them, the libs for freetype didn't end up in the right place, so I had to copy them to Dependencies/lib/Release and Dependencies/lib/Debug manually (or you could edit the project, but it's kind of a pain in the ass and you should only have to do this once anyways).