I'm trying to build CEGUI but whenever I do I get errors! I've been frustrated with this for days!
List of things I've done:
Deleted the entire OgreSDK directory that I created. Re-extracted it, copied the cegui directory into it, copied the dependencies into the cegui portion of the directory, copied premake(custom) into the right spot within cegui, modified config.lua exactly.
Right now I'm trying to rebuild the cegui.sln. Whenever I run premake.exe it opens and closes in a flash without prompting me to "press any key to continue". This tells me somethings wrong. This may also mean it did its job and I don't need to do it again...
When I run the cegui.sln and try to build one of the projects I get numerous Linker errors which say files are missing. I cannot add those files to the project because they do not exist! I've done countless searches of my computer and found nothing by the name of CEGUIOgreRenderer.lib or otherwise.
Upon building CEGUI.sln (I got it to build, its just that premake does not do anything anymore) I get 9 warnings. They are:
Conversion Report - BaseSystem\CEGUIBase.vcproj:
Converting project file 'C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\BaseSystem\CEGUIBase.vcproj'.
Web deployment to the local IIS server is no longer supported. The Web Deployment build tool has been removed from your project settings.
Done converting to new project file 'C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\BaseSystem\CEGUIBase.vcxproj'.
VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.
MSB8012: $(TargetName) ('CEGUIBase') does not match the Linker's OutputFile property value '../../../bin\CEGUIBase_d.dll' ('CEGUIBase_d') in project configuration 'Debug|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetName) property value matches the value specified in %(Link.OutputFile).
MSB8012: $(TargetPath) ('C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\BaseSystem\../../../bin\CEGUIBase.dll') does not match the Linker's OutputFile property value '../../../bin\CEGUIBase_d.dll' ('C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\../../../bin\CEGUIBase_d.dll') in project configuration 'Debug|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetPath) property value matches the value specified in %(Link.OutputFile).
MSB8012: $(TargetPath) ('C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\BaseSystem\../../../bin\CEGUIBase.dll') does not match the Linker's OutputFile property value '../../../bin\CEGUIBase.dll' ('C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\../../../bin\CEGUIBase.dll') in project configuration 'Release|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetPath) property value matches the value specified in %(Link.OutputFile).
MSB8012: $(TargetPath) ('C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\BaseSystem\../../../bin/ReleaseWithSymbols\CEGUIBase.dll') does not match the Linker's OutputFile property value '../../../bin/ReleaseWithSymbols\CEGUIBase.dll' ('C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\../../../bin/ReleaseWithSymbols\CEGUIBase.dll') in project configuration 'ReleaseWithSymbols|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetPath) property value matches the value specified in %(Link.OutputFile).
MSB8012: $(TargetName) ('CEGUIBase') does not match the Librarian's OutputFile property value '../../../lib\CEGUIBase_Static_d.lib' ('CEGUIBase_Static_d') in project configuration 'Debug_Static|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetName) property value matches the value specified in %(Lib.OutputFile).
MSB8012: $(TargetPath) ('C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\BaseSystem\../../../lib\CEGUIBase.lib') does not match the Librarian's OutputFile property value '../../../lib\CEGUIBase_Static_d.lib' ('C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\../../../lib\CEGUIBase_Static_d.lib') in project configuration 'Debug_Static|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetPath) property value matches the value specified in %(Lib.OutputFile).
MSB8012: $(TargetName) ('CEGUIBase') does not match the Librarian's OutputFile property value '../../../lib\CEGUIBase_Static.lib' ('CEGUIBase_Static') in project configuration 'Release_Static|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetName) property value matches the value specified in %(Lib.OutputFile).
MSB8012: $(TargetPath) ('C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\BaseSystem\../../../lib\CEGUIBase.lib') does not match the Librarian's OutputFile property value '../../../lib\CEGUIBase_Static.lib' ('C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\../../../lib\CEGUIBase_Static.lib') in project configuration 'Release_Static|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetPath) property value matches the value specified in %(Lib.OutputFile).
And I get these errors on build:
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\projects\premake\BaseSystem\../../../bin\CEGUIBase.dll) does not match the Linker's OutputFile property value (C:\Users\t\Documents\Visual Studio 2010\OgreSDK\include\CEGUI-0.7.9\bin\CEGUIBase_d.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(CEGUIBase) does not match the Linker's OutputFile property value (CEGUIBase_d). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>LINK : fatal error LNK1104: cannot open file 'CEGUIOgreRenderer_d.lib'
This really should not be so difficult...