Page 1 of 1

Unable to statically link in C++ Builder 2010

Posted: Tue 25 Feb 2014 11:17
by blogin
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?

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

Posted: Wed 26 Feb 2014 11:56
by AlexP
Hello,

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

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

Posted: Wed 26 Feb 2014 14:26
by blogin
Hi, my OS is Windows 7 64-bit.

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

Posted: Fri 28 Feb 2014 08:52
by blogin
I found, that exactly the same problem is on my second machine with Windows XP 32 bit onboard.

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

Posted: Tue 04 Mar 2014 08:20
by AlexP
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