by oglo » Fri Jun 11, 2021 8:05 am
Hi. I'm new to cef and I have a problem building libcef_dll_wrapper. I have a legacy project that uses cef, but this project configured only for release mode and I'm trying to add debug mode. So, I have downloaded the latest cef distribution and built it as explained in tutorial. Next, I've added new subproject for cef wrapper into existing solution (for MSVC2017) and copied "include" and "libcef_dll" folders from path_to_chromium\src\cef into it (such folders are used by release mode). Almost all parameters for project I took from existing release project, except that I replaced all NDEBUG macroses to _DEBUG. The problem I'm unable to build this projects - there are a lots of errors corresponding to missing 'net/base/net_error_list.h' and 'dlfcn.h' headers. Also there are some "fatal error C1189: #error: This file can be included DLL-side only" errors. So, what I'm doing wrong? May be I've took lib files from the wrong place?