Giter Site home page Giter Site logo

Comments (12)

fpoussin avatar fpoussin commented on May 26, 2024

Can you try a manual build to confirm it's actually caused by the tools and not your setup?
Thanks

from qt5-msvc-static.

fpoussin avatar fpoussin commented on May 26, 2024

Please reopen if needed

from qt5-msvc-static.

psadaic avatar psadaic commented on May 26, 2024

jom: C:\Users\Patrik\Documents\Qt5-MSVC-Static-5111\sources\qtbase-everywhere-src-5.11.1\build\src\angle\src\libGLESv2\Makefile.Release [.obj\release\Users\Patrik\Documents\Qt5-MSVC-Static-5111\sources\qtbase-everywhere-src-5.11.1\src\3rdparty\angle\src\third_party\murmurhash\MurmurHash3.obj] Error 1
jom: C:\Users\Patrik\Documents\Qt5-MSVC-Static-5111\sources\qtbase-everywhere-src-5.11.1\build\src\angle\src\libGLESv2\Makefile [release] Error 2
jom: C:\Users\Patrik\Documents\Qt5-MSVC-Static-5111\sources\qtbase-everywhere-src-5.11.1\build\src\angle\src\Makefile [sub-libGLESv2-make_first-ordered] Error 2
jom: C:\Users\Patrik\Documents\Qt5-MSVC-Static-5111\sources\qtbase-everywhere-src-5.11.1\build\src\angle\Makefile [sub-src-make_first] Error 2
jom: C:\Users\Patrik\Documents\Qt5-MSVC-Static-5111\sources\qtbase-everywhere-src-5.11.1\build\src\Makefile [sub-angle-make_first] Error 2
lib /NOLOGO /OUT:......\lib\qtpcre2.lib @C:\Users\Patrik\AppData\Local\Temp\qtpcre2.lib.12412.44781.jom
jom: C:\Users\Patrik\Documents\Qt5-MSVC-Static-5111\sources\qtbase-everywhere-src-5.11.1\build\Makefile [sub-src-make_first] Error 2

Yes it fails while building qt 5.11.1. There isn't much output but seems like if fails while compiling some of the angle libraries.

from qt5-msvc-static.

fpoussin avatar fpoussin commented on May 26, 2024

Did you run this build manually as well to confirm it's induced by the tools?

from qt5-msvc-static.

psadaic avatar psadaic commented on May 26, 2024

Yes manual build from qt source completed without any issues with same qt configuration. I did try to use new gnuwin32/bin files considering my issue was with angle since it is stated in build docs that GPerf, Bison and Flex libs are used during angle build which have been updated since the last qt version but did not help.

from qt5-msvc-static.

fpoussin avatar fpoussin commented on May 26, 2024

Ok I'll have a look, thanks!

from qt5-msvc-static.

fpoussin avatar fpoussin commented on May 26, 2024

@psadaic can you paste the configuration parameters so I can compare?
Thanks

from qt5-msvc-static.

psadaic avatar psadaic commented on May 26, 2024

Sure.

configure -opensource -release -confirm-license -opengl dynamic -mp -static -static-runtime -no-shared -qt-libpng -qt-libjpeg -qt-zlib -qt-pcre -no-compile-examples -nomake examples -no-icu -optimize-size

from qt5-msvc-static.

psadaic avatar psadaic commented on May 26, 2024

Managed to identify the problem by trying to compile with nmake directly, jom wasn't giving the actual error message.

murmurhash\MurmurHash3.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument

Error occured due to too long path. CL is by default compiled with MAX_PATH=260 flag and therefore caused this error since my build folder was already nested under few folder levels. Solution for this might be doing some wrapper script to eliminate this issue but for now my quick solution is just to use shorter build path.

As for issues @neoz posted I think I've noticed them while trying to make debug qt build even on previous qt release (5.10.1). I do not use static debug builds so didn't go too deep into that but might be helpful for you.

from qt5-msvc-static.

fpoussin avatar fpoussin commented on May 26, 2024

Seems like this is completely unrelated to the original issue.
Which OS / Filesystem / Compiler do you use?

Some documentation:
https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#maximum-path-length-limitation

Thanks

from qt5-msvc-static.

psadaic avatar psadaic commented on May 26, 2024

Yes it turned out to be completely unrelated.

It's an issue with CL (cl.exe), compiler that MSVC uses. Even thought they removed file path limitations in Windows 10 you're still limited by MAX_PATH setting inside CL. I could solve this by compiling CL myself with different setting but I'm not going to do this now.

Anyway, sorry to bother you with this.

from qt5-msvc-static.

fpoussin avatar fpoussin commented on May 26, 2024

No worries, glad you found out what was wrong.

from qt5-msvc-static.

Related Issues (8)

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.