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. Error while compiling with mcvs 2019
Forum Updated to NodeBB v4.3 + New Features

Error while compiling with mcvs 2019

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 219 Views
  • 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.
  • I Offline
    I Offline
    inozemcev
    wrote on last edited by
    #1

    This is the cmake instruction which broke build:

    ЋЇвЁ¬Ё§ЁагойЁ© Є®¬ЇЁ«пв®а Microsoft (R) C/C++ ўҐабЁЁ 19.28.29912 ¤«п x64

    (C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў  § йЁйҐ­л.

    cl /c /Zi /W1 /WX- /diagnostics:column /O2 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /std:c11 /Fo"cmTC_39216.dir\Debug\" /Fd"cmTC_39216.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue D:\QT_STATIC\msvc\CMakeFiles\CMakeTmp\CheckIncludeFile.c

    cl : Є®¬ ­¤­ п бва®Є  error D8016: ­Ґб®ў¬ҐбвЁ¬лҐ Ї а ¬Ґвал Є®¬ ­¤­®© бва®ЄЁ "/O2" Ё "/RTC1" [D:\QT_STATIC\msvc\CMakeFiles\CMakeTmp\cmTC_39216.vcxproj]

    As far as I understand that is becouse cl calls with /RTC1 with some other tag which is depricated in this call. I want to know where I can edit this call manually.

    https://docs.microsoft.com/en-us/cpp/error-messages/tool-errors/command-line-error-d8016?view=msvc-160

    p.s. also has some troubles with output encoding, put it seems not the main 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