MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0010949 | CMake | Documentation | public | 2010-07-07 17:45 | 2016-06-10 14:31 |
Reporter | Kurt Schwehr | ||||
Assigned To | Bill Hoffman | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-8 | ||||
Target Version | Fixed in Version | ||||
Summary | 0010949: Tutorial has two fatal errors on Mac and Linux | ||||
Description | Using cmake 2.8.2 from fink on Mac OSX 10.6. Also tried on Ubuntu 10.4. As a new user, I've tried to work through the tutorial on the web page and hit a couple things that didn't work and a bunch of things that should be tweaked for better style. This report refers to this web page: http://www.cmake.org/cmake/help/cmake_tutorial.html [^] CMake is looking pretty good from the beginners point of view. -kurt Things that break: * CMakeLists should be CMakeLists.txt * cmake_minumum_required (2.6) fails. The VERSION arg is missing. Should now be: cmake_minimum_required (VERSION 2.8) * atof missing header. On ubuntu and macosx, there needs to have stdlib: #include <cstdlib> Things that could be better: * The headers are in C, not C++ style. The headers should look like this: #include <cstdlib> #include <cstdio> #include <cmath> * Would be good to have a sample command line for building. e.g. cmake -G "Unix Makefiles" . make VERBOSE=1 | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-07-07 17:45 | Kurt Schwehr | New Issue | |||
2010-07-13 09:19 | Bill Hoffman | Note Added: 0021379 | |||
2010-07-13 09:19 | Bill Hoffman | Status | new => assigned | ||
2010-07-13 09:19 | Bill Hoffman | Assigned To | => Bill Hoffman | ||
2016-06-10 14:28 | Kitware Robot | Note Added: 0041724 | |||
2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|