mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
Updated docos for FL_DLL usage.
git-svn-id: file:///fltk/svn/fltk/trunk@306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -157,7 +157,7 @@ This will build the library, FLUID tool, and all of the test programs.
|
|||||||
will copy the "fluid" executable to "bindir", the header files to
|
will copy the "fluid" executable to "bindir", the header files to
|
||||||
"includedir", and the library files to "libdir". </P>
|
"includedir", and the library files to "libdir". </P>
|
||||||
<H2>Building FLTK Under Microsoft Windows</H2>
|
<H2>Building FLTK Under Microsoft Windows</H2>
|
||||||
There are two ways to build FLTK under Microsoft Windows. The first
|
There are two ways to build FLTK under Microsoft Windows. The first
|
||||||
is to use the Visual C++ 5.0 project files under the "visualc"
|
is to use the Visual C++ 5.0 project files under the "visualc"
|
||||||
directory. Just open (or double-click on) the "fltk.dsw" file to get
|
directory. Just open (or double-click on) the "fltk.dsw" file to get
|
||||||
the whole shebang.
|
the whole shebang.
|
||||||
@@ -171,6 +171,14 @@ copy makefiles\Makefile.<env> Makefile
|
|||||||
make
|
make
|
||||||
</PRE>
|
</PRE>
|
||||||
</UL>
|
</UL>
|
||||||
|
<H3>Using the Visual C++ DLL Library</H3>
|
||||||
|
The "fltkdll.dsp" project file builds a DLL-version of the FLTK
|
||||||
|
library. Because of name mangling differences between PC compilers (even
|
||||||
|
between different versions of Visual C++!) you can only use the DLL that
|
||||||
|
is generated with the same version compiler that you built it with.
|
||||||
|
<P>When compiling an application or DLL that uses the FLTK DLL, you will need
|
||||||
|
to define the <tt>FL_DLL</tt> preprocessor symbol to get the correct linkage
|
||||||
|
commands embedded within the FLTK header files.
|
||||||
<H2>Building FLTK Under OS/2</H2>
|
<H2>Building FLTK Under OS/2</H2>
|
||||||
The current OS/2 build requires XFree86 for OS/2 to work. A native
|
The current OS/2 build requires XFree86 for OS/2 to work. A native
|
||||||
Presentation Manager version has not been implemented yet (volunteers
|
Presentation Manager version has not been implemented yet (volunteers
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<HEAD><META CONTENT="Written by Michael Sweet, Craig P. Earls, and Bill Spitzak" NAME=Author><META CONTENT="Copyright 1998-1999 by Bill Spitzak and Others."
|
<HEAD><META CONTENT="Written by Michael Sweet, Craig P. Earls, and Bill Spitzak" NAME=Author><META CONTENT="Copyright 1998-1999 by Bill Spitzak and Others."
|
||||||
NAME=Copyright><META CONTENT="Revision 4" NAME=DocNumber>
|
NAME=Copyright><META CONTENT="Revision 5" NAME=DocNumber>
|
||||||
<TITLE>FLTK 1.0 Programming Manual</TITLE>
|
<TITLE>FLTK 1.0 Programming Manual</TITLE>
|
||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY>
|
<BODY>
|
||||||
|
|||||||
Reference in New Issue
Block a user