View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015520CMakeCMakepublic2015-04-17 16:582016-06-10 14:31
ReporterWalter Gray 
Assigned ToKitware Robot 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindows Visual Studio 2013OSWindowsOS Version8.1
Product VersionCMake 3.2.2 
Target VersionFixed in Version 
Summary0015520: AUTORCC fails with multiple .qrc files in the same target
DescriptionIf a target has multiple .qrc files, the corresponding _automoc build step will fail
Steps To ReproduceCreate a target with AUTORCC enabled, add 2 .qrc files & attempt to build.
Additional InformationFailure output in VS2013:
Error 1 error MSB4018: The "CustomBuild" task failed unexpectedly.
System.NotSupportedException: The given path's format is not supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
   at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
   at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
   at System.IO.Path.GetFullPath(String path)
   at Microsoft.Build.CPPTasks.CustomBuild.GetInputs(ITaskItem item)
   at Microsoft.Build.CPPTasks.CustomBuild.BuildExecutionGraph()
   at Microsoft.Build.CPPTasks.CustomBuild.AssignOutOfDateSources(ITaskItem[] sources)
   at Microsoft.Build.CPPTasks.TrackedVCToolTask.ComputeOutOfDateSources()
   at Microsoft.Build.CPPTasks.TrackedVCToolTask.SkipTaskExecution()
   at Microsoft.Build.Utilities.ToolTask.Execute()
   at Microsoft.Build.CPPTasks.TrackedVCToolTask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 ControlPanelUI_automoc
TagsNo tags attached.
Attached Files

 Relationships
related to 0015523closedBrad King ninja AUTORCC with AUTOGEN_TARGET_DEPENDS generated resources 

  Notes
(0038563)
Brad King (manager)
2015-04-20 15:04

CMake's test suite has a case like this:

 http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Tests/QtAutogen/CMakeLists.txt;hb=f438cd37#l82 [^]

The QtAutogen executable has both "test.qrc" and "second_resource.qrc". The test passes for me with VS 2013 using our Git 'master' branch as of commit f438cd37.

Some changes to related infrastructure have been made since 3.2. Please try with a development version built from source or with a recent nightly binary:

 http://www.cmake.org/files/dev/?C=M;O=D [^]
(0042760)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2015-04-17 16:58 Walter Gray New Issue
2015-04-20 10:02 Brad King Relationship added related to 0015523
2015-04-20 15:04 Brad King Note Added: 0038563
2016-06-10 14:29 Kitware Robot Note Added: 0042760
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team