Building with cmake fails in one QtCreator version while it works with another and also with catkin_make from terminal Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience Should we burninate the [wrap] tag? The Ask Question Wizard is Live!QtCreator 1.3, Qt 4.6.2 and build problem with cmake on windowsHow to use CMAKE_INSTALL_PREFIXqtcreator ignores cmake options when building with cmakenumber of catkin directory in ROSRun cmake Qt creator errorCMake External Project for Git ProjectCMake: Copy files from build directory to source directoyQtCreator and CMake: debug a release buildCMake difference between QTCreator and TerminalUsing Catkin with CMake Interface Library

Why are there no cargo aircraft with "flying wing" design?

Why was the term "discrete" used in discrete logarithm?

Error "illegal generic type for instanceof" when using local classes

Can a non-EU citizen traveling with me come with me through the EU passport line?

The logistics of corpse disposal

Sci-Fi book where patients in a coma ward all live in a subconscious world linked together

3 doors, three guards, one stone

How come Sam didn't become Lord of Horn Hill?

Resolving to minmaj7

What is the role of the transistor and diode in a soft start circuit?

Fundamental Solution of the Pell Equation

Why did the IBM 650 use bi-quinary?

Bete Noir -- no dairy

English words in a non-english sci-fi novel

What LEGO pieces have "real-world" functionality?

porting install scripts : can rpm replace apt?

How discoverable are IPv6 addresses and AAAA names by potential attackers?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

How does the particle を relate to the verb 行く in the structure「A を + B に行く」?

How to answer "Have you ever been terminated?"

Should I discuss the type of campaign with my players?

When do you get frequent flier miles - when you buy, or when you fly?

Should I use a zero-interest credit card for a large one-time purchase?

Output the ŋarâþ crîþ alphabet song without using (m)any letters



Building with cmake fails in one QtCreator version while it works with another and also with catkin_make from terminal



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
Should we burninate the [wrap] tag?
The Ask Question Wizard is Live!QtCreator 1.3, Qt 4.6.2 and build problem with cmake on windowsHow to use CMAKE_INSTALL_PREFIXqtcreator ignores cmake options when building with cmakenumber of catkin directory in ROSRun cmake Qt creator errorCMake External Project for Git ProjectCMake: Copy files from build directory to source directoyQtCreator and CMake: debug a release buildCMake difference between QTCreator and TerminalUsing Catkin with CMake Interface Library



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm trying to build my ROS-System. I do have two different QtCreator versions installed. Building from QtCreator 4.5.1 fails, while building from QtCreator 3.5.1 works just fine. The error I get is the following:



Running "/usr/bin/cmake /directory/catkin_ws/src/neuromorphic_stereo '-GCodeBlocks -
Ninja'" in /directory/catkin_ws/build.
CMake Error: The source "/directory/catkin_ws/src/neuromorphic_stereo/CMakeLists.txt"
does not match the source "/directory/catkin_ws/src/CMakeLists.txt" used to generate
cache. Re-run cmake with a different source directory.
*** cmake process exited with exit code 1.


As I said, building the exact same Project from QtCreator 3.5.1 or the terminal works just fine. I already had that problem before and as far as I remember at that time I just deleted the build-directory of my catkin-worksspace and it worked fine. This time this didn't work. I had already been able to build this project from 4.5.1 but I can't figure out what I was doing different, and the error message doesn't help me at all.










share|improve this question




























    0















    I'm trying to build my ROS-System. I do have two different QtCreator versions installed. Building from QtCreator 4.5.1 fails, while building from QtCreator 3.5.1 works just fine. The error I get is the following:



    Running "/usr/bin/cmake /directory/catkin_ws/src/neuromorphic_stereo '-GCodeBlocks -
    Ninja'" in /directory/catkin_ws/build.
    CMake Error: The source "/directory/catkin_ws/src/neuromorphic_stereo/CMakeLists.txt"
    does not match the source "/directory/catkin_ws/src/CMakeLists.txt" used to generate
    cache. Re-run cmake with a different source directory.
    *** cmake process exited with exit code 1.


    As I said, building the exact same Project from QtCreator 3.5.1 or the terminal works just fine. I already had that problem before and as far as I remember at that time I just deleted the build-directory of my catkin-worksspace and it worked fine. This time this didn't work. I had already been able to build this project from 4.5.1 but I can't figure out what I was doing different, and the error message doesn't help me at all.










    share|improve this question
























      0












      0








      0








      I'm trying to build my ROS-System. I do have two different QtCreator versions installed. Building from QtCreator 4.5.1 fails, while building from QtCreator 3.5.1 works just fine. The error I get is the following:



      Running "/usr/bin/cmake /directory/catkin_ws/src/neuromorphic_stereo '-GCodeBlocks -
      Ninja'" in /directory/catkin_ws/build.
      CMake Error: The source "/directory/catkin_ws/src/neuromorphic_stereo/CMakeLists.txt"
      does not match the source "/directory/catkin_ws/src/CMakeLists.txt" used to generate
      cache. Re-run cmake with a different source directory.
      *** cmake process exited with exit code 1.


      As I said, building the exact same Project from QtCreator 3.5.1 or the terminal works just fine. I already had that problem before and as far as I remember at that time I just deleted the build-directory of my catkin-worksspace and it worked fine. This time this didn't work. I had already been able to build this project from 4.5.1 but I can't figure out what I was doing different, and the error message doesn't help me at all.










      share|improve this question














      I'm trying to build my ROS-System. I do have two different QtCreator versions installed. Building from QtCreator 4.5.1 fails, while building from QtCreator 3.5.1 works just fine. The error I get is the following:



      Running "/usr/bin/cmake /directory/catkin_ws/src/neuromorphic_stereo '-GCodeBlocks -
      Ninja'" in /directory/catkin_ws/build.
      CMake Error: The source "/directory/catkin_ws/src/neuromorphic_stereo/CMakeLists.txt"
      does not match the source "/directory/catkin_ws/src/CMakeLists.txt" used to generate
      cache. Re-run cmake with a different source directory.
      *** cmake process exited with exit code 1.


      As I said, building the exact same Project from QtCreator 3.5.1 or the terminal works just fine. I already had that problem before and as far as I remember at that time I just deleted the build-directory of my catkin-worksspace and it worked fine. This time this didn't work. I had already been able to build this project from 4.5.1 but I can't figure out what I was doing different, and the error message doesn't help me at all.







      c++ cmake qt-creator ros catkin






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 22 at 9:08









      MaxMax

      1,030723




      1,030723






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55296182%2fbuilding-with-cmake-fails-in-one-qtcreator-version-while-it-works-with-another-a%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55296182%2fbuilding-with-cmake-fails-in-one-qtcreator-version-while-it-works-with-another-a%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript