Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using minimal binary distribution #1

Open
Matheus-Garbelini opened this issue Oct 31, 2020 · 0 comments
Open

Using minimal binary distribution #1

Matheus-Garbelini opened this issue Oct 31, 2020 · 0 comments

Comments

@Matheus-Garbelini
Copy link

Matheus-Garbelini commented Oct 31, 2020

Hi. First of all thanks for this project.
The issue I am having is that if I change the CMakeLists.txt to download the minimal distribution instead of the complete one
(by modifying the set(cefName cef_binary_${CEF_VERSION}_linux64) to set(cefName cef_binary_${CEF_VERSION}_linux64_minimal)
By looking at the CMake files it seems it always expects the Debug folder, which is not the case for the minimal build as it only has Release.
I get the following error when compiling cef-demos:

Error copying directory from "/home/matheus/github/cef-demos/cef-cmake/cef_binary_3.3626.1894.g90eb8cc_linux64_minimal/Debug/swiftshader" to "/home/matheus/github/cef-demos/build/bin/swiftshader".
cef-cmake/CMakeFiles/cefdll_wrapper.dir/build.make:2547: recipe for target 'cef-cmake/libcefdll_wrapper.a' failed
make[2]: *** [cef-cmake/libcefdll_wrapper.a] Error 1
make[2]: *** Deleting file 'cef-cmake/libcefdll_wrapper.a'
CMakeFiles/Makefile2:256: recipe for target 'cef-cmake/CMakeFiles/cefdll_wrapper.dir/all' failed
make[1]: *** [cef-cmake/CMakeFiles/cefdll_wrapper.dir/all] Error 2
Makefile:102: recipe for target 'all' failed
make: *** [all] Error 2

If I remove Debug references and just leave the optimized target of the main cmake file, this is fixed. The only issue is that cefsimple example cannot be build as it requires test headers only present on Debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant