Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. CMake 建置相依性問題 with VS 2019
Qt 6.12 LTS is out! See what's new in the release blog

CMake 建置相依性問題 with VS 2019

Scheduled Pinned Locked Moved Unsolved Chinese
1 Posts 1 Posters 486 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.
  • C Offline
    C Offline
    csypt
    wrote on last edited by
    #1

    我在編譯的時候遇到這個問題

    10:32:00: 正在啟動:"C:\Program Files\CMake\bin\cmake.exe" --build . --target project
    Microsoft (R) Build Engine for .NET Framework 16.11.2+f32259642 版
    Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。

    1>Checking Build System
    Automatic MOC and UIC for target project
    1>
    Generating C:/Users/erinli2-t/Desktop/Synology-Intern/project/project_zh_TW.ts
    Scanning directory 'C:/Users/erinli2-t/Desktop/Synology-Intern/project'...
    Updating '../project/project_zh_TW.ts'...
    Found 1 source text(s) (1 new and 0 already existing)
    Building Custom Rule C:/Users/erinli2-t/Desktop/Synology-Intern/project/CMakeLists.txt
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8064: 項目 "C:\Users\erinli2-t\Desktop\Synology-Intern\build-project-Desktop_Qt_5_12_9_MSVC2017_64bit-Debug\CMakeFiles\39942135cf606bdde189827200f17256\project_zh_TW.ts.rule" 的自訂組建成功,但指定的相依性 "c:\users\erinli2-t\desktop\synology-intern\project" 不存在。這可能導致累加建置運作錯誤。 [C:\Users\erinli2-t\Desktop\Synology-Intern\build-project-Desktop_Qt_5_12_9_MSVC2017_64bit-Debug\project.vcxproj]
    mocs_compilation_Debug.cpp
    main.cpp
    mainwindow.cpp
    正在產生程式碼...
    project.vcxproj -> C:\Users\erinli2-t\Desktop\Synology-Intern\build-project-Desktop_Qt_5_12_9_MSVC2017_64bit-Debug\Debug\project.exe
    10:32:03: 行程 "C:\Program Files\CMake\bin\cmake.exe" 正常離開。
    10:32:03: Elapsed time: 00:03.

    看起來是 "c:\users\erinli2-t\desktop\synology-intern\project" 這裡出錯了,路徑上很多大寫變成小寫了,不知道是不是這個錯,如果是的話要怎麼改呢?謝謝!

    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
    • Unsolved