Fixed
Details
Details
Assignee
Unassigned
UnassignedReporter
Christopher Christensen
Christopher ChristensenLabels
Components
Fix versions
Priority
Created December 6, 2013 at 5:02 PM
Updated January 9, 2014 at 5:48 AM
Resolved January 9, 2014 at 5:47 AM
When I use CMAKE to generate OGRE project files for MSVC 2010, if I enable the OGRE_STATIC and OGRE_CONFIG_STATIC_LINK_CRT options, the resulting project has compilation errors on the SampleBrowser.exe. And also there is a linkage problem after the compilation error is fixed.
To fix the compile error, I need to edit the SampleBrowser project in MSVC and add "$(DXSDK_DIR)/Include" to the additional include directories.
To fix the linkage error, I need to add "dinput8.lib" to the linker/additional-dependencies list (also for the SampleBrowser).