Settings needed for using Horstmann's CCC
Library or the Rowan Graphics Library in Microsoft Visual C++ projects:
Note: If you have wierd problems linking, messages like
"can't find iostream.h" etc., follow the instructions on this sheet and
they may go away.
Note 2: the more concise form of these instructions is still available.
READ AND FOLLOW THESE INSTRUCTIONS VERY CAREFULLY!!!
1) Set up the link libraries
-
From the Build menu choose Settings.
This will pop up a "Project Settings"
window.
-
Find the Link tab in the Project
Settings window and click on it. (If the Link
tab isn’t immediately visible, click on the right-pointing triangle
near the top right corner of the window to scroll the tabs.)
-
Click in the text box below "Object/library modules",
and go to the end of the list by pushing the "End" key on your keyboard
-
Add the following to the end of the list in the text box below "Object/library
modules", making sure that you put a space before you type the following:
openGL32.lib glu32.lib glaux.lib booklib.lib
Click OK in the
Project Settings window.
2) Tell the system where the include files are stored
-
From the Tools menu, choose Options. This will bring up the Options window.
-
Click on the tab called Directories
-
Under the phrase "Show directories for"
be sure that the words "include files"
appears. If it says something different, click on the downward triangle
and select "include files".
-
You will see one of three things in the box under the word "Directories"
( i ) Multiple lines of text.
-
Single click on each line one at a time and then press the delete key on
your keyboard.The text should be deleted.
-
Click on the top line and a flashing cursor should appear (and a box with
3 dots in the corner). Type the following:
Y:\localapp\win\msdev\include
-
Click on the OK button
( ii ) No text at all
-
Click on the top line and a flashing cursor should appear (and a box with
3 dots in the corner). Type the following:
Y:\localapp\win\msdev\include
-
Click on the OK button
( iii ) A single line that says: Y:\localapp\win\msdev\lib
-
If you see this, click the OK button and go on to step 3 below.
3) Tell the system where the library files are stored
From the Tools menu, choose Options. This will bring up the Options window.
Click on the tab called Directories
Under the phrase "Show directories for"
be sure that the words "library files"
appears. If it says something different, click on the downward triangle
and select "library files".
You will see one of three things in the box under the word "Directories"
( i ) A single line that says: Y:\localapp\win\msdev\include
-
If you see this, just click the OK button. You are now finished with your
setup.
( ii ) Multiple lines of text.
-
Single click on each line one at a time and then press the delete key on
your keyboard.The text should be deleted.
-
Click on the top line and a flashing cursor should appear (and a box with
3 dots in the corner). Type the following:
Y:\localapp\win\msdev\lib
-
Click on the OK button. You are now finished
with your setup.
( iii ) No text at all
-
Click on the top line and a flashing cursor should appear (and a box with
3 dots in the corner). Type the following:
Y:\localapp\win\msdev\lib
-
Click on the OK button. You are now finished
with your setup.