[CMake] Problem using VS 2012 Express and CMake

Robert Maynard robert.maynard at kitware.com
Tue Oct 8 09:37:20 EDT 2013


The VisualStudio12 Generator file is for Visual Studio 2013. CMake
numbers the Visual Studio Generators based on MSC_VER number, not the
year in the products name.




On Mon, Oct 7, 2013 at 10:13 PM, Doug <douglas.linder at gmail.com> wrote:
> Interesting that it works for you. Are you definitely using VS2012, not the
> VS2013 release candidate?
>
> I believe the issue I'm experiencing is related to:
> http://public.kitware.com/Bug/view.php?id=14369
> http://msdn.microsoft.com/en-us/library/vstudio/hh162058%28v=vs.120%29.aspx
>
> Ie. In VS2013 the tools version changes from 4.0 as msbuild is moved out of
> the framework.
> However, I believe that this has mistakenly been put in the VS2012
> generator, when it should go in a new VS2013 generator.
>
> ~
> Doug.
>
>
> On Mon, Oct 7, 2013 at 9:01 PM, Michael Jackson
> <mike.jackson at bluequartz.net> wrote:
>>
>> I am running CMake 2.8.10.1 on Windows 7 x64 (inside a VM) and have Visual
>> Studio 2012 Express installed (SP2 level) and I can definitely configure my
>> project with CMake, open the solution file and build with VS express.
>> Possibly the differentiating factor is that I also installed the "Windows
>> Software Development Kit" so that I could also use QtCreator BUT maybe this
>> allowed VS Express to work correctly with CMake?
>>
>> Just another data point.
>> ___________________________________________________________
>> Mike Jackson                    Principal Software Engineer
>> BlueQuartz Software                            Dayton, Ohio
>> mike.jackson at bluequartz.net              www.bluequartz.net
>>
>> On Oct 7, 2013, at 8:46 AM, Doug <douglas.linder at gmail.com> wrote:
>>
>> > Oh, thank you~
>> >
>> > I was just trying the nightly builds in the hopes that they had a fix
>> > with no luck, but you're right, generating a VS2011 project did work.
>> >
>> > The 2012 generator is still broken in the nightlies, both for pro and
>> > express though as far as I can tell.
>> >
>> > ~
>> > Doug.
>> >
>> >
>> > On Mon, Oct 7, 2013 at 1:35 PM, Daniel S. Reichenbach
>> > <daniel at kogitoapp.com> wrote:
>> > Hi,
>> >
>> >
>> > Anyway, long story short: I'm fairly certain that its currently not
>> > possible to build cmake projects with visual studio express 2012 on
>> > windows 7.
>> > Use CMake 2.8.11 and it will work, there seems to be a fix in there.
>> > Had to use the VS2011 generator but it works. Test in a Windows 7 x64
>> > virtual machine with CMake 2.8.11 and Visual Studio Express 2012 for
>> > Windows desktop.
>> >
>> > WkR,
>> > Daniel
>> >
>> >
>> > --
>> >
>> > Powered by www.kitware.com
>> >
>> > Please keep messages on-topic and check the CMake FAQ at:
>> > http://www.cmake.org/Wiki/CMake_FAQ
>> >
>> > Kitware offers various services to support the CMake community. For more
>> > information on each offering, please visit:
>> >
>> > CMake Support: http://cmake.org/cmake/help/support.html
>> > CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> > CMake Training Courses: http://cmake.org/cmake/help/training.html
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.cmake.org/mailman/listinfo/cmake
>> >
>> > --
>> >
>> > Powered by www.kitware.com
>> >
>> > Please keep messages on-topic and check the CMake FAQ at:
>> > http://www.cmake.org/Wiki/CMake_FAQ
>> >
>> > Kitware offers various services to support the CMake community. For more
>> > information on each offering, please visit:
>> >
>> > CMake Support: http://cmake.org/cmake/help/support.html
>> > CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> > CMake Training Courses: http://cmake.org/cmake/help/training.html
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.cmake.org/mailman/listinfo/cmake
>>
>> --
>>
>> Powered by www.kitware.com
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Kitware offers various services to support the CMake community. For more
>> information on each offering, please visit:
>>
>> CMake Support: http://cmake.org/cmake/help/support.html
>> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> CMake Training Courses: http://cmake.org/cmake/help/training.html
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>
>
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list