[Insight-users] Problems with FLTK : bulding with Borland compiler
under Cygwin
Luis Ibanez
luis.ibanez at kitware.com
Sat Aug 7 21:53:38 EDT 2004
Hi Pandu,
Google has all the answers :-)
http://www.fltk.org/links.php
Regards,
Luis
-----------------
> *fltk makefiles for Borland C++ v5.5
> <http://www.fltk.org/links.php?V98>* in Root
> <http://www.fltk.org/links.php?L+P0>/Web Pages
> <http://www.fltk.org/links.php?L+P2>
> The combination of Borland's freely available command line C++
> compiler with the FLTK GUI toolkit (LGPL) is an excellent way to
> develop software for the Windows platform that is also easily portable
> to Unix or Linux. Unfortunately FLTK does not ship with makefiles for
> Borland, so we decided to translate the unix makefiles for this
> compiler. Inside the archive you can find a readme file that explains
> how to adapt them to your system.
-----------------
>BUILDING FLTK WITH BORLAND C++
>
> To build the FLTK toolkit using Borland C++, you must first make
> sure that you have applied all of the relevant patches available
> from Borland's web site (www.borland.com). FLTK will not compile
> without the patches. For BC5 version 5.0, you must at least
> update to 5.0B.
>
> To compile the toolkit, open bc5/fltk.ide in Borland C++ and
> select "Build All" from the "Project" menu.
>
> This has been tested under Windows only, it is unknown how to
> compile fltk with the Linux version of BC++.
>
>
===============================================================
---------------------------
Pandu Jugnu wrote:
>Hi Luis,
>
>I need to run certain Insight Applications hence need
>to configure and build FLTK.
>I tried using the following command in cygwin:
>sh configure
>--prefix=C:/cygwin/home/Aragon/fltk-1.1.5rc2 and it
>gave me the following errors:
>
>checking for gcc... no
>checking for cc... no
>checking for cc... no
>checking for c1... no
>configure error: no acceptable C compiler founf in the
>$Path
>
>I have gcc and cc compilers on my machine and i have
>set the path under Enviornmental Variable, and under
>Path as C:/usr/bin, where these are located.
>But still keep getting these errors.
>
>Do u know how to overcome this error?
>Thanks for ur help.
>
>Pandu
>--- Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
>
>
>>Hi Pandu,
>>
>>Thanks for your clarification.
>>
>>FTLK *does not* uses CMake for configuration yet.
>>
>>They still live in Darkness and use "configure"
>>scripts
>>and distribute manually pre-configured VisualStudio
>>project files.
>>
>>Please simply follow the FLTK instruction for
>>building
>>their library. Once you build FLTK, you can proceed
>>to use CMake in order to configure
>>InsightApplications.
>>
>>NOTE that you *don't* need FLTK for building ITK.
>>
>>FLTK is only used by some of the demo applications
>>in the InsightApplications module.
>>
>>
>> Regards,
>>
>>
>> Luis
>>
>>
>>------------------------------
>>Pandu Jugnu wrote:
>>
>>
>>
>>>Hi Luis,
>>>
>>>Thanks for your quick response.
>>>I did try using CMAKE for window to build it.
>>>
>>>But it gave me the error that my source directory
>>>"C:/fltk-1.1.5rc2 does not appear to have
>>>CMakeLists.txt"
>>>
>>>how can i overcome this?
>>>
>>>Thanks
>>>Pandu
>>>
>>>
>>>--- Luis Ibanez <luis.ibanez at kitware.com> wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Hi Pandu,
>>>>
>>>>If you want to use the Borland compiler you must
>>>>configure your project using the Windows version
>>>>of CMake, not the Cygwin version of CMake.
>>>>
>>>>The Cygwin version of CMake assumes that you are
>>>>going to use the GCC compiler that comes with
>>>>Cygwin.
>>>>
>>>>Just use the Windows version of CMake and make
>>>>
>>>>
>>sure
>>
>>
>>>>that
>>>>you select the Borland compiler in the upper right
>>>>corner box
>>>>of CMake's GUI.
>>>>
>>>>
>>>>Regards,
>>>>
>>>>
>>>> Luis
>>>>
>>>>
>>>>----------------------
>>>>Pandu Jugnu wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>hello
>>>>>
>>>>>I am trying to configure FLTK and i am facing
>>>>>
>>>>>
>>>>>
>>>>>
>>>>problems
>>>>
>>>>
>>>>
>>>>
>>>>>while doing it.
>>>>>I using cygwin to configure it and it keeps
>>>>>
>>>>>
>>giving
>>
>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>me
>>>>
>>>>
>>>>
>>>>
>>>>>the error that I dont have any c, c++, gcc
>>>>>
>>>>>
>>compiler
>>
>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>in
>>>>
>>>>
>>>>
>>>>
>>>>>my path.
>>>>>I have configured InsightToolkit-1.6.0 before
>>>>>
>>>>>
>>this
>>
>>
>>>>>using CMAke to configure and generate and finally
>>>>>
>>>>>
>>>>>
>>>>>
>>>>used
>>>>
>>>>
>>>>
>>>>
>>>>>cygwin to run the make.
>>>>>I am using Borland as my C/C++ compiler.
>>>>>I have read the tutorial on using FLTK with ITK
>>>>>
>>>>>
>>and
>>
>>
>>>>>tried the export option in cygwin but it didnt
>>>>>
>>>>>
>>>>>
>>>>>
>>>>help.
>>>>
>>>>
>>>>
>>>>
>>>>>Can anyone tell me what am i doing wrong.
>>>>>Also how can i configure FLTK using CMAKE.
>>>>>
>>>>>Thanks
>>>>>Pandu
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>__________________________________
>>>>>Do you Yahoo!?
>>>>>New and Improved Yahoo! Mail - 100MB free
>>>>>
>>>>>
>>storage!
>>
>>
>>>>>http://promotions.yahoo.com/new_mail
>>>>>_______________________________________________
>>>>>Insight-users mailing list
>>>>>Insight-users at itk.org
>>>>>http://www.itk.org/mailman/listinfo/insight-users
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>Y! Messenger - Communicate in real time. Download
>>>
>>>
>>now.
>>
>>
>>>http://messenger.yahoo.com
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>New and Improved Yahoo! Mail - 100MB free storage!
>http://promotions.yahoo.com/new_mail
>
>
>
More information about the Insight-users
mailing list