View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014230 | CMake | CMake | public | 2013-06-19 01:01 | 2013-11-04 09:33 | ||||
Reporter | fiyawerx | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | Apple Mac | OS | OS X | OS Version | 10.8.3 | ||||
Product Version | CMake 2.8.11.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014230: Unknown CMake command "cmake_parse_arguments" | ||||||||
Description | It appears in versions 2.8.11.1 and 2.8.11, when trying to compile (in my case this was with Plex Home Theatre / XBMC) This error shows. If you remove 2.8.11.x and install 2.8.10, it works as expected. | ||||||||
Additional Information | I'm not sure what info will help here, as I'm not very familiar with CMake, but I noticed others on the forum mentioning having the same issue. This also occurs when installed via brew (homebrew) on OsX, which downloads the .tar.gz as well as when using the darwin installer. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0033324) Brad King (manager) 2013-06-19 08:56 |
The command is a macro that is supposed to be provided by including the CMakeParseArguments module. Whether the command is available depends on the calling context. Does the error message have a context (file location, call stack, etc.)? Also please post a link to the forum discussion you mention. |
(0033325) fiyawerx (reporter) 2013-06-19 09:35 edited on: 2013-06-19 09:47 |
I'm not very experienced with this, so I will try to give you any info you need. The forum post is here, but may be members only: http://forums.plexapp.com/index.php/topic/54497-build-plexht-from-source/ [^] The project being built is here: https://github.com/plexinc/plex-home-theater-public [^] On OsX, what I've done to build it based on the instructions in the post is: Install XCode from the app store. Install homebrew from here: http://mxcl.github.io/homebrew/ [^] Once that is installed, install xz, gnu-tar, ninja, wget and cmake via "brew install" Create a build directory (in my case mkdir build; cd build) and run the following command: cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DPLEX_SKIP_BUNDLING=1 -DCMAKE_INSTALL_PREFIX=output /Users/fiyawerx/phtpc/ (phtpc is where my git source is) I have uploaded the full output of the command here - http://pastebin.ca/2402349 [^] I currently have the 2.8.11-Darrwin img installed from the cmake.org site files folder. If you use brew I believe you get 2.8.11.1, which has the same error. If I remove that and install the 2.8.10-Darwin pkg it will work and I can post that output if you'd like as well. Please let me know what else I can do to provide more information. |
(0033326) Brad King (manager) 2013-06-19 09:57 |
Thanks for the links and output. The key output is this: CMake Error at plex/CMakeModules/CMakeFunctions.cmake:165 (cmake_parse_arguments): Unknown CMake command "cmake_parse_arguments". Call Stack (most recent call first): lib/libdvd/libdvdnav/CMakeLists.txt:9 (plex_find_headers) Reading the source it looks like the CMakeFunctions.cmake module defines a macro that calls cmake_parse_arguments, but it does not include(CMakeParseArguments) first. This worked at most by accident with earlier CMake versions. Add the line include(CMakeParseArguments) at the top of plex/CMakeModules/CMakeFunctions.cmake in the project source tree. |
(0033329) fiyawerx (reporter) 2013-06-19 10:16 |
Brad, that worked. Sorry for this report, and thank you! I will let the developer know what the response was. |
(0033330) Brad King (manager) 2013-06-19 10:18 |
Great, thanks for reporting back. |
(0034372) Robert Maynard (manager) 2013-11-04 09:33 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-06-19 01:01 | fiyawerx | New Issue | |
2013-06-19 08:56 | Brad King | Note Added: 0033324 | |
2013-06-19 09:35 | fiyawerx | Note Added: 0033325 | |
2013-06-19 09:47 | fiyawerx | Note Edited: 0033325 | |
2013-06-19 09:57 | Brad King | Note Added: 0033326 | |
2013-06-19 10:16 | fiyawerx | Note Added: 0033329 | |
2013-06-19 10:18 | Brad King | Note Added: 0033330 | |
2013-06-19 10:18 | Brad King | Status | new => resolved |
2013-06-19 10:18 | Brad King | Resolution | open => no change required |
2013-11-04 09:33 | Robert Maynard | Note Added: 0034372 | |
2013-11-04 09:33 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |