[Insight-users] Problems compiling Curves3DExtractor
Luis Ibanez
luis.ibanez at kitware.com
Wed Jul 11 06:49:11 EDT 2007
Hi Vijay,
If the build went well you should have now an executable at:
InsightApplicationsVS8/Curves3DExtractor/debug/Curves3DExtractor.exe
or if you compiled for release, you will find it in:
InsightApplicationsVS8/Curves3DExtractor/release/Curves3DExtractor.exe
[where "InsightApplicationsVS8" can be replaced by the name of your binary
directory]
But... if you put any directory in the CMake variable:
"EXECUTABLE_OUTPUT_DIR"
then, the executable will be copied to that directory.
Regards,
Luis
================================================
On 7/10/07, vijay kumar <desivij at yahoo.com> wrote:
>
> Hi Luis,
>
> Thank you for your suggestion. I did as you suggested and configured the
> entire InsightApplications directory. After that, I got inside the
> InsightApplications\bin\Curves3DExtractor subdirectory and loaded
> Curves3DExtractor.sln into VS2005 and did an 'all build'. The build got
> done without a problem. However, I expected to see a 'debug' subdirectory
> that contains a Curves3DExtractor.exe application. I don't see it. Is
> there something else I need to do?
>
> Could you please advise?
>
> Thank you.
>
> Regards,
> Vijay
>
>
>
> *Luis Ibanez <luis.ibanez at kitware.com>* wrote:
>
>
> Hi Vijay,
>
> You must configure with CMake the *entire* InsightApplications
> directory.
>
> Once you have configured the entire package, you can get inside
> any of the subdirectories and build only that subdirectory.
>
> The error that you are getting seems typical of running CMake
> in the Curves3DExtractor subdirectory instead of running it
> at the top level.
>
> The "ADD_GUI_EXECUTABLE" command is actually a CMake macro that
> is defined in the CMakeLists.txt file at the top directory of
> InsightApplications.
>
>
> Regards,
>
>
> Luis
>
>
> ------------------------------
> Xavier Mellado Esteban wrote:
> >
> > Hello:
> >
> > I am not sure but try to compile the "Auxiliary" folder and then try
> > to compile the example again. I think its needed to compile a connector
> > between FLTK, VTK before compile any GUI based application. And switch
> > to the latest version of CMake and ITK.
> >
> > Hope this helps you:
> > Xavi
> >
> > vijay kumar escribió:
> >
> >> Hi Everyone,
> >> I am trying to compile the Curves3DExtractor application. As indicated
> >> in GettingStarted-IV.pdf, I configured the paths to FLTK headers and
> >> libraries, but I still get the following compilation error: "Unknown
> >> CMake command "ADD_GUI_EXECUTABLE". I searched the archives, but
> >> didn't find a suitable answer. Can someone please advise me on this?
> >>
> >> The only change I made to the CMakeLists.txt file is to comment out
> >> the lines with
> >> "if (build_outside_insight_applications)" as I am building it within
> >> the applications directory.
> >>
> >> Thanks,
> >> Vijay
> >>
> >>
> ------------------------------------------------------------------------
> >> Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
> >> panel
> >>
> >> and lay it on us.
> >>
> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Insight-users mailing list
> >> Insight-users at itk.org
> >> http://www.itk.org/mailman/listinfo/insight-users
> >>
> >
> >
> >
>
>
> ------------------------------
> Be a better Heartthrob. Get better relationship answers
> <http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433>from
> someone who knows.
> Yahoo! Answers - Check it out.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070711/abf24c91/attachment.html
More information about the Insight-users
mailing list