Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building Kdenlive #1

Closed
tian2992 opened this issue Sep 16, 2013 · 9 comments
Closed

Error when building Kdenlive #1

tian2992 opened this issue Sep 16, 2013 · 9 comments

Comments

@tian2992
Copy link
Contributor

Kdenlive lacks a line in the cmake file and fails compilation.
Should include flag -Wno-dev at line 478

Call Stack (most recent call first):
  CMakeLists.txt:52 (find_package)


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!
@tian2992
Copy link
Contributor Author

fixed in @ebf7e5ae1ffb809aee08e815ab9cb9add9ef0411 (and removed extraneous spacing).

@bmatherly
Copy link
Member

It seems like it would be better to fix Kdenlive by adding "cmake_minimum_required" to the top of CMakeLists.txt. Is there a reason not do do that?

Also, I would prefer that whitespace changes be in separate commits than substantial changes so that the real changes aren't hidden.

@ddennedy
Copy link
Member

I agree with both of your comments, Brian.

@tian2992
Copy link
Contributor Author

Well, that is an upstream Kdenlive issue. I already reported the bug, so it should be eventually fixed. http://www.kdenlive.org/mantis/view.php?id=3163

I will split the changes, realized too late, sorry.

@ddennedy
Copy link
Member

On second thought, Brian. It might be a while before kdenlive changes its CMakeLists.txt. So, maybe we should just merge this - it is rather harmless, after all.

@bmatherly
Copy link
Member

I was thinking about just assigning the kdenlive bug to myself and fixing it. I'll have a look at it in the next evening or two.

I don't disagree with the harmlessness. But developers do use the script, so it might be nice if the script didn't hide errors from them.

Regardless of what happens with the error, I'd like to pull in the whitespace changes.

@ddennedy
Copy link
Member

I do not believe many of the developers use the script except perhaps to
build their own snapshots. A lengthy build script gets in the way of a
dev-test-debug cycle. If it is not fixed in kdenlive git in the next couple
of days, I will merge this.

@bmatherly
Copy link
Member

Sounds great. Who knows when I might get to the Kdenlive bug :)

@bmatherly
Copy link
Member

Sebastian,
What is your environment (OS)? The current Kdenlive script is working fine on all our build machines:
http://build.mltframework.org/project.html?projectId=project3&tab=projectOverview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants