[CMake] Problem using VS 2012 Express and CMake
Doug
douglas.linder at gmail.com
Sun Oct 6 22:15:25 EDT 2013
I installed visual studio express on a brand new windows 7 machine
yesterday (brand new installed; liteally all it has on it is visual studio
express 12 and cmake), and I encountered similar troubles.
1) As described in this thread, msbuild wasn't found by default:
http://stackoverflow.com/questions/12434696/visual-studio-express-2012-and-cmake/19206854#19206854
2) After correcting CMakeVS12FindMake.cmake to detect msbuild, it generated
the project, but the project wouldn't run. It said that the 'specified
build configuration was not found' and that I should attempt to upgrade the
project.
However, visual studio express didn't have an upgrade option on the
solution (which is should) and in the end I was forced to upgrade the
project using VS pro at work this morning.
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.
~
Doug.
(PS. After reading this thread I did perform an repair, but as expected,
the difficulties appear to be that 1) the path in the config file is wrong
and 2) VS express doesn't have a functioning devenv.exe to perform upgrades
with; it didn't fix anything)
On Sat, Sep 14, 2013 at 5:23 AM, Clark Taylor <clark.n.taylor at gmail.com>wrote:
> There must have been a problem with my Visual Studio install. I
> "repaired" Visual Studio 2012 and everything is working now. (As the
> machine was restarting, I realized I still had the same project open in VS
> 2008, which may have been the whole problem.) Wish the error messages were
> more instructive so this didn't look like such a stupid mistake :)
>
> Clark
>
>
> On Fri, Sep 13, 2013 at 9:20 AM, Clark Taylor <clark.n.taylor at gmail.com>wrote:
>
>> Do you have any machines that have more than one Visual Studio Express
>> installed on it. That is the only differentiator I can think of. That or
>> I am just stupid and not using CMake right. I have selected Visual Studio
>> 11 (_not_ Win64 or ARM). Other than that, I am doing everything just like
>> I do for VS 2008, but the projects won't load. I have noticed that Visual
>> Studio 9 says "Visual Studio 9 2008", unlike 2012 which says just "Visual
>> Studio 11", but I assume that is just a naming oddity.
>>
>> Clark
>>
>> On Thu, Sep 12, 2013 at 9:37 PM, Michael Jackson <
>> mike.jackson at bluequartz.net> wrote:
>>
>>> I use VS2012 express with CMake and it works just fine. So not sure what
>>> the problem could be.
>>> ___________________________________________________________
>>> Mike Jackson Principal Software Engineer
>>> BlueQuartz Software Dayton, Ohio
>>> mike.jackson at bluequartz.net www.bluequartz.net
>>>
>>> On Sep 12, 2013, at 11:17 AM, Clark Taylor <clark.n.taylor at gmail.com>
>>> wrote:
>>>
>>> > Sorry if this is a duplicate question, but...
>>> >
>>> > I have been using CMake for a project and it works great with Visual
>>> Studio 2008 Express and on Linux. I recently installed VS 2012 Express on
>>> my machine (VS 2008 is still installed), and installed CMake 2.8.11.2
>>> (downloaded yesterday) to have VS2012 support. While CMake finds the
>>> compiler for Visual Studio 11 and generates the project and solution files,
>>> when I try to open these files in VS 2012 Express, the solution loads but
>>> the projects all fail to load. When I tell them to reload from within VS,
>>> I get a "This operation could not be completed. No such interface
>>> supported" error.
>>> >
>>> > Is there something simple that needs to be done to enable working with
>>> VS 2012 Express? Let me know if I can clarify anything.
>>> >
>>> > Thanks,
>>> > Clark
>>> > --
>>> >
>>> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131007/43480a1e/attachment-0001.htm>
More information about the CMake
mailing list