Unable to statically link in C++ Builder 2010

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
blogin
Posts: 6
Joined: Tue 25 Feb 2014 11:01

Unable to statically link in C++ Builder 2010

Post by blogin » Tue 25 Feb 2014 11:17

Hello, I've got problem with project static linking when using various UniDAC providers (PostgreSQL, MySQL, Oracle) and C++ Builder 2010.

Steps:
1. Create VCL Forms app
2. Put TUniConnection and TOracleUniProvider on the main form
3. In the project's properties uncheck "Build with runtime packages" option
4. Build the project

The following error occurs:
[ilink32 Error] Fatal: Unable to open file 'ORAPROVIDER140.OBJ'

I'm using the latest version of UniDac (5.2.6).
Is there any way to succesfull build with the static linking option on?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Unable to statically link in C++ Builder 2010

Post by AlexP » Wed 26 Feb 2014 11:56

Hello,

Please specify the OS, on which the problem occurs (version, bitness).

blogin
Posts: 6
Joined: Tue 25 Feb 2014 11:01

Re: Unable to statically link in C++ Builder 2010

Post by blogin » Wed 26 Feb 2014 14:26

Hi, my OS is Windows 7 64-bit.

blogin
Posts: 6
Joined: Tue 25 Feb 2014 11:01

Re: Unable to statically link in C++ Builder 2010

Post by blogin » Fri 28 Feb 2014 08:52

I found, that exactly the same problem is on my second machine with Windows XP 32 bit onboard.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Unable to statically link in C++ Builder 2010

Post by AlexP » Tue 04 Mar 2014 08:20

We reproduced the problem only on a 64-bit platform, and it's not reproduced on a 32-bit platform. We are investigating the reasons of such behavior

Post Reply