Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

building Qt 5.4.2 on windows gives me an error



  • I'm trying to build Qt, but when compiling the webengine (chromium), I got this error:

    [12/8672] ACTION gen_asm_offsets_vp8: ...s_obj_ffc74dcfffbd2def4866ddf9676f1282
    FAILED: C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 gen_a
    sm_offsets_vp8_target_copy_enc_offsets_obj_ffc74dcfffbd2def4866ddf9676f1282..rsp
    ......\src\3rdparty\chromium\third_party\libvpx
    Unable to locate file
    [12/8672] CXX obj\src\3rdparty\chromiu...atabase\leveldatabase.env_chromium.obj
    ninja: build stopped: subcommand failed.
    NMAKE : fatal error U1077: 'C:\Qt\qt-everywhere-opensource-src-5.4.2\qtwebengine
    \src\3rdparty\ninja\ninja.exe' : return code '0x1'
    Stop.

    it's trying to run this python, but failed

    C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 gen_a
    sm_offsets_vp8_target_copy_enc_offsets_obj_ffc74dcfffbd2def4866ddf9676f1282..rsp
    ......\src\3rdparty\chromium\third_party\libvpx

    not sure how to solve this?



  • @billconan said:

    C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 gen_a
    sm_offsets_vp8_target_copy_enc_offsets_obj_ffc74dcfffbd2def4866ddf9676f1282..rsp
    ......\src\3rdparty\chromium\third_party\libvpx

    not sure how to solve this?

    I've not done it myself before, but since it is saying "Unable to locate file", make sure the file you've sent as argument really exists in the specified path - which in your case, is the current directory. If required, provide absolute paths as arguments.

    And probably you should provide the full expanded text (not with the ellipses). That would be more helpful.


Log in to reply