Coder Social home page Coder Social logo

cordova-cef's Introduction

cordova-cef

This project is a Cordova/Phongap framework implementation based on the Chromium Embedded Framework (CEF).

cordova-cef is not yet production ready and is not fully integrated into the Cordova eco system, which means it is not usable with the cordova-cli.

The future plan is to complete the following implementations:

  • Windows Desktop for Windows 7 or later (not Windows 8/8.1 Store-App)
  • Mac OSX
  • Linux
  • Windows 8.1 Store-App

Windows-Desktop for Windows 7 or later (not Windows 8/8.1 Store-App)

  • Download and install CMake (minimum and tested version: 2.8.12.2)
  • Download CEF3 binaries for Windows 32bit (mostly the trunk is used because this project is under high development tested with CEF 3.2494.1321.ge343da7)
  • Copy contents of CEF3 binaries package into <ROOT>/3rdparty/cef3
  • Run the cmake command in the <ROOT>/3rdparty/cef3 directory: cmake -G "Visual Studio 14"
  • Open <ROOT>/projects/windows-desktop/windows-desktop.sln with Visual Studio 2015
  • Change the properties of the 'libcef_dll_wrapper':
    • Debug
      • C/C++ -> Code Genration -> Runtime Library: Multi-threaded Debug DLL (/MDd)
    • Release
      • C/C++ -> Code Genration -> Runtime Library: Multi-threaded DLL (/MD)
  • Build Debug or Release
  • After building the output can be found in <ROOT>/dist/windows-desktop/Debug or Release

Mac OSX

not yet implemented

Linux

not yet implemented

Windows 8.1 Store-App

not yet implemented

cordova-cef's People

Contributors

hsimpson avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cordova-cef's Issues

New Cordova Plugins

How can I add new cordova plugins?
I want to add file & fileTransfer plugins.

Error compiling: LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc110-mt-sgd-1_55.lib'

Getting the following error while compiling windows-desktop project
LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc110-mt-sgd-1_55.lib'

I found the following lib file \3rdparty\boost\stage\lib\libboost_date_time-vc110-mt-gd-1_55.lib instead, noticing there's only one character difference 's', making me suspect it's a typo somewhere in the program. However I'm not able to find where exactly the project is referencing 'libboost_date_time-vc110-mt-sgd-1_55.lib'. Can you share some lights on this? Thank.s

Here's the complete compilation output
------ Rebuild All started: Project: windows-desktop, Configuration: Debug Win32 ------
stdafx.cpp
jsoncpp.cpp
device_win.cpp
osrwindow_win.cpp
main_win-desktop.cpp
helper_win.cpp
client_win.cpp
application_win.cpp
device.cpp
pluginresult.cpp
pluginmanager.cpp
osrenderer.cpp
nativetojsmessagequeue.cpp
jsmessage.cpp
helper.cpp
cordovaplugin.cpp
config.cpp
client.cpp
callbackcontext.cpp
application.cpp
Generating Code...
LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc110-mt-sgd-1_55.lib'
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Could you explain how to use cordova-cef?

In the README, it says

  • After building the output can be foun in <ROOT>/projects/windows-desktop/Debug or Release
    there are a bunch of .obj files after building the solution successfully, but I have no idea how to use it and what the purpose of these files are, can you explain?

thanks,

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.