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. Issue with the rc.exe(fatal error LNK1158: cannot run ‘rc.exe’)
Forum Updated to NodeBB v4.3 + New Features

Issue with the rc.exe(fatal error LNK1158: cannot run ‘rc.exe’)

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.9k 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.
  • KiraK Offline
    KiraK Offline
    Kira
    wrote on last edited by
    #1

    Hello All,
    This topic have been previously discussed and resolved.
    I have followed the below approach to resolve the issue.
    https://stackoverflow.com/questions/14372706/visual-studio-cant-build-due-to-rc-exe

    I only have one concern. I am using 64-bit system and when i use the exact same files mentioned in the link, (x86) files, Qt creator works fine but when i use the file(rc.exe
    rcdll.dll) from windows 10 kit or use 64-bit version of the file, i get the error:
    fatal error LNK1158: cannot run ‘rc.exe’
    I just wanted to know exactly what is happening.

    J.HilkJ 1 Reply Last reply
    0
    • KiraK Kira

      Hello All,
      This topic have been previously discussed and resolved.
      I have followed the below approach to resolve the issue.
      https://stackoverflow.com/questions/14372706/visual-studio-cant-build-due-to-rc-exe

      I only have one concern. I am using 64-bit system and when i use the exact same files mentioned in the link, (x86) files, Qt creator works fine but when i use the file(rc.exe
      rcdll.dll) from windows 10 kit or use 64-bit version of the file, i get the error:
      fatal error LNK1158: cannot run ‘rc.exe’
      I just wanted to know exactly what is happening.

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @Kira
      from my experience, I would say this can happen when either QtCreator is updated or when Windows itself updates.

      Usually a clean reinstall of QtCreator "fixes" this, which let me believe that simply rerunning the configure?-skript of QtCreator should fix this as well. I'm however unsure what exactly QtCreator is doing to find the system includes and paths


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      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