I was playing with the cef client application and seem to have a problem if I try to initiate the RootWindoWmanager manually.
The code as follows:
- Code: Select all
#include "tests\cefclient\browser\root_window_manager.h"
#include "tests\cefclient\browser\root_window.h"
#include "tests\shared\browser\main_message_loop.h"
int main() {
client::RootWindowManager* manager = new client::RootWindowManager(false);
CefRect windowBoundaries(0, 0, 400, 600);
scoped_refptr<client::RootWindow> rootWindow = manager->CreateRootWindow(true, false, windowBoundaries, "http://www.google.com");
}
trying to build this will not build and give an error about unresolved external symbols for RootWindowManager(bool).... I have the headers included for "tests\cefclient\browser\root_window_manager.h".
Any idea what else I might be missing?
Thanks!
John.