View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013945 | CMake | CMake | public | 2013-02-22 13:49 | 2016-06-10 14:31 | ||||
Reporter | Lee McCuller | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Linux | OS | Arch | OS Version | |||||
Product Version | CMake 2.8.10.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013945: unhelpful error (and build failure) when project name has space in it | ||||||||
Description | when the project() command is given with a project name with a space in it, the error report complains of" CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. and refuses to build, not indicating that the project name is invalid. | ||||||||
Steps To Reproduce | Run cmake on a directory with this CMakeLists.txt: " CMAKE_MINIMUM_REQUIRED(VERSION 2.8) PROJECT(proj separated) " and the output should be similar to: CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_separated_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_separated_COMPILER CMake Error: Could not find cmake module file:/home/mcculler/today/cmake/build/CMakeFiles/2.8.10.2/CMakeseparatedCompiler.cmake CMake Error: Could not find cmake module file:CMakeseparatedInformation.cmake CMake Error: CMAKE_separated_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0032361) Bill Hoffman (manager) 2013-02-22 15:03 |
Not sure if that can be fixed. You asked for a project named proj using the language called separated. I suppose the error message might say something about failing to enable or recognize the language "separated". But, CMake is a space separated language and this is documented in the project command. |
(0032362) Lee McCuller (reporter) 2013-02-22 16:12 |
Ah, that makes sense. I filed it just because I had done it by accident and it wasn't immediately obvious what I had done wrong. I think it would be clearer if the command were set up project(name LANGUAGES lang_1 lang_2 ...) but this would not be backwards-compatible and so is probably not worth it. |
(0042233) Kitware Robot (administrator) 2016-06-10 14:28 |
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 |
2013-02-22 13:49 | Lee McCuller | New Issue | |
2013-02-22 15:03 | Bill Hoffman | Note Added: 0032361 | |
2013-02-22 16:12 | Lee McCuller | Note Added: 0032362 | |
2016-06-10 14:28 | Kitware Robot | Note Added: 0042233 | |
2016-06-10 14:28 | Kitware Robot | Status | new => resolved |
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |