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