MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012909 | CMake | CMake | public | 2012-01-23 14:48 | 2016-06-10 14:31 |
Reporter | James Mansion | ||||
Assigned To | Kitware Robot | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Windows | OS | Windows | OS Version | 7 |
Product Version | CMake 2.8.6 | ||||
Target Version | Fixed in Version | ||||
Summary | 0012909: rc.exe cannot find generated type library, Visual Studio 10 builder | ||||
Description | I have an IDL file that generates a type library, and an RC file that wants to embed it. The .tlb is emitted here: C:\build\easyrtd.vs10\EasyRTD\easyrtd.dir\Debug>dir *.tlb Volume in drive C has no label. Volume Serial Number is 5AB0-0B44 Directory of C:\build\easyrtd.vs10\EasyRTD\easyrtd.dir\Debug 23/01/2012 18:52 2,612 EasyRTD.tlb 1 File(s) 2,612 bytes 0 Dir(s) 171,651,473,408 bytes free there is no obvious sign of the rc file (easyrtd.rc) in the working build directory, but if I insert a #error statement I get: 1>C:\src\easyrtd\EasyRTD\easyrtd.src\EasyRTD.rc(21): error RC2188: C:\build\easyrtd.vs10\EasyRTD\EasyRTD.dir\Debug\RCa03492(25) : fatal error RC1116: RC terminating after preprocessor errors 1> which suggests that the file was copied over, if temporarily. Unfortunately I cannot say: 2 TYPELIB "EasyRTD.tlb" since rc.exe fails to find the file. I can say: 2 TYPELIB "c:\build\easyrtd.vs10\EasyRTD\easyrtd.dir\Debug\EasyRTD.tlb" or, I can say: 2 TYPELIB "EasyRTD.tlb" if I also (don't laugh!) say in CMakeLists.txt: include_directories(. c:/build/easyrtd.vs10/EasyRTD/easyrtd.dir/Debug) before the source definition. | ||||
Steps To Reproduce | Simple project that defines a type library and tries to embed it should do. | ||||
Additional Information | Its concerning also that there isn't a failure from include scanning I guess. Is this construct (generate and import a type library) supported at all at the moment? Is there a preferred recipe? | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-01-23 14:48 | James Mansion | New Issue | |||
2012-01-23 14:54 | David Cole | Note Added: 0028394 | |||
2012-01-23 16:35 | James Mansion | Note Added: 0028395 | |||
2012-01-23 18:02 | James Mansion | Note Added: 0028396 | |||
2012-08-11 21:09 | David Cole | Status | new => backlog | ||
2012-08-11 21:09 | David Cole | Note Added: 0030354 | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0041970 | |||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|