Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Build error: GetRequestContextForRenderProcess #29

Open
alexflint opened this issue Sep 5, 2016 · 6 comments
Open

Build error: GetRequestContextForRenderProcess #29

alexflint opened this issue Sep 5, 2016 · 6 comments

Comments

@alexflint
Copy link

alexflint commented Sep 5, 2016

I ran

./script/bootstrap https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent
./script/build

and got this:

vendor/brightray/browser/browser_context.h:51:33: error: 'GetRequestContextForRenderProcess' overrides a member function but is not marked 'override'

The libchromiumcontent version was

https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent/osx/64bit/3f108160eded696b3e843c2fbb4e5e2ac696555e/libchromiumcontent.zip
@alexflint
Copy link
Author

Looks like this was fixed in brightray, but brightray_example is still pointing to a slightly older version of brightray

@alexflint alexflint changed the title Potential leak of memory pointed to by 'observer' Build error: GetRequestContextForRenderProcess Sep 5, 2016
@pfrazee
Copy link

pfrazee commented Oct 19, 2016

Yeah, the repo will need an update. I updated the submodule and got new compile errors. When I have the time, if nobody else has done it yet, I'll do it myself

@pfrazee
Copy link

pfrazee commented Oct 19, 2016

Ok, I'm doing it now because I want to toy with the example build. After updating to latest, this change breaks the example: electron-archive/brightray@e26f807#diff-05af3a10d22f96957eeeca8001a50581. Solving...

@pfrazee
Copy link

pfrazee commented Oct 19, 2016

In addition to needing to update the commit of the brightray submodule, the brightray_example bootstrap script needs to be updated to call the brightray bootstrap script. Pulling from the current electron build on my machine, that call was:

./vendor/brightray/script/bootstrap \
  --target_arch x64 \
  -c 82751b122d7f5cbedee5c662acc8cd1f1be8036d \
  https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent

But the right way to handle that would be to port electron's bootstrap script over, since it determines the correct calling flags for you.

@pfrazee
Copy link

pfrazee commented Oct 19, 2016

Per https://groups.google.com/a/chromium.org/forum/#!msg/chromium-dev/roY78iTblYc/bb8nYsxfCgAJ, scoped_ptr needs to change to std::unique_ptr

@pfrazee
Copy link

pfrazee commented Oct 19, 2016

Getting nowhere fast. I'm taking a break. (There's a lot of outdated code here.)

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

No branches or pull requests

2 participants