My Oracle Support Banner

LNK2019 Link Error Unresolved External Symbol _sqlcxt when Compiling on 64 bit Windows (Doc ID 790537.1)

Last updated on DECEMBER 31, 2019

Applies to:

Precompilers - Version 10.2.0.5 and later
Microsoft Windows x64 (64-bit)
***Checked for relevance on 21st Jan 2019***

Symptoms

Trying to link a file generated from the Pro*C Precompiler on a 64 bit Windows operating system with 64 bit Oracle client software installed may result in:

error LNK2019 unresolved external symbol _sqlcxt referenced in function ...
Fatal error LNK1120: 1 unresolved externals.

Changes

Behaviour may be noticed as a result of migrating to a 64 bit operating system, as the same code compiles without issue on a 32 bit operating system with 32 bit Oracle client software installed.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.