View Issue Details

IDProjectCategoryView StatusLast Update
0002884Slicer4Core: Building (CMake, Superbuild)public2017-06-07 23:27
Reporterpieper Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002884: Windows / ITKv4 - When building, it complains with "illegal parameter from the moc.exe"
Description

229>CMake Error at /.../Slicer-5-build/CTK/CMake/ctkScriptMocPythonQtWrapper.cmake:95 (message):
24>229> Failed to moc'ified .
24>229> The parameter is incorrect

See http://slicer.cdash.org/viewBuildError.php?buildid=57342

TagsITKv4

Relationships

parent of 0002900 closedjcfr cannot load volumes in release build of Slicer4 ITKv4 
child of 0002007 closedjcfr Build against ITKv4 and remove ITKv3 

Activities

jcfr

jcfr

2013-01-24 11:16

administrator   ~0007732

The following CTK patch should fix the issue. See https://github.com/jcfr/CTK/commit/112d2b8b35527fc5ac94c935bb9d3d9ef46e9f0f.patch

Waiting for folks to test the patch.

pieper

pieper

2013-01-27 08:27

administrator   ~0007743

I can confirm that with the patch the moc.exe process no longer gives the 'Parameter is incorrect' message and the module build. Nice!

There are still other issues with the resulting build (for instance, it cannot load volumes). :\

jcfr

jcfr

2013-01-27 12:19

administrator   ~0007744

Fixed in r21644
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21644

Thanks to Steve Pieper for checking the patch works as expected.

pieper

pieper

2013-01-29 10:36

administrator   ~0007763

The fix works for me.

jcfr

jcfr

2017-06-07 23:27

administrator   ~0014664

Fix committed to 2145-support-for-installing-extension-from-file branch.

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file 582448a5

2013-01-27 17:18:56

jcfr

Details Diff
COMP: Windows / ITKv4 - Fix build error "illegal parameter from the moc.exe"

Thanks to Steve Pieper for testing the fix works as expected.

See http://www.na-mic.org/Bug/view.php?id=2884

Fixes 0002884

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21644 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild/External_CTK.cmake Diff File

Issue History

Date Modified Username Field Change
2013-01-24 05:48 jcfr New Issue
2013-01-24 05:48 jcfr Status new => assigned
2013-01-24 05:48 jcfr Assigned To => jcfr
2013-01-24 05:49 jcfr Reporter jcfr => pieper
2013-01-24 05:49 jcfr Target Version => Slicer 4.3.0
2013-01-24 05:49 jcfr Summary Windows - When building, it complains with "illegal parameter from the moc.exe" => Windows / ITKv4 - When building, it complains with "illegal parameter from the moc.exe"
2013-01-24 05:49 jcfr Tag Attached: ITKv4
2013-01-24 05:49 jcfr Relationship added child of 0002007
2013-01-24 11:16 jcfr Note Added: 0007732
2013-01-24 11:16 jcfr Status assigned => feedback
2013-01-27 08:27 pieper Note Added: 0007743
2013-01-27 12:19 jcfr Note Added: 0007744
2013-01-27 12:19 jcfr Status feedback => resolved
2013-01-27 12:19 jcfr Fixed in Version => Slicer 4.3.0
2013-01-27 12:19 jcfr Resolution open => fixed
2013-01-29 10:36 pieper Note Added: 0007763
2013-01-29 10:36 pieper Status resolved => closed
2013-01-29 10:36 pieper Fixed in Version Slicer 4.3.0 => Slicer 4.2.3
2013-01-29 10:39 pieper Relationship added parent of 0002900
2013-02-12 09:40 jcfr Fixed in Version Slicer 4.2.3 => Slicer 4.3.0
2017-06-07 23:27 jcfr Changeset attached => Slicer 2145-support-for-installing-extension-from-file 582448a5
2017-06-07 23:27 jcfr Note Added: 0014664