I've just started looking at CEF and having some trouble getting the simplest examples to work. Referring to the most basic code from the tutorial:
- Code: Select all
#include <sstream>
#include <string>
#include "include/cef_app.h"
// Entry point function for sub-processes.
int main(int argc, char* argv[]) {
// Provide CEF with command-line arguments.
CefMainArgs main_args(argc, argv);
// Execute the sub-process.
return CefExecuteProcess(main_args, NULL, NULL);
}
I get an error saying that CefMainArgs is not found. Grepping the include files for the mac zip package I don't even had this class declared. Also had the same problem when looking at the SimpleApp with CefBrowserProcessHandler.
What am I missing?
Thanks.