[CMake] moc Cannot open options file specified with @

John Drescher drescherjm at gmail.com
Wed Mar 18 22:49:27 EDT 2009


On Wed, Mar 18, 2009 at 10:38 PM, John Drescher <drescherjm at gmail.com> wrote:
> I have been using CMake with my Qt projects for a few months now and
> every once and a while moc fails with
> "Cannot open options file specified with @"
>
> I did a google search and ended up finding my own post to this list on
> the same subject in April of last year.
>
> http://www.cmake.org/pipermail/cmake/2008-April/021263.html
>
> That time it was with visual studio 2003 now I have 2005 and the
> problem is more rare however it still occurs. Usually exiting visual
> studio fixes it but this time I am not having any luck. I have
> regenerated the project 3 times and it still is happening.
>

It worked this time. I changed to X: (which is mapped to
C:\Programming using the subst command) regenerated the project with
Cmake-gui. In the process I made sure that everything pointed to X:
instead of C:\Programming.

3>Compiling manifest to resources...
3>Linking...
3>   Creating library
X:\VC.80\Qt\LungAnalysis\bin\Debug\LungAnalysis.lib and object
X:\VC.80\Qt\LungAnalysis\bin\Debug\LungAnalysis.exp
3>Embedding manifest...
3>Build log was saved at
"file://x:\VC.80\Qt\LungAnalysis\LungAnalysis.dir\Debug\BuildLog.htm"
3>LungAnalysis - 0 error(s), 0 warning(s)
5>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
5>Project not selected to build for this solution configuration
========== Build: 3 succeeded, 0 failed, 3 up-to-date, 2 skipped ==========

Then I built one of the subprojects by itself first and then build
solution. This was not even the project it was failing on but it
caused moc to be happy..


So with all these changes I can not figure out what caused it.. Sorry.

John


More information about the CMake mailing list