I am running Visual Studio C++ 2010 Express and have downloaded the full Win32 source code to libRocket 1.2.1. I have successfully compiled in debug mode without errors or warnings and am now trying to get it to run within my game which is built on top of SFML 1.6. Right now I am just trying to get the SystemInterface working. My code is as follows:

I am linking my game's debug build against RocketCore_d.lib and this also compiles without errors or warnings. As soon as I try to run it, however, I get an error message saying "The application was unable to start correctly (0xc0150002). Click OK to close the application." I have verified that RocketCore_d.dll is present in my output folder. Removing the line "_systemInterface = new SystemInterface();" from Application.cpp, all is fine so I can only conclude that my Rocket setup is faulty somewhere.

When I open my executable with DependencyWalker, I am getting the following error:

Error: The Side-by-Side configuration information for "ROCKETCORE_D.DLL" contains errors. The application has failed to start because its side-by-side configuration is incorrect.

I find this strange because it also shows both my application and RocketCore_d.dll depending on MSVCP100D.DLL and MSVCR100D.DLL. No mismatch there. I have read some threads regarding this same issue but the problems were related to Python. I am only using RocketCore, RocketControls and RocketDebugger for now.

It would appear that my system is missing the Visual Studio 2008 runtime. Is this correct? Version 9.0.21022 of the VS2008 redistributable is in fact present on my system. But even so, considering I recompiled Rocket using VS2010, shouldn't it be referencing the VS2010 runtime?

The application was unable to start correctly (0xc0150002). Click OK to close the application." I have verified that RocketCore_d.dll is present in my output folder. Removing the line "_systemInterface = new SystemInterface();" from Application.cpp,????