N. Troubleshooting Guide : Creating an Image of an Application : C Compiler (WIN32)
 
Share this page                  
C Compiler (WIN32)
If you cannot create an image of an application, check the following problems with your Microsoft Visual C++ compiler.
Working Files
The Microsoft Visual C++ compiler needs to create temporary files. Check to ensure that the file system is not full.
Consult your Microsoft Visual C++ compiler documentation to determine which directories to check and to ensure that the C++ compiler is installed properly.
Modifying Ingres Files
To create 4GL images or have interpreted 4GL call 3GL, modify several files contained in Ingres that assume:
II_SYSTEM=x:
where x >=c
Microsoft Visual C++ compiler is in the PATH
These files are listed below in the following table:
File(s)
Comments
abfdyn.opt and abflnk.opt
These files in ingres\files must be identical. They assume:
II_SYSTEM=x: where x is the current disk
IIibce.lib (Microsoft Runtime Library) is on the current disk in \msc\lib.
If you set II_SYSTEM=x, you must change all the \ingres\lib and \msc\lib entries to reflect the disk drive x that you specified. For example, if II_SYSTEM=c:, you change \ingres\lib entries to c:\ingres\lib.
compat.h and
oslhdr.h
These files in ingres\files assume that ingres\files is one of the directories in the environment variable INCLUDE=[directories].
utcom.def
This file in ingres\files assumes cl.exe (part of Microsoft C) is in the PATH. It also assumes ingres\bin is part of the PATH.
utlnk.def
This file in ingres\files assumes gluvii.exe is in the PATH. It also assumes that ingres\bin is part of the PATH. Add or remove options to gluvii.exe in the first line. For example:
GLUVII -STACK 0x7000 -SEL x10000 -DPMI -VERBOSE@
The period at the beginning of the first line must be present, and there must NOT be a period on the second or third line. The period indicates that the line is spawned directly rather than through command.com.
Add or remove additional options for gluvii.exe in the file ingres\files\utlnk.glu.
*.bat
These batch files in ingres\bin assume that ingres\bin is part of the PATH. To modify these batch files, remember that a DOS command line cannot be longer than 126 characters.