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. Mergin projects, cant compile mocs_compilation
Forum Updated to NodeBB v4.3 + New Features

Mergin projects, cant compile mocs_compilation

Scheduled Pinned Locked Moved Unsolved General and Desktop
cmakemoc
14 Posts 5 Posters 2.7k Views 3 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.
  • A aha_1980
    7 Apr 2019, 15:33

    @Dariusz said in Mergin projects, cant compile mocs_compilation:

    @koahnig said in Mergin projects, cant compile mocs_compilation:

    @Dariusz

    Have you done a rerun qmake and a rebuild?

    About 200 by now :- )

    Ehem, are you really using Qmake?

    Makefile2 [CMakeFiles\app.dir\all] Error 2

    that rather sounds like CMake...

    D Offline
    D Offline
    Dariusz
    wrote on 7 Apr 2019, 15:48 last edited by Dariusz 4 Jul 2019, 15:51
    #5

    @aha_1980 said in Mergin projects, cant compile mocs_compilation:

    @Dariusz said in Mergin projects, cant compile mocs_compilation:

    @koahnig said in Mergin projects, cant compile mocs_compilation:

    @Dariusz

    Have you done a rerun qmake and a rebuild?

    About 200 by now :- )

    Ehem, are you really using Qmake?

    Makefile2 [CMakeFiles\app.dir\all] Error 2

    that rather sounds like CMake...

    Yeah I'm using CMake...hmm I thought I placed tag in the topic for CMake here :- )

    I'm going over CMakeFiles/app.dir /etc/etc now 1 by 1 trying to find some kind of cmake log that could tell me where it crashed....

    Weird thing is, I managed to load half of the library-source, but when I try to say extend one of classes I get an error too... o_o

    1 Reply Last reply
    0
    • A aha_1980
      7 Apr 2019, 15:33

      @Dariusz said in Mergin projects, cant compile mocs_compilation:

      @koahnig said in Mergin projects, cant compile mocs_compilation:

      @Dariusz

      Have you done a rerun qmake and a rebuild?

      About 200 by now :- )

      Ehem, are you really using Qmake?

      Makefile2 [CMakeFiles\app.dir\all] Error 2

      that rather sounds like CMake...

      D Offline
      D Offline
      Dariusz
      wrote on 7 Apr 2019, 16:29 last edited by
      #6

      @aha_1980 Ok I think I found it... it was... WINDOWS PATH LIMIT! Yay....... How on earth do I fix it? O_O

      M 1 Reply Last reply 7 Apr 2019, 17:53
      0
      • D Dariusz
        7 Apr 2019, 16:29

        @aha_1980 Ok I think I found it... it was... WINDOWS PATH LIMIT! Yay....... How on earth do I fix it? O_O

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 7 Apr 2019, 17:53 last edited by
        #7

        @Dariusz
        Hi Wow. it must be a somewhat nested structure to hit the limit.
        Anyway, if Windows 10, there is an opt-in option
        https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file
        section Maximum Path Length Limitation

        D 1 Reply Last reply 7 Apr 2019, 19:20
        0
        • M mrjj
          7 Apr 2019, 17:53

          @Dariusz
          Hi Wow. it must be a somewhat nested structure to hit the limit.
          Anyway, if Windows 10, there is an opt-in option
          https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file
          section Maximum Path Length Limitation

          D Offline
          D Offline
          Dariusz
          wrote on 7 Apr 2019, 19:20 last edited by
          #8

          @mrjj said in Mergin projects, cant compile mocs_compilation:

          @Dariusz
          Hi Wow. it must be a somewhat nested structure to hit the limit.
          Anyway, if Windows 10, there is an opt-in option
          https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file
          section Maximum Path Length Limitation

          I've set the group policy to be long paths, as I'm on w10Pro but still did not work. I ended up having to shorten my folder names :- (((( Apparently in order for long path to be used the application has to use it itself, its not default implementation or something like that :- (.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 7 Apr 2019, 20:14 last edited by
            #9

            Hi,

            Out of curiosity, how long are you paths ?

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

            D 1 Reply Last reply 7 Apr 2019, 20:31
            0
            • S SGaist
              7 Apr 2019, 20:14

              Hi,

              Out of curiosity, how long are you paths ?

              D Offline
              D Offline
              Dariusz
              wrote on 7 Apr 2019, 20:31 last edited by
              #10

              @SGaist said in Mergin projects, cant compile mocs_compilation:

              Hi,

              Out of curiosity, how long are you paths ?

              Weird, I just did check on one of longer ones, it was around 140 chars... + so this is even weirder... how did I hit path limit o.O

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 7 Apr 2019, 20:55 last edited by
                #11

                Encrypted disk ?

                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
                • D Offline
                  D Offline
                  Dariusz
                  wrote on 7 Apr 2019, 20:57 last edited by
                  #12

                  Nope don't think so. I guess the build/debug/CMake.xxxx etc etc might add quite a few more chars, so the files in src are fine but the generated cmake path is too long due to all of them adding up somehow?

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 7 Apr 2019, 20:59 last edited by
                    #13

                    Did you try to build your project directly from a command prompt ?

                    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
                    • D Offline
                      D Offline
                      Dariusz
                      wrote on 9 Apr 2019, 17:28 last edited by
                      #14

                      Hey

                      Nope not yet. Will try it, just need to learn it :- )

                      1 Reply Last reply
                      0

                      14/14

                      9 Apr 2019, 17:28

                      • Login

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