electron / libchromiumcontent

Shared library build of Chromium’s Content module
MIT License
486 stars 183 forks source link

Build failed on Windows 10 - 32 bit build #622

Closed anupam closed 5 years ago

anupam commented 6 years ago

I am trying to build libchromium content with the custom ffmpeg flags , seeing this error :

17117/18055] CXX obj/third_party/WebKit/Source/modules/media_controls/media_controls/media_controls_jumbo_1.obj
FAILED: obj/third_party/WebKit/Source/modules/media_controls/media_controls/media_controls_jumbo_1.obj
C:/Python27/python.exe ../../build/toolchain/win/tool_wrapper.py cl-wrapper ninja -t msvc -e environment.x86 -- "c:\program files (x86)\microsoft visual studio 14.0\vc\bin\amd64_x86/cl.exe" /nologo /showIncludes  @obj/third_party/WebKit/Source/modules/media_controls/media_controls/media_controls_jumbo_1.obj.rsp /c gen/third_party/WebKit/Source/modules/media_controls/media_controls_jumbo_1.cc /Foobj/third_party/WebKit/Source/modules/media_controls/media_controls/media_controls_jumbo_1.obj obj/third_party/WebKit/Source/modules/media_controls "media_controls_cc.pdb"
gen/third_party/WebKit/Source/modules/media_controls/media_controls_jumbo_1.cc(31): fatal error C1083: Cannot open include file: '../../../../../../../../third_party/WebKit/Source/modules/media_controls/elements/MediaControlToggleClosedCaptionsButtonElement.cpp': No such file or directory
[17126/18055] CXX obj/third_party/WebKit/Source/modules/vr/vr/vr_jumbo_1.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "script\build", line 97, in <module>
    sys.exit(main())
  File "script\build", line 71, in main
    subprocess.check_call([NINJA, '-C', os.path.relpath(out_dir), target], env=env)
  File "C:\Python27\lib\subprocess.py", line 186, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\denimuser\\playground\\libchromiumcontent\\vendor\\depot_tools\\ninja.exe', '-C', 'src\\out-ia32\\static_library', 'chromiumcontent:chromiumcontent']' returned non-zero exit status 1

Can any one help here ?

Thanks, Anupam

anupam commented 6 years ago

Any help here ?

anupam commented 6 years ago

@Mikerr1111 i am trying to build 32bit binary, my build system is 64 bit and following ever step in the instructions as well.

MarshallOfSound commented 5 years ago

Hey there,

It's been a long time coming but the libchromiumcontent repository is being archived as it is no longer used in the Electron build system (🎉 this is a good thing).

If your issue is still relevant to Electron in it's current build system (please verify first) then you should probably raise a similar issue on electron/electron.

Thanks 😄