Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-1291

Installerfw - error: Invalid macro invocation found in (...)installer-framework\src\sdk\translations\Makefile.Debug line 62

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      Hello,

      I am trying to build the installer framework from https://code.qt.io/installer-framework/installer-framework.git.

      I have made it on Ubuntu 18.04, by cloning the git code, applying recommended patch, running qmake and make. I created successfully an installation file. All good.

      On windows 10, when I try to build the project I get :

      "Invalid macro invocation found in (...)\installer-framework\src\sdk\translations\Makefile.Debug line 62"

      "Invalid macro invocation found in (...)\installer-framework\src\libs\7zip\Makefile.Debug line 591"

      If I go to file 7zip\Makefile.Debug, for example, the code around line 591 looks like this:

      "{win\CPP\Windows}.cpp{debug}.obj::

      $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<

      $<

      <<"

      I cannot see anything wrong, as the code is similar to other Makefiles of other projects I have.

      If I try to run nmake manually I get:

      "Makefile.Debug(14) : fatal error U1001: syntax error : illegal character '"' in macro"

      I tried to change " into ' , tried to escape the character, but until now nothing worked.

      Any ideas?

      Thank you for your help.

      Regards,

      Luís Moreira

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              installerteam Installer Team
              Reporter:
              luis.moreira.mtex Luis Moreira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes