Compiling and running makes it work as expected. In the cefsimple/release directory I can copy all those files elsewhere and it works just fine.
I now am trying to make a installer for the game. I am using Visual Studio Installer am trying to work out the minimum needed to export to make a cefsimple.exe run.
I have tried many things. Heres a typical setup showing the dependencies being used;
While the installer exports fine, what it installs crashs. I think its down to the libcef.dll not being installed correctly. Note the log message in the screenshot.
I have also tried just manually telling the installer to copy cefsimple's output (as above) as well as the whole contents of cef_binary_3.2272.2077_windows32\Release.
This also results in a cefsimple that crashes on startup when installed.
Attempting to debug the cefsimple.exe after a installation that includes cef_binary_3.2272.2077_windows32\Release gives me;
- Code: Select all
> libcef.dll!0fa16b29() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for libcef.dll]
libcef.dll!0f9ea446() Unknown
libcef.dll!0f949416() Unknown
libcef.dll!0f949507() Unknown
libcef.dll!0f9e9ea3() Unknown
libcef.dll!0f9e9ea3() Unknown
libcef.dll!0f9e9d0d() Unknown
libcef.dll!0f9e9c9d() Unknown
libcef.dll!0f956f90() Unknown
libcef.dll!0f9e9ea3() Unknown
cefsimple.exe!011d0bf5() Unknown
cefsimple.exe!011c2847() Unknown
cefsimple.exe!0127b9eb() Unknown
In the callstack. (note I checked and libcef.dll is in the same directory as the exe)
It also tells me libcef.dll.pdb is not loaded, which seems to be needed for more debugging.
---
Given the non-installer normal build works - and I can manually move that directory to a different machine and run it - I suspect I am just exporting the wrong things in the installer settings?