The following error is displayed when executing the CA Gen mkdbs.bat batch file to rebuild the DLL for Oracle supported by the Windows server application or block mode application.
Example:
For Oracle11:
LINK: fatal error LNK1181: Unable to open input file 'orasql11.lib'.
For Oracle12:
LINK: fatal error LNK1181: Unable to open input file 'orasql12.lib'.
Release : r8.5, r8.6
Component : CA Gen Run Time
This error occurs because %ORACLE_HOME%\precomp\lib is not specified in the environment variable LIB. When executing mkdbs.bat,%ORACLE_HOME%\precomp\lib must be specified in the environment variable LIB. This error occurs regardless of the Oracle version.
If the environment variable LIB is specified, the build will end normally, but the following warning messages might be displayed.
tioraddl.c(480): warning C4267: '=': conversion from 'size_t' to 'unsigned short', possible loss of data
tioraddl.c(487): warning C4267: '=': conversion from 'size_t' to 'unsigned short', possible loss of data
tioraddl.c(543): warning C4267: '=': conversion from 'size_t' to 'unsigned short', possible loss of data
...
tirora.c(306): warning C4273: 'getenv': inconsistent dll linkage
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\
This warning messages are displayed regardless of the Visual Studio version. (The Visual Studio installation directory displayed may change depending on the environment.)
The warning messages are also not dependent on Oracle version.
You can safely ignore all the warning messages.