Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Need help setting up my Qt project w/ NASM (MakeFile.Debug:98)
Forum Updated to NodeBB v4.3 + New Features

Need help setting up my Qt project w/ NASM (MakeFile.Debug:98)

Scheduled Pinned Locked Moved Solved General and Desktop
assemblerassemblynasmmakefile.debug
11 Posts 4 Posters 2.8k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    Can you post the complete error ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    ? 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Can you post the complete error ?

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #3

      @SGaist said in Need help setting up my Qt project w/ NASM (MakeFile.Debug:98):

      Hi,

      Can you post the complete error ?

      Hi,

      This is all I got:
      [Makefile.Debug:98: test.o] Error 2
      Got this after right clicking and select "display output". (translations added after "//")

      process_begin: CreateProcess(NULL, nasm -f elf64 -g -F dwarf -o test.o ../test_stuff/test.asm, ...) failed.
      make (e=2): Das System kann die angegebene Datei nicht finden. // the system cannot find the mentioned file
      
      mingw32-make[1]: *** [Makefile.Debug:98: test.o] Error 2
      mingw32-make[1]: Leaving directory 'D:/Dokumente/build-test_stuff-Desktop_Qt_5_12_0_MinGW_64_bit-Debug'
      mingw32-make: *** [Makefile:36: debug] Error 2
      05:37:11: Der Prozess "D:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" wurde mit dem Rückgabewert 2 beendet. //the process "D:..." has been terminated with a return value of 2
      Fehler beim Erstellen/Deployment des Projekts test_stuff (Kit: Desktop Qt 5.12.0 MinGW 64-bit) // Error while compiling/Deployment of "test_stuff..." 
      Bei der Ausführung von Schritt "Make" //during the execution of "Make"
      05:37:11: Verstrichene Zeit: 00:02.
      
      aha_1980A 1 Reply Last reply
      0
      • ? A Former User

        @SGaist said in Need help setting up my Qt project w/ NASM (MakeFile.Debug:98):

        Hi,

        Can you post the complete error ?

        Hi,

        This is all I got:
        [Makefile.Debug:98: test.o] Error 2
        Got this after right clicking and select "display output". (translations added after "//")

        process_begin: CreateProcess(NULL, nasm -f elf64 -g -F dwarf -o test.o ../test_stuff/test.asm, ...) failed.
        make (e=2): Das System kann die angegebene Datei nicht finden. // the system cannot find the mentioned file
        
        mingw32-make[1]: *** [Makefile.Debug:98: test.o] Error 2
        mingw32-make[1]: Leaving directory 'D:/Dokumente/build-test_stuff-Desktop_Qt_5_12_0_MinGW_64_bit-Debug'
        mingw32-make: *** [Makefile:36: debug] Error 2
        05:37:11: Der Prozess "D:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" wurde mit dem Rückgabewert 2 beendet. //the process "D:..." has been terminated with a return value of 2
        Fehler beim Erstellen/Deployment des Projekts test_stuff (Kit: Desktop Qt 5.12.0 MinGW 64-bit) // Error while compiling/Deployment of "test_stuff..." 
        Bei der Ausführung von Schritt "Make" //during the execution of "Make"
        05:37:11: Verstrichene Zeit: 00:02.
        
        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Hi @SnuggleKat

        stuff/test.asm, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. // the system cannot find

        that sounds as if nasm is not in the PATH environment variable.

        What happens if you type nasm in a command window?

        Regards

        Qt has to stay free or it will die.

        ? 1 Reply Last reply
        1
        • aha_1980A aha_1980

          Hi @SnuggleKat

          stuff/test.asm, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. // the system cannot find

          that sounds as if nasm is not in the PATH environment variable.

          What happens if you type nasm in a command window?

          Regards

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #5

          @aha_1980 said in Need help setting up my Qt project w/ NASM (MakeFile.Debug:98):

          Hi @SnuggleKat

          stuff/test.asm, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. // the system cannot find

          that sounds as if nasm is not in the PATH environment variable.

          What happens if you type nasm in a command window?

          Regards

          Hi,
          do you mean cmd.exe?
          Typing in "nasm" there doesn't lead to anything.
          So I assume Qt doesn't come with an assembly compiler.

          However, I have an installation of nasm from here
          Added it as a path variable but no change

          aha_1980A jsulmJ 2 Replies Last reply
          0
          • ? A Former User

            @aha_1980 said in Need help setting up my Qt project w/ NASM (MakeFile.Debug:98):

            Hi @SnuggleKat

            stuff/test.asm, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. // the system cannot find

            that sounds as if nasm is not in the PATH environment variable.

            What happens if you type nasm in a command window?

            Regards

            Hi,
            do you mean cmd.exe?
            Typing in "nasm" there doesn't lead to anything.
            So I assume Qt doesn't come with an assembly compiler.

            However, I have an installation of nasm from here
            Added it as a path variable but no change

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #6

            @SnuggleKat

            do you mean cmd.exe?

            yes

            Typing in "nasm" there doesn't lead to anything.
            So I assume Qt doesn't come with an assembly compiler.

            Qt is a library, no compiler, so yes.

            However, I have an installation of nasm from here
            Added it as a path variable but no change

            How did you do and verify this?

            Qt has to stay free or it will die.

            ? 1 Reply Last reply
            2
            • aha_1980A aha_1980

              @SnuggleKat

              do you mean cmd.exe?

              yes

              Typing in "nasm" there doesn't lead to anything.
              So I assume Qt doesn't come with an assembly compiler.

              Qt is a library, no compiler, so yes.

              However, I have an installation of nasm from here
              Added it as a path variable but no change

              How did you do and verify this?

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #7

              @aha_1980 said in Need help setting up my Qt project w/ NASM (MakeFile.Debug:98):

              How did you do and verify this?

              By following the link of my last post you can find an installer.
              I then added the installation path as system variable

              aha_1980A 1 Reply Last reply
              0
              • ? A Former User

                @aha_1980 said in Need help setting up my Qt project w/ NASM (MakeFile.Debug:98):

                How did you do and verify this?

                By following the link of my last post you can find an installer.
                I then added the installation path as system variable

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @SnuggleKat

                And does nasm work in Windows cmd.exe after you modified PATH? Otherwise there is still something wrong. Please post the output of echo %PATH% in that case.

                Note that your need to re-open the cmd.exe after you made global environment changes.

                Qt has to stay free or it will die.

                ? 1 Reply Last reply
                2
                • ? A Former User

                  @aha_1980 said in Need help setting up my Qt project w/ NASM (MakeFile.Debug:98):

                  Hi @SnuggleKat

                  stuff/test.asm, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. // the system cannot find

                  that sounds as if nasm is not in the PATH environment variable.

                  What happens if you type nasm in a command window?

                  Regards

                  Hi,
                  do you mean cmd.exe?
                  Typing in "nasm" there doesn't lead to anything.
                  So I assume Qt doesn't come with an assembly compiler.

                  However, I have an installation of nasm from here
                  Added it as a path variable but no change

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  @SnuggleKat said in Need help setting up my Qt project w/ NASM (MakeFile.Debug:98):

                  So I assume Qt doesn't come with an assembly compiler.

                  No, the compiler does

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  1
                  • aha_1980A aha_1980

                    @SnuggleKat

                    And does nasm work in Windows cmd.exe after you modified PATH? Otherwise there is still something wrong. Please post the output of echo %PATH% in that case.

                    Note that your need to re-open the cmd.exe after you made global environment changes.

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by A Former User
                    #10

                    @aha_1980 said in Need help setting up my Qt project w/ NASM (MakeFile.Debug:98):

                    @SnuggleKat

                    And does nasm work in Windows cmd.exe after you modified PATH? Otherwise there is still something wrong. Please post the output of echo %PATH% in that case.

                    Note that your need to re-open the cmd.exe after you made global environment changes.

                    Processing echo %PATH% gave me the following:

                    C:\Users\acer>echo %PATH%
                    C:\PS3\ProDG\bin;c:\devkitPro\msys\bin;C:\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Brackets\command;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\python27;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\WINDOWS\System32\OpenSSH\;C:\Users\acer\AppData\Local\Microsoft\WindowsApps;C:\Users\acer\AppData\Roaming\Dashlane\6.1841.0.13779\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Users\acer\AppData\Roaming\Dashlane\6.1841.0.13779\ucrt;C:\Users\acer\AppData\Roaming\Dashlane\6.1841.0.13779\bin\Qt
                    
                    ? 1 Reply Last reply
                    0
                    • ? A Former User

                      @aha_1980 said in Need help setting up my Qt project w/ NASM (MakeFile.Debug:98):

                      @SnuggleKat

                      And does nasm work in Windows cmd.exe after you modified PATH? Otherwise there is still something wrong. Please post the output of echo %PATH% in that case.

                      Note that your need to re-open the cmd.exe after you made global environment changes.

                      Processing echo %PATH% gave me the following:

                      C:\Users\acer>echo %PATH%
                      C:\PS3\ProDG\bin;c:\devkitPro\msys\bin;C:\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Brackets\command;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\python27;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\WINDOWS\System32\OpenSSH\;C:\Users\acer\AppData\Local\Microsoft\WindowsApps;C:\Users\acer\AppData\Roaming\Dashlane\6.1841.0.13779\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Users\acer\AppData\Roaming\Dashlane\6.1841.0.13779\ucrt;C:\Users\acer\AppData\Roaming\Dashlane\6.1841.0.13779\bin\Qt
                      
                      ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by A Former User
                      #11

                      Ok, added nasm to my environment variables. Made a little mistake there.
                      Typing "nasm" into cmd now outputs:

                      nasm:fatal: no input file specified
                      type `nasm -h' for help
                      

                      However, the error in Qt Creator remains the same
                      EDIT: It works now!

                      Just had to restart Qt :)

                      Thank you guys, you are awesome :)

                      0_1543869413550_7f9efd09-e39b-47de-a914-cf569dc2572c-image.png

                      1 Reply Last reply
                      2

                      • Login

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