Using CEGUI
Posted: Thu Oct 07, 2010 20:17
Hi, I am new to using CEGUI and I followed the instructions on the wiki as best I could (They were vague) and I used the batch files to build the sample solution. However, when I try and compile it, I get the following errors. Can someone please help me.
1>------ Build started: Project: CEGUISampleHelper, Configuration: Debug Win32 ------
1> Win32CEGuiRendererSelector.cpp
1> Win32AppHelper.cpp
1> c:\program files (x86)\microsoft sdks\windows\v7.0a\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
1> DeviceReset_Direct3D9.cpp
1> DeviceReset_Direct3D10.cpp
1> CEGuiSample.cpp
1> CEGuiRendererSelector.cpp
1> CEGuiOpenGLBaseApplication.cpp
1>c:\users\\documents\visual studio 2010\projects\l7a7\cegui-0.7.2\samples\common\src\ceguiopenglbaseapplication.cpp(414): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\users\\documents\visual studio 2010\projects\l7a7\cegui-0.7.2\samples\common\src\ceguiopenglbaseapplication.cpp(415): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\users\\documents\visual studio 2010\projects\l7a7\cegui-0.7.2\samples\common\src\ceguiopenglbaseapplication.cpp(432): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\users\\documents\visual studio 2010\projects\l7a7\cegui-0.7.2\samples\common\src\ceguiopenglbaseapplication.cpp(446): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1> CEGuiOgreBaseApplication.cpp
1> CEGuiIrrlichtBaseApplication.cpp
1> CEGuiDirectFBBaseApplication.cpp
1> CEGuiD3D9BaseApplication.cpp
1> c:\program files (x86)\microsoft sdks\windows\v7.0a\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
1> CEGuiD3D10BaseApplication.cpp
1> CEGuiBaseApplication.cpp
1> Generating Code...
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Users\\Documents\Visual Studio 2010\Projects\L7A7\CEGUI-0.7.2\projects\premake\Samples\common\../../../../bin\CEGUISampleHelper.dll) does not match the Linker's OutputFile property value (C:\Users\\Documents\Visual Studio 2010\Projects\L7A7\CEGUI-0.7.2\bin\CEGUISampleHelper_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(CEGUISampleHelper) does not match the Linker's OutputFile property value (CEGUISampleHelper_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 'CEGUIBase_d.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
1>------ Build started: Project: CEGUISampleHelper, Configuration: Debug Win32 ------
1> Win32CEGuiRendererSelector.cpp
1> Win32AppHelper.cpp
1> c:\program files (x86)\microsoft sdks\windows\v7.0a\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
1> DeviceReset_Direct3D9.cpp
1> DeviceReset_Direct3D10.cpp
1> CEGuiSample.cpp
1> CEGuiRendererSelector.cpp
1> CEGuiOpenGLBaseApplication.cpp
1>c:\users\\documents\visual studio 2010\projects\l7a7\cegui-0.7.2\samples\common\src\ceguiopenglbaseapplication.cpp(414): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\users\\documents\visual studio 2010\projects\l7a7\cegui-0.7.2\samples\common\src\ceguiopenglbaseapplication.cpp(415): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\users\\documents\visual studio 2010\projects\l7a7\cegui-0.7.2\samples\common\src\ceguiopenglbaseapplication.cpp(432): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\users\\documents\visual studio 2010\projects\l7a7\cegui-0.7.2\samples\common\src\ceguiopenglbaseapplication.cpp(446): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1> CEGuiOgreBaseApplication.cpp
1> CEGuiIrrlichtBaseApplication.cpp
1> CEGuiDirectFBBaseApplication.cpp
1> CEGuiD3D9BaseApplication.cpp
1> c:\program files (x86)\microsoft sdks\windows\v7.0a\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
1> CEGuiD3D10BaseApplication.cpp
1> CEGuiBaseApplication.cpp
1> Generating Code...
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Users\\Documents\Visual Studio 2010\Projects\L7A7\CEGUI-0.7.2\projects\premake\Samples\common\../../../../bin\CEGUISampleHelper.dll) does not match the Linker's OutputFile property value (C:\Users\\Documents\Visual Studio 2010\Projects\L7A7\CEGUI-0.7.2\bin\CEGUISampleHelper_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(CEGUISampleHelper) does not match the Linker's OutputFile property value (CEGUISampleHelper_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 'CEGUIBase_d.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========