Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-324

Make after "make clean" fails in projects with modules

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt for MCUs 2.8
    • Platform Team, QUL Team
    • None

    Description

      Building the automotive demo against 2.8.0, then running "make clean", and then running "make" again, produces the following error:

      [  4%] Built target Lib_automotive_P31d9
      [ 30%] Built target Lib_automotive_a20de
      [ 32%] Running qmlprojectexporter on /home/srodal/dev/qul/demos/automotive/benchmark/benchmark_module.qmlproject
      [ 34%] Building CXX object CMakeFiles/Lib_automotive_b330b.dir/CMakeFiles/automotive.dir/Lib_automotive_b330b_dummy.cpp.o
      cc1plus: fatal error: /home/srodal/dev/qul/demos/automotive/b_desktop/CMakeFiles/automotive.dir/Lib_automotive_b330b_dummy.cpp: No such file or directory
      compilation terminated.
      make[3]: *** [CMakeFiles/Lib_automotive_b330b.dir/build.make:92: CMakeFiles/Lib_automotive_b330b.dir/CMakeFiles/automotive.dir/Lib_automotive_b330b_dummy.cpp.o] Error 1

      Running "make rebuild_cache" to re-run CMake, and then running "make" fixes the build. But it should work even without manually having to re-run CMake.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            srodal Samuel Rødal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes