From e07da88179cf18b98fd68a5b6515955d87729b6b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 24 Mar 2002 17:26:00 +0000 Subject: Doco updates for 1.1. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/basics.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'documentation/basics.html') diff --git a/documentation/basics.html b/documentation/basics.html index bf6e57da4..a92f67f75 100644 --- a/documentation/basics.html +++ b/documentation/basics.html @@ -1,7 +1,7 @@ -

2 - FLTK Basics

+

2 - FLTK Basics

This chapter teaches you the basics of compiling programs that use FLTK.

@@ -37,13 +37,13 @@ int main(int argc, char **argv) { window:

and a box with the "Hello, World!" string in it:

Next, we set the type of box and the size, font, and style of the label:

@@ -216,13 +216,22 @@ CC ... -L/usr/local/lib -lfltk -lXext -lX11 -lm gcc ... -L/usr/local/lib -lfltk -lXext -lX11 -lm -

The fltk-config script included with FLTK can be +

As before, the fltk-config script included with FLTK can be used to get the options that are required by your linker:

+

Finally, you can use the fltk-config script to +compile a single source file as a FLTK program: + +

+ +

This will create an executable named filename. +

Compiling Programs with Microsoft Visual C++

In Visual C++ you will need to tell the compiler where to -- cgit v1.2.3