View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002353 | Slicer4 | Core: Building (CMake, Superbuild) | public | 2012-07-25 14:24 | 2012-07-27 14:36 |
Reporter | Lchauvin | Assigned To | jcfr | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | 7 | OS Version | |
Product Version | |||||
Target Version | Slicer 4.2.0 | Fixed in Version | Slicer 4.2.0 | ||
Summary | 0002353: ExternalData not found | ||||
Description | When I try to compile Slicer on windows, it failed with this message: Make Error at CMakeLists.txt:492 (include): This is the CMakeLists.txt of the root (Slicer4 directory). But I cannot find any variable called hash in the file. I think this is why it could fail. | ||||
Tags | No tags attached. | ||||
Just to confirm - Since Are you talking about Slicer trunk or the 4.1.1 branch: http://viewvc.slicer.org/viewvc.cgi/Slicer4/branches/Slicer-4-1-1/ To answer your first question: The %(hash) you are talking about is the one from a URL template that is used by ExternalData module to download data. |
|
I made a mistake in the choice, it's 4.1.0, the github version (master branch, not master-411). |
|
Could you provide more details. When does the error occur etc .. Is it when you configure at top-level, or when Slicer is configured. Which line in CMakeLists ? Without more details it is very hard to narrow the problem down. |
|
The error occurs when I compile. At the very beginning, when it's "configuring", I have the error in the message (ExternalData not found). It's in the main CMakeLists (Slicer4/CMakeLists.txt), line 492. Here we can see it's appending a URL. But the url is like this: However, I cannot find the variable "hash" in the CMakeLists. The line creating the issue is: include(ExternalData) (Line 492) |
|
As explained earlier, this url is a template and the hash is replaced by the md5 of the data specified within a md5 file. In your case you explained if fails to include the ExternalData CMake module ... the url is process within the module. It means it's very unlikely to be the cause of the prob. Make also sure to build using an u[-to-date source tree ! If you checked out the source available on your fork they are NOT up-to-date. It's your role to maintain your fork up to date. Source are up-to-date here: git://github.com/Slicer/Slicer.git |
|
Following your email, error occurs at line 492 of CMakeLists.txt The inclusion of ExternalData is done at that line on the CMakeLists of your fork. See [1] Whereas on the up-to-date CMakeLists of the trunk, it's done at line 509. See [2] [1] https://github.com/lchauvin/Slicer/blob/master/CMakeLists.txt#L492 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-25 14:24 | Lchauvin | New Issue | |
2012-07-25 14:24 | Lchauvin | Status | new => assigned |
2012-07-25 14:24 | Lchauvin | Assigned To | => jcfr |
2012-07-25 16:34 | jcfr | Note Added: 0005239 | |
2012-07-25 16:34 | jcfr | Status | assigned => feedback |
2012-07-25 16:35 | jcfr | Note Edited: 0005239 | |
2012-07-25 16:36 | Lchauvin | Note Added: 0005240 | |
2012-07-25 16:44 | jcfr | Product Version | Slicer 4.1.1 => |
2012-07-25 16:44 | jcfr | Target Version | Slicer 4.1.1 => Slicer 4.2.0 - October 1st 2012 |
2012-07-25 16:46 | jcfr | Note Added: 0005241 | |
2012-07-25 16:53 | Lchauvin | Note Added: 0005242 | |
2012-07-25 16:59 | jcfr | Note Added: 0005243 | |
2012-07-25 16:59 | jcfr | Status | feedback => resolved |
2012-07-25 16:59 | jcfr | Fixed in Version | => Slicer 4.2.0 - October 1st 2012 |
2012-07-25 16:59 | jcfr | Resolution | open => fixed |
2012-07-26 06:11 | jcfr | Note Added: 0005254 | |
2012-07-27 14:36 | jcfr | Status | resolved => closed |