Git Product home page Git Product logo

cef-cmake's Introduction

C++ CMake Ruby HTML5 C Wolfram Language

... and somewhat begrudgingly:

Python Docker C# Java CUDA

cef-cmake's People

Contributors

al185154 avatar d9mz avatar ibob avatar rjindael avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cef-cmake's Issues

Currently does not work on latest CEF_VERSION and breaks using RelWithDebInfo

There are critical issues that don't allow you to use the library properly:

  • attempts copying old files that don't exist in newer CEF versions (fatal error)
  • does not properly work with RelWithDebInfo (tries accessing nonexistent "RelWithDebInfo" folder instead of "Release") (fatal error)
  • incorrectly copies files to a different directory on MSVC (annoying)

I've fixed all these issues in my pull request #3.

Using minimal binary distribution

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.