Just installed Linux? It doesn't always have all the updated components with it
CMAKE entry need to be expanded
|
02-27-2014, 03:15 AM
The OP has 2.8.11.2 installed. He posted the output of cmake -version.
Like I said, you can just delete the lines I mentioned. They shouldn't be related to compiling on Linux (rather it's used for running CMake on Windows) and it shouldn't affect the build process. 02-27-2014, 11:25 AM
(02-26-2014, 01:17 PM)Shonumi Wrote:toddbailey Wrote:Like I stated earlier, in the section on running cmake make needs to be expanded. I tried commenting the lines as suggested and same results. I followed the install steps as outlined in the doc and still hit brick wall. as far as version of cmake it's the latest available. here is the output of my latest attempt. CMake Error at Core/Common/CMakeLists.txt:50 (enable_precompiled_headers): Unknown CMake command "enable_precompiled_headers". CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! it shouldn't need to be this difficult to build code. If one follows the steps outlined it should just work, so something didn't get tested here any other ideas? 02-27-2014, 11:26 AM
Can you post an attached copy of your Core/Common/CMakeLists.txt file? I'm curious to see what modifications were made.
02-27-2014, 11:38 AM
not expected a comprehensive all encompassing troubleshooting guide but rather a few more common troubleshooting tips such as why cmake fails to run when the enduser has followed the installation instructions
02-27-2014, 03:36 PM
(02-27-2014, 11:26 AM)rokclimb15 Wrote: Can you post an attached copy of your Core/Common/CMakeLists.txt file? I'm curious to see what modifications were made. 02-27-2014, 03:42 PM
CMake shouldn't be complaining about the offending lines in CMakeLists.txt, so something is off.
Try deleting your "build" directory and make a new one, then run CMake again. Sometimes CMake won't register changes to the CMakeLists.txt (or at least you need to do something to reset it). Though there's probably a simpler method, the sure-fire way is to wipeout your build directory and start fresh. 02-27-2014, 04:03 PM
Something is definitely off because there is a cmake_minimum_required in your file. It isn't reading the CMakeLists.txt properly, like Shonumi says.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)