Git Product home page Git Product logo

Comments (3)

joeknoll avatar joeknoll commented on September 25, 2024

Follow the steps outlined here for building chromium from git: http://www.chromium.org/developers

You can use gclient (part of depot tools) to do the setup and ninja to build. However, to get the code from OpenFrame integrated you can either copy it over manually, change the DEPS file to point this github repo, play with git parentage or another method of your choice.

OpenFrame can be bulit (after follow the setup steps, "gclient sync" and "gclient runhooks") by typing: ninja -C src\out\Release npchrome_frame

from openframe.

rossobianero avatar rossobianero commented on September 25, 2024

Thanks Joe. That got me pretty far, but my build is failing [ after several hours :-( ]. The error is below, but I also want to walk through exactly what I did so I know we're on the same page.

  1. Successfully built chromium using ninja, per Google's instructions. Got a working chrome.exe.
  2. Copied over the chromium src folder with content from this repo. I'm hoping that's what you meant in your comment.
  3. gclient sync and runhooks
  4. ninja -C src/out/Release npchrome_frame

Other notes:

  • I'm doing this in Cygwin on Windows 7
  • I ran gclient.bat because Cygwin was barfing on the Windows line-endings in the depot_tools scripts. I tried doing a dos2unix line ending conversion on the scripts and dependencies but couldn't find all the dependencies. gclient.bat was working for me so I just went with it.

Here's the build error:

[13877/14957] CXX obj\chrome_frame\ready_mode\internal\chrome_frame_ie.registry_ready_mode_state.obj
FAILED: ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe" /nologo /showIncludes /FC @obj\chrome_frame\chrome_frame_ie.protocol_sink_wrap.obj.rsp /c ....\chrome_frame\protocol_sink_wrap.cc /Foobj\chrome_frame\chrome_frame_ie.protocol_sink_wrap.obj /Fdobj\chrome_frame\chrome_frame_ie.pdb
c:\users\brian\dev\chromeframe\openframe\src\chrome_frame\protocol_sink_wrap.cc(302) : error C3861: 'SkipMetadataCheck': identifier not found
c:\users\brian\dev\chromeframe\openframe\src\chrome_frame\protocol_sink_wrap.cc(484) : error C3861: 'SkipMetadataCheck': identifier not found
ninja: build stopped: subcommand failed.

from openframe.

joeknoll avatar joeknoll commented on September 25, 2024

gclient sync will overwrite files... unless you updated the DEPS file to point to github this may cause problems after copying over files (although, SkipMetadataCheck() is part of the mainline branch).
Try running gclient clean
ninja -C src\out\Release -t clean
gclient runhooks
ninja -C src/out/Release npchrome_frame

And then go to bed... because this will take a long time. Also, make sure that when you ran that sync operation it didn't mark any files as conflicted (TortoiseSVN is your friend here).

from openframe.

Related Issues (3)

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.