Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Bison.exe I/O error building Qt5.2 on Windows
Forum Updated to NodeBB v4.3 + New Features

Bison.exe I/O error building Qt5.2 on Windows

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 1 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pyl0420
    wrote on last edited by
    #1

    Hi:

    I am doing a shadow build with Qt5.2 on Windows, but I got some bison.exe I/O error. Wondering whether anybody has seen similar issues or has any suggestion what might go wrong.

    Thanks in advance.
    -Y

    Here is what I did:
    @
    unzip source to L:\qt-everywhere-enterprise-src-5.2.0
    In VS2010 x64 command prompt
    mkdir qt5_src_build
    cd qt5_src_build
    setup dependencies like python, icu, zlib
    SET PATH=%PATH%;L:\qt-everywhere-enterprise-src-5.2.0\gnuwin32\bin
    SET CL=/MP
    @

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pyl0420
      wrote on last edited by
      #2

      @
      L:\qt-everywhere-enterprise-src-5.2.0\configure -prefix L:\qt5_src_build -commercial -nomake tests -debug -confirm-license -opengl desktop
      nmake
      @

      Here is the error I got
      @
      ( if not exist Makefile.ANGLE.DerivedSources L:\qt5_src_build\qtbase\bin\qmake L:\qt-everywhere-enterprise-src-5.2.0\qtwebkit\Source
      \ThirdParty\ANGLE\DerivedSources.pri -o Makefile.ANGLE.DerivedSources ) && "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64
      \nmake.exe" -f Makefile.ANGLE.DerivedSources

      Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
      Copyright (C) Microsoft Corporation. All rights reserved.

          win_flex --noline --nounistd --outfile=generated\glslang_lex.cpp L:\qt-everywhere-enterprise-src-5.2.0\qtwebkit\Source\ThirdParty\AN
      

      GLE\src\compiler\glslang.l
      win_flex --noline --nounistd --outfile=generated\Tokenizer_lex.cpp L:\qt-everywhere-enterprise-src-5.2.0\qtwebkit\Source\ThirdParty
      ANGLE\src\compiler\preprocessor\Tokenizer.l
      bison --no-lines --skeleton=yacc.c --defines=generated\glslang_tab.h --output=generated\glslang_tab.cpp L:\qt-everywhere-enterprise-
      src-5.2.0\qtwebkit\Source\ThirdParty\ANGLE\src\compiler\glslang.y
      m4: Unknown option -I
      Usage: m4 [-ps] [-Dname[=value]] [-Uname] [file ...]
      L:\qt-everywhere-enterprise-src-5.2.0\gnuwin32\bin\bison.EXE: I/O error
      NMAKE : fatal error U1077: 'L:\qt-everywhere-enterprise-src-5.2.0\gnuwin32\bin\bison.EXE' : return code '0x1'
      Stop.
      NMAKE : fatal error U1077: '(' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      @

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pyl0420
        wrote on last edited by
        #3

        Looks like the problem is I have another version of m4 in my path. Put the "L:\qt-everywhere-enterprise-src-5.2.0\gnuwin32\bin" before all the system path will solve the problem

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved