Dolphin, the GameCube and Wii emulator - Forums

Full Version: CMAKE entry need to be expanded
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Just installed Linux? It doesn't always have all the updated components with it
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-26-2014, 01:17 PM)Shonumi Wrote: [ -> ]
toddbailey Wrote:Like I stated earlier, in the section on running cmake make needs to be expanded.

By that logic, Dolphin's Linux build wiki entry should cover all possible errors that will come up with cmake. However, if you have everything set up correctly before you try to build Dolphin, that's literally all you have to run, cmake .. Something on your end is wrong, which is why you're running into trouble. It's nothing to do with not knowing CMake's documentation. If you've ever used other projects that use CMake to build, you'll often see that the build and install instructions basically go like "cmake .. && make && make install" in the README.txt because, if everything is in order, that's really all you need to run.

It might be that you're not using a current enough version of CMake (as rokclimb15 suspects) but you wanted to sidestep the issue instead of actually solving it, you could very well just delete lines 65-86 of the CMakeLists.txt

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?
Can you post an attached copy of your Core/Common/CMakeLists.txt file? I'm curious to see what modifications were made.
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
Trying to figure that out. Please post your file as requested.
(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.
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.
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.
Pages: 1 2