[ITK-users] enable_language(C) in CMakeLists.txt
Jose Garcia
garcia.josef at gmail.com
Mon Oct 19 18:52:13 EDT 2015
HI,
I re-install visual studio and solved the problem. My mistake was that I
only checked that VS 2015 community was installed. However, you need to
create a cpp project to install the SDK, CL and the compiler.
Now it configures as it is supposed to. I haven't completed the build yet
but the options are there.
Thank you,
Jose
On Mon, Oct 19, 2015 at 4:29 PM, Matt McCormick <matt.mccormick at kitware.com>
wrote:
> Hi Jose,
>
> It sounds like there is a problem with your Visual Studio installation
> or CMake is having trouble finding the location of the installation.
> Usually CMake can find the default installation location without any
> additional configuration. Please try installing the CMake 3.4 release
> candidate, and let use know how it goes.
>
> Thanks,
> Matt
>
> PS. Please reply-to-all so messages stay on the mailing list.
>
> On Mon, Oct 19, 2015 at 11:21 AM, Jose Garcia <garcia.josef at gmail.com>
> wrote:
> > Thank you Matt,
> >
> > I downloaded a git on 17th October.
> >
> > After running configure in Cmake I get:
> >
> > "Error in configuration process, project files may be invalid"
> >
> > In the dialog box I get:
> > "CMake error at Cmakelists.txt 23: (enabvle_language) no cmake-c-comipler
> > could be found
> >
> > I have the path to visual studio added to PATH.
> >
> > I installed MinGW in case that helped but no
> >
> > Jose
> >
> >
> > On Mon, Oct 19, 2015 at 4:04 PM, Matt McCormick <
> matt.mccormick at kitware.com>
> > wrote:
> >>
> >> Hi Jose,
> >>
> >> What is the error that you are getting?
> >>
> >> Support for Visual Studio 14 was only added on October 13th:
> >>
> >> http://review.source.kitware.com/#/c/20272/
> >>
> >> Did you run a clean build from Git since then?
> >>
> >> Thanks,
> >> Matt
> >>
> >> On Sat, Oct 17, 2015 at 9:06 PM, Jose Garcia <garcia.josef at gmail.com>
> >> wrote:
> >> > Hello,
> >> >
> >> > I can't build ITK using Cmake. This is supposed to be straight
> forward
> >> > but
> >> > somehow I managed to make it imposible.
> >> >
> >> > CMake only shows me camake variables and non ITK build variables.
> >> >
> >> > It seems that is has problems reading the CMakeLists.txt.
> >> >
> >> > Cmake points at line 23 of the CMakeLists.txt. enable_language(C)
> >> > as the potential source of error.
> >> >
> >> > is there any particualr way to configure the native compilers that can
> >> > solve
> >> > this?
> >> >
> >> > I have been unable to find any reference to this in the FAQ.
> >> >
> >> > I am using Cmake 3.3.2( tried with binary and zip) under windows 7 and
> >> > visual studio 14 and ITK (tried both zip and git version)
> >> >
> >> > Thank you on advance for any help.
> >> >
> >> > Jose
> >> >
> >> > _____________________________________
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Kitware offers ITK Training Courses, for more information visit:
> >> > http://www.kitware.com/products/protraining.php
> >> >
> >> > Please keep messages on-topic and check the ITK FAQ at:
> >> > http://www.itk.org/Wiki/ITK_FAQ
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://public.kitware.com/mailman/listinfo/insight-users
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20151019/1e1d7ed4/attachment.html>
More information about the Insight-users
mailing list