PRB: Include Files and/or Libraries Not Found

ID Number: Q71622

3.00

MS-DOS

Summary:

SYMPTOMS

During the process of building a Windows application with the tools

in the Windows Software Development Kit (SDK), the C compiler or

linker reports that various files are not found.

CAUSE

The INCLUDE and/or LIB DOS environment variable contains spaces or

is not set properly.

RESOLUTION

Modify the AUTOEXEC.BAT file to remove the spaces from the INCLUDE

and LIB DOS environment variables. Verify the directories to which

these variables point.

More Information:

The following are examples of incorrect lines to set the environment

followed by correct lines:

Incorrect

---------

SET LIB = c:\windev\lib

SET LIB=c:\windev\lib; c:\c600\lib

SET INCLUDE= c:\windev\include

Correct

-------

SET LIB=c:\windev\lib;c:\c600\lib

SET INCLUDE=c:\windev\include;c:\c600\include