| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0010653 | CMake | CMake | public | 2010-04-30 14:59 | 2016-06-10 14:31 | ||||
| Reporter | Robert Ioffe | ||||||||
| Assigned To | Bill Hoffman | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake-2-8 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0010653: file(APPEND) command bombs in VS2010 64 bit re-generation | ||||||||
| Description | The following two lines in the macro file(REMOVE ${PROJECT_BINARY_DIR}/lrb_generated.mak) file(APPEND ${PROJECT_BINARY_DIR}/lrb_generated.mak "# This file is generated by CMake. Do not edit directly!\n") cause the following error 4> CMake Error at CMakeLists_windows.cmake:126 (file): 4> file Internal CMake error when trying to open file: 4> C:/cygwin/home/Administrator/projects/cmake_ws/cmake_for_windows/VS2010_64/tests/smoke_xnmsg/lrb_generated.mak 4> for writing. 4> Call Stack (most recent call first): 4> tests/smoke_xnmsg/CMakeLists.txt:5 (add_lrb_test_library) The code works OK in VS2008, but regeneration totally bombs on VS2010 | ||||||||
| Additional Information | I am using VS2010 64 bit generation. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0020498) Bill Hoffman (manager) 2010-04-30 15:39 |
That could should have nothing to do with the generator. It maybe a premission issue. CMake run from 2010 may not have the same rights as from VS 2008. What happens when you run cmake from outside of VS 2010? What are the permissions on the directory it is running? What if you run VS 2010 as admin? |
|
(0020502) Robert Ioffe (reporter) 2010-04-30 17:01 |
I downloaded now CMake2.9 - todays build, checked permissions on the directory and started VS2010 as administrator. For some weird reason cmake insists on regenerating all projects the first time I build and has these writing errors, even though permissions are OK. Then, VS2010 goes into totally bizarre mode of trying to reload things one by one. I have to kill it and reload the solution, then things start building. |
|
(0020510) Bill Hoffman (manager) 2010-05-02 13:35 |
Can you create a minimal CMake project that shows this? Then attach a zip file to this bug. I assume this is VS 2010 professional of some sort. |
|
(0041690) Kitware Robot (administrator) 2016-06-10 14:27 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2010-04-30 14:59 | Robert Ioffe | New Issue | |
| 2010-04-30 15:39 | Bill Hoffman | Note Added: 0020498 | |
| 2010-04-30 15:40 | Bill Hoffman | Status | new => assigned |
| 2010-04-30 15:40 | Bill Hoffman | Assigned To | => Bill Hoffman |
| 2010-04-30 17:01 | Robert Ioffe | Note Added: 0020502 | |
| 2010-05-02 13:35 | Bill Hoffman | Note Added: 0020510 | |
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041690 | |
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved |
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved |
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |