Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1
On Wed, Sep 22, 2010 at 4:20 PM, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of the one project I want to build), and then I get a the build must be stopped before the solution can be closed. I click OK and then I get a dialog that says: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) Any clues as to why this might be happening or how I can fix it? Just try building again. You will get comm errors if you take too long to answer the prompt from when the macro first loaded. I see this probably 1 time a week on VS2008 and VS2005. I do not have 2010 until software licencing renews in two months. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1
On Wed, Sep 22, 2010 at 2:24 PM, John Drescher dresche...@gmail.com wrote: On Wed, Sep 22, 2010 at 4:20 PM, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of the one project I want to build), and then I get a the build must be stopped before the solution can be closed. I click OK and then I get a dialog that says: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) Any clues as to why this might be happening or how I can fix it? Just try building again. You will get comm errors if you take too long to answer the prompt from when the macro first loaded. I see this probably 1 time a week on VS2008 and VS2005. I do not have 2010 until software licencing renews in two months. John Yeah, I've also seen this timeout before in VS2008, but I promise you I clicked the button as soon as it came up so this isn't the issue. It also does it every single time. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1
On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.com wrote: This happens on 2.8.2 as well, to me at least. In spite of that ugly operation aborted dialog, it seems the .sln is reloaded correctly. On Wednesday, September 22, 2010, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of the one project I want to build), and then I get a the build must be stopped before the solution can be closed. I click OK and then I get a dialog that says: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) Any clues as to why this might be happening or how I can fix it? I get the ugly error message, and I have to click reload 70+ times. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1
On Wed, Sep 22, 2010 at 4:32 PM, James Bigler jamesbig...@gmail.com wrote: On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.com wrote: This happens on 2.8.2 as well, to me at least. In spite of that ugly operation aborted dialog, it seems the .sln is reloaded correctly. On Wednesday, September 22, 2010, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of the one project I want to build), and then I get a the build must be stopped before the solution can be closed. I click OK and then I get a dialog that says: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) Any clues as to why this might be happening or how I can fix it? I get the ugly error message, and I have to click reload 70+ times. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake It would appear that Microsoft has changed Visual Studio moving to the 2010 edition such that our macro-solution-reloading magic no longer works properly. I have not yet found a way around this: we used to be able to cancel the build that was in progress, reload stuff, and then start another build in VS 2008 and earlier. It does not appear possible with VS 2010. I know I'll be heartily flamed for even suggesting this, but the way I work with VS is to shut it down (or at least close the solution file), run cmake or cmake-gui by hand outside of Visual Studio, and then open up the sln file again with VS. This avoids the problem you're reporting, but I realize it is not ideal. I welcome any suggestions for how to get this stuff to work again with VS 2010. I'm stumped on it... Thanks, David ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1
Also, what are filters files? Sometimes I get a dialog that says: The filters file for project YYY has been modified outside the environment. I got this instead of the CMake macro dialog: 1-- Build started: Project: ZERO_CHECK, Configuration: Debug Win32 -- 1 Checking Build System 1 CMake does not need to re-run because C:/code/yyy/build-32-vs10-c30/CMakeFiles/generate.stamp is up-to-date. 1 CMake does not need to re-run because C:/code/yyy/build-32-vs10-c30/src/CMakeFiles/generate.stamp is up-to-date. 1 CMake is re-running because C:/code/yyy/build-32-vs10-c30/src/hhh/CMakeFiles/generate.stamp is out-of-date. 1the file 'C:/code/yyy/src/hhh/CMakeLists.txt' 1is newer than 'C:/code/yyy/build-32-vs10-c30/src/hhh/CMakeFiles/generate.stamp.depend' 1result='-1' 1 -- Configuring done 1 -- Generating done 1 -- Build files have been written to: C:/code/yyy/build-32-vs10-c30 2 Build started: Project hhh --- ... ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1
On Wed, Sep 22, 2010 at 2:40 PM, David Cole david.c...@kitware.com wrote: On Wed, Sep 22, 2010 at 4:32 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.com wrote: This happens on 2.8.2 as well, to me at least. In spite of that ugly operation aborted dialog, it seems the .sln is reloaded correctly. On Wednesday, September 22, 2010, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of the one project I want to build), and then I get a the build must be stopped before the solution can be closed. I click OK and then I get a dialog that says: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) Any clues as to why this might be happening or how I can fix it? I get the ugly error message, and I have to click reload 70+ times. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake It would appear that Microsoft has changed Visual Studio moving to the 2010 edition such that our macro-solution-reloading magic no longer works properly. I have not yet found a way around this: we used to be able to cancel the build that was in progress, reload stuff, and then start another build in VS 2008 and earlier. It does not appear possible with VS 2010. I know I'll be heartily flamed for even suggesting this, but the way I work with VS is to shut it down (or at least close the solution file), run cmake or cmake-gui by hand outside of Visual Studio, and then open up the sln file again with VS. This avoids the problem you're reporting, but I realize it is not ideal. I welcome any suggestions for how to get this stuff to work again with VS 2010. I'm stumped on it... Thanks, David Doh! This is really unfortunate, as my FindCUDA script causes a lot of reloading as file level build dependencies are computed and reloaded into the project files. This macro was truly one of the things that made VS development with CMake a great combination. Have you tried filing a bug with Microsoft? James ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1
On Wed, Sep 22, 2010 at 4:55 PM, James Bigler jamesbig...@gmail.com wrote: On Wed, Sep 22, 2010 at 2:40 PM, David Cole david.c...@kitware.comwrote: On Wed, Sep 22, 2010 at 4:32 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.comwrote: This happens on 2.8.2 as well, to me at least. In spite of that ugly operation aborted dialog, it seems the .sln is reloaded correctly. On Wednesday, September 22, 2010, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of the one project I want to build), and then I get a the build must be stopped before the solution can be closed. I click OK and then I get a dialog that says: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) Any clues as to why this might be happening or how I can fix it? I get the ugly error message, and I have to click reload 70+ times. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake It would appear that Microsoft has changed Visual Studio moving to the 2010 edition such that our macro-solution-reloading magic no longer works properly. I have not yet found a way around this: we used to be able to cancel the build that was in progress, reload stuff, and then start another build in VS 2008 and earlier. It does not appear possible with VS 2010. I know I'll be heartily flamed for even suggesting this, but the way I work with VS is to shut it down (or at least close the solution file), run cmake or cmake-gui by hand outside of Visual Studio, and then open up the sln file again with VS. This avoids the problem you're reporting, but I realize it is not ideal. I welcome any suggestions for how to get this stuff to work again with VS 2010. I'm stumped on it... Thanks, David Doh! This is really unfortunate, as my FindCUDA script causes a lot of reloading as file level build dependencies are computed and reloaded into the project files. This macro was truly one of the things that made VS development with CMake a great combination. Have you tried filing a bug with Microsoft? Not yet. But that's a grand idea. I'll try to distill it down into the simplest repro steps using VS9 and VS10, file a bug with that, and see how they respond. I'll keep you posted. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1
On Wed, Sep 22, 2010 at 3:06 PM, David Cole david.c...@kitware.com wrote: On Wed, Sep 22, 2010 at 4:55 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:40 PM, David Cole david.c...@kitware.comwrote: On Wed, Sep 22, 2010 at 4:32 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.comwrote: This happens on 2.8.2 as well, to me at least. In spite of that ugly operation aborted dialog, it seems the .sln is reloaded correctly. On Wednesday, September 22, 2010, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of the one project I want to build), and then I get a the build must be stopped before the solution can be closed. I click OK and then I get a dialog that says: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) Any clues as to why this might be happening or how I can fix it? I get the ugly error message, and I have to click reload 70+ times. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake It would appear that Microsoft has changed Visual Studio moving to the 2010 edition such that our macro-solution-reloading magic no longer works properly. I have not yet found a way around this: we used to be able to cancel the build that was in progress, reload stuff, and then start another build in VS 2008 and earlier. It does not appear possible with VS 2010. I know I'll be heartily flamed for even suggesting this, but the way I work with VS is to shut it down (or at least close the solution file), run cmake or cmake-gui by hand outside of Visual Studio, and then open up the sln file again with VS. This avoids the problem you're reporting, but I realize it is not ideal. I welcome any suggestions for how to get this stuff to work again with VS 2010. I'm stumped on it... Thanks, David Doh! This is really unfortunate, as my FindCUDA script causes a lot of reloading as file level build dependencies are computed and reloaded into the project files. This macro was truly one of the things that made VS development with CMake a great combination. Have you tried filing a bug with Microsoft? Not yet. But that's a grand idea. I'll try to distill it down into the simplest repro steps using VS9 and VS10, file a bug with that, and see how they respond. I'll keep you posted. Thanks! Is there a mantis bug that is tracking this issue? I'm curios to know if this is an API issue or perhaps simply a bug. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1
On Wed, Sep 22, 2010 at 5:10 PM, James Bigler jamesbig...@gmail.com wrote: On Wed, Sep 22, 2010 at 3:06 PM, David Cole david.c...@kitware.comwrote: On Wed, Sep 22, 2010 at 4:55 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:40 PM, David Cole david.c...@kitware.comwrote: On Wed, Sep 22, 2010 at 4:32 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.comwrote: This happens on 2.8.2 as well, to me at least. In spite of that ugly operation aborted dialog, it seems the .sln is reloaded correctly. On Wednesday, September 22, 2010, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of the one project I want to build), and then I get a the build must be stopped before the solution can be closed. I click OK and then I get a dialog that says: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) Any clues as to why this might be happening or how I can fix it? I get the ugly error message, and I have to click reload 70+ times. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake It would appear that Microsoft has changed Visual Studio moving to the 2010 edition such that our macro-solution-reloading magic no longer works properly. I have not yet found a way around this: we used to be able to cancel the build that was in progress, reload stuff, and then start another build in VS 2008 and earlier. It does not appear possible with VS 2010. I know I'll be heartily flamed for even suggesting this, but the way I work with VS is to shut it down (or at least close the solution file), run cmake or cmake-gui by hand outside of Visual Studio, and then open up the sln file again with VS. This avoids the problem you're reporting, but I realize it is not ideal. I welcome any suggestions for how to get this stuff to work again with VS 2010. I'm stumped on it... Thanks, David Doh! This is really unfortunate, as my FindCUDA script causes a lot of reloading as file level build dependencies are computed and reloaded into the project files. This macro was truly one of the things that made VS development with CMake a great combination. Have you tried filing a bug with Microsoft? Not yet. But that's a grand idea. I'll try to distill it down into the simplest repro steps using VS9 and VS10, file a bug with that, and see how they respond. I'll keep you posted. Thanks! Is there a mantis bug that is tracking this issue? I'm curios to know if this is an API issue or perhaps simply a bug. No mantis issue on this that I am aware of... ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1
On Wed, Sep 22, 2010 at 3:12 PM, David Cole david.c...@kitware.com wrote: On Wed, Sep 22, 2010 at 5:10 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 3:06 PM, David Cole david.c...@kitware.comwrote: On Wed, Sep 22, 2010 at 4:55 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:40 PM, David Cole david.c...@kitware.comwrote: On Wed, Sep 22, 2010 at 4:32 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.comwrote: This happens on 2.8.2 as well, to me at least. In spite of that ugly operation aborted dialog, it seems the .sln is reloaded correctly. On Wednesday, September 22, 2010, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of the one project I want to build), and then I get a the build must be stopped before the solution can be closed. I click OK and then I get a dialog that says: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) Any clues as to why this might be happening or how I can fix it? I get the ugly error message, and I have to click reload 70+ times. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake It would appear that Microsoft has changed Visual Studio moving to the 2010 edition such that our macro-solution-reloading magic no longer works properly. I have not yet found a way around this: we used to be able to cancel the build that was in progress, reload stuff, and then start another build in VS 2008 and earlier. It does not appear possible with VS 2010. I know I'll be heartily flamed for even suggesting this, but the way I work with VS is to shut it down (or at least close the solution file), run cmake or cmake-gui by hand outside of Visual Studio, and then open up the sln file again with VS. This avoids the problem you're reporting, but I realize it is not ideal. I welcome any suggestions for how to get this stuff to work again with VS 2010. I'm stumped on it... Thanks, David Doh! This is really unfortunate, as my FindCUDA script causes a lot of reloading as file level build dependencies are computed and reloaded into the project files. This macro was truly one of the things that made VS development with CMake a great combination. Have you tried filing a bug with Microsoft? Not yet. But that's a grand idea. I'll try to distill it down into the simplest repro steps using VS9 and VS10, file a bug with that, and see how they respond. I'll keep you posted. Thanks! Is there a mantis bug that is tracking this issue? I'm curios to know if this is an API issue or perhaps simply a bug. No mantis issue on this that I am aware of... I just made one: http://public.kitware.com/Bug/view.php?id=11258 If the plugin is broken, should it be disabled? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake