Updated Windows and IDE README files. This will hopefully
help to reduce the IDE confusion. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
c6f1a5ba5a
commit
48b45fce19
49
README.win32
49
README.win32
@ -1,6 +1,6 @@
|
||||
README.win32 - Building FLTK under Windows
|
||||
------------------------------------------
|
||||
Last Update: May 2007 for release 1.1.8
|
||||
Last Update: July 2010 for release 1.3.x
|
||||
|
||||
INTRODUCTION
|
||||
|
||||
@ -10,24 +10,30 @@ INTRODUCTION
|
||||
the GNU-like build configurations in the "makefiles"
|
||||
subdirectory.
|
||||
|
||||
FLTK 1.3 and later is officially supported on Windows
|
||||
(2000,) 2003, XP, and later. Older Windows versions are
|
||||
not officially supported, but may still work. The main
|
||||
reason is that the OS version needs to support UTF-8.
|
||||
FLTK 1.3 is known to work on Windows 7 and Vista.
|
||||
|
||||
FLTK currently supports the following development
|
||||
environments on the Windows platform:
|
||||
|
||||
- Microsoft Visual C++ 6.0, VC2005 and VC.NET using the
|
||||
supplied workspace and project files. Be sure to get
|
||||
your service packs!
|
||||
- Free Microsoft Visual C++ 2008 Express and Visual
|
||||
C++ 2010 Express using the supplied workspace and
|
||||
project files. Older and the commercial versions can
|
||||
be used as well, if they can open the project files.
|
||||
Be sure to get your service packs!
|
||||
|
||||
- Borland C++ Builder 5 and 6 using the supplied IDE
|
||||
files. These files are not as actively maintained as
|
||||
the VC and GNU versions, so may not work for you.
|
||||
The project files can be found in the ide/ directory.
|
||||
Please read ide/README.IDE for more info about this.
|
||||
|
||||
- Watcom. There is a partial solution for the Watcom
|
||||
toolchain. It is no longer actively maintained.
|
||||
- GNU toolsets (Cygwin or MinGW) hosted on Windows.
|
||||
|
||||
- GNU toolsets (Cygwin or MinGW) hosted on Windows
|
||||
9x/2000/NT/XP.
|
||||
- Watcom. There is a partial solution for the Watcom
|
||||
toolchain. It is no longer actively maintained.
|
||||
|
||||
This remainder of this document gives a brief overview of
|
||||
The remainder of this document gives a brief overview of
|
||||
compiling and using FLTK with the Cygwin and MinGW compiler
|
||||
toolkits. Both toolkits provide a build environment based
|
||||
around the GNU C/C++ compiler. Further information is
|
||||
@ -50,13 +56,18 @@ INTRODUCTION
|
||||
the Cygwin DLL (compiled and linked with the "-mno-cygwin"
|
||||
option) may be released under any license freely.
|
||||
|
||||
Note: Since December 2009, there is a new gcc 4.x compiler
|
||||
that doesn't support the -mno-cygwin option anymore. You
|
||||
must use the older gcc-3 compiler instead.
|
||||
|
||||
|
||||
The MinGW distribution (Minimalist GNU for Windows) provides
|
||||
a similar toolset but geared solely towards native Windows
|
||||
development without the Unix-like POSIX library. The lack of
|
||||
any libraries under the GPL or any other restrictive license
|
||||
means that programs built with the MinGW environment may
|
||||
always be released under any license freely. MinGW also
|
||||
supplies a Unix-like build environment for Windows,
|
||||
supplies a Unix-like build environment for Windows,
|
||||
including MSYS (a Bourne-compatible shell) and the standard
|
||||
Unix file utilities (ls, cat, grep, etc.)
|
||||
|
||||
@ -178,7 +189,7 @@ WHY DOES A CONSOLE WINDOW APPEAR WHEN I RUN MY PROGRAM
|
||||
(Note: A special case of this exists if running a MinGW
|
||||
application from the command line of an MSYS shell, when an
|
||||
application is able to write to stdout, even if compiled with
|
||||
"-mwindows".)
|
||||
"-mwindows". The same applies to Cygwin.)
|
||||
|
||||
|
||||
HOW DO I GET OPENGL TO WORK?
|
||||
@ -194,13 +205,3 @@ HOW DO I GET OPENGL TO WORK?
|
||||
|
||||
will change this to compile and link in OpenGL.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -3,21 +3,59 @@
|
||||
-------------------------------------------
|
||||
|
||||
As for today, FLTK 1.3 officially supports
|
||||
the following integrated environments (1) :
|
||||
the following integrated environments (1):
|
||||
|
||||
-------------------------------------------
|
||||
distrib subdir | supported products
|
||||
-------------------------------------------
|
||||
ide/vc2005 | Microsoft Visual C++ 2005, 2008 (2)
|
||||
ide/visualc | Microsoft Visual C++ 6, 2003 (3)
|
||||
ide/Xcode3.1 | Apple XCode 3.1
|
||||
------------------------------------------------------------------------
|
||||
distrib subdir | supported products
|
||||
------------------------------------------------------------------------
|
||||
ide/Visualc6 | Microsoft Visual C++ 6, 2008 Express (2)
|
||||
ide/vc2005 | Microsoft Visual C++ 2005, 2010 Express (3)
|
||||
ide/Xcode3 | Apple XCode 3.x
|
||||
|
||||
Notes :
|
||||
-------
|
||||
(1) For *nix platforms based on the autoconf/configure/make toolchain,
|
||||
simply run autoconf, then the configure script on the root dir.
|
||||
read the ./README file for more info.
|
||||
(2) When first using the project file (ide/vc2005/fltk.sln) with vc2008,
|
||||
you will be ask to convert the project for vs2008 use.
|
||||
(3) When first using the project file (ide/visualc/fltk.dsw) with vc2003,
|
||||
you will be ask to convert the project for vs2003 use.
|
||||
(2) When first using the project file (ide/VisualC6/fltk.dsw) with
|
||||
VC++ 2003 or VC++ 2008 Express, you will be asked to convert
|
||||
the project to the newer format.
|
||||
(3) When first using the project file (ide/vc2005/fltk.sln) with
|
||||
VC++ 2008 Express or later, you will be asked to convert
|
||||
the project to the newer format.
|
||||
|
||||
|
||||
Further notes about Microsoft IDE project files (July 2010):
|
||||
------------------------------------------------------------------------
|
||||
Starting with Visual C++ 2008 Express, Microsoft offer a free IDE and
|
||||
compiler that can be used to build FLTK. The newest version is
|
||||
Visual C++ 2010 Express. Both versions can be used, but see below for
|
||||
instructions.
|
||||
|
||||
The preferred and best maintained project files are those in the
|
||||
directory ide/VisualC6. Although the FLTK team currently doesn't
|
||||
have these old MS IDE versions available, this project (generated by
|
||||
FLTK's fluid software) ought to be up-to-date. This is not always
|
||||
true, however, if there are changes that affect the project, but we
|
||||
try to keep it always up-to-date.
|
||||
|
||||
The ide/VisualC6 project files can be used with Visual C++ 2008 Express
|
||||
by opening the fltk.dsw file and confirming to convert the project to
|
||||
the new format.
|
||||
|
||||
Unfortunately the ide/VisualC6 project files can't be converted with
|
||||
Visual C++ 2010 Express (at least not as easily - maybe there's a tool).
|
||||
We will update this if we find a way...
|
||||
|
||||
The ide/vc2005 project files can be used with Visual C++ 2010 Express
|
||||
by opening the fltk.sln file and confirming to convert the project to
|
||||
the new format. This project is currently maintained manually and may
|
||||
be less up-to-date and fail to build.
|
||||
It is known to work with subversion release 7667 (July 04, 2010).
|
||||
|
||||
Please note that FLTK 1.3 is work in progress. The subversion and
|
||||
snapshot files are not always guaranteed to work flawlessly.
|
||||
|
||||
You may also have success by generating your own project files with
|
||||
CMake (see files README.CMake* in the top level directory), but
|
||||
that's currently not actively maintained.
|
||||
|
Loading…
x
Reference in New Issue
Block a user