[IGSTK-Users] Re: IGSTK-Users Digest, Vol 15, Issue 20

somayeh khademi khademi.somayeh63 at gmail.com
Fri Aug 31 05:04:27 EDT 2007


Hello,

thanks for your answer,

I attache the cmakelist and cmackcache of IGSTK and helloworld that I used.
(I download igstk2.0.1 and I try to run HelloWorld in example folder of
igstk2.0.1)

please abserve them and tell me why I had this problem?

thanks for your help.



On 8/30/07, igstk-users-request at public.kitware.com <
igstk-users-request at public.kitware.com> wrote:
>
> Send IGSTK-Users mailing list submissions to
>        igstk-users at public.kitware.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
> or, via email, send a message with subject or body 'help' to
>        igstk-users-request at public.kitware.com
>
> You can reach the person managing the list at
>        igstk-users-owner at public.kitware.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of IGSTK-Users digest..."
>
>
> Today's Topics:
>
>   1. Re: please help me about running application problem (Luis Ibanez)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 30 Aug 2007 11:20:52 -0400
> From: Luis Ibanez <luis.ibanez at kitware.com>
> Subject: Re: [IGSTK-Users] please help me about running application
>        problem
> To: somayeh khademi <khademi.somayeh63 at gmail.com>
> Cc: igstk-users at public.kitware.com
> Message-ID: <46D6E054.6090504 at kitware.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> Hi Somayeh,
>
> 1) Writing a HelloWorld.cpp and its associated CMakeLists.txt
>    file is the *minimum* that you need in order to create an
>    application based on IGSTK.
>
>    Please take a look at the IGSTK book:
>
>        http://www.igstk.org/papers/IGSTKTheBook.pdf
>
>    in pdf-page 43-48.
>
>    Creating .fl files is only needed if you want to make
>    a nicer graphical user interface.
>
>    If you are not familiar with FLTK, I will suggest you
>    to first look at some of the FLTK tutorials available
>    on the Web.
>
> 2) The procedure that you describe for running your application
>    is correct. You need to:
>
>     a) Write the CMakeLists.txt file
>     b) Write the code in a .cpp file
>     c) Configure with CMake
>     d) Open the .sln file with Visual Studio
>     e) Build the project (compile and link)
>     f) Use F5 (if debugging) or
>        Ctrl+F5 for just running or
>        with Explorer go to the binary directory
>        and double click on the .exe file.
>
>
>     You shouldn't have to put your application inside the
>     Examples directory of IGSTK.
>
>     Please read the instructions of the IGSTK Book.
>
>
> 3) According to the error message that you posted, you
>    clearly have missed to provide the location of
>    the "FLUID" executable.
>
>    Can you please post to the mailing list the
>    CMakeLists.txt file that you are using ?
>
>
>
>
>   Regards,
>
>
>
>      Luis
>
>
>
>
> =========================
> somayeh khademi wrote:
> > Hello,
> >
> >
> > I want :
> >
> >
> >
> > 1)       make an application myself,
> >
> > 2)       config, build , and run my application .
> >
> >
> >
> > for obtaining above items, I want to know two things:
> >
> >
> >
> > 1) I think for building an application ,it's necessary that I write a
> > main application with igstk component,( such as HelloWorld.cpp ),and
> > what's more I need to write .fl and cmakelists file .Is it true?
> >
> > Is it necessary to write more files?
> >
> > How can I understand that what things I must write in .fl and cmakelists
> > file?I there any refrence for this?
> >
> >
> >
> > 2) suppose I wrote my application and now I want run it . I think that
> > for running my application, I must configure it and after the .sln file
> > was created , build it and after compiling ,select myapplication and
> > then hit F5 to run it. Is it true?(I think if I put my application in
> > example folder of igstk directory and then reconfigure and rebuild igstk
> > ,myapplication can be run without problem,but I don't want to rebuild
> > igstk again.Is there any way to do it?)
> >
> > I tried to doing them with the application written by igstk team, but I
> > had error that I attached it .why?
> >
> > I can run  the application in example folder when build them with IGSTK
> > and I can see GUI of the application ,so I think there isn`t any problem
> > in path of fluid.exe ,and I checked the cmakecache file in igstl
> > directory,the path was set correctly:
> >
> >
> (FLTK_FLUID_EXECUTABLE:FILEPATH=E:/somin/FLTK/binary/bin/$(OutDir)/fluid.exe).
> >
> > and .exe file of the applications exists in IGSTK/binary/bin/debug.
> >
> > And I can run them with selecting the application in the project window
> > on the left side of the IDE. But if I want configure the apllication(for
> > example:HelloWorld) without rebuilding igstk,I had error,Why?
> >
> >
> >
> > Thanks a lot for  future help.
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > IGSTK-Users mailing list
> > IGSTK-Users at public.kitware.com
> > http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>
>
> ------------------------------
>
> _______________________________________________
> IGSTK-Users mailing list
> IGSTK-Users at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>
> End of IGSTK-Users Digest, Vol 15, Issue 20
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20070831/e3910871/attachment-0002.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeCache(in igstk binary).txt
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20070831/e3910871/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists(in igstk2.0.1).txt
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20070831/e3910871/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists(in example dir in igstk).txt
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20070831/e3910871/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists(in helloworld dir).txt
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20070831/e3910871/attachment-0003.txt>


More information about the IGSTK-Users mailing list