Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: ilink32Error:Unresolved external *** referenced from *VCL.LIB|Vcl.Controls


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Feb 17, 2015 6:46 AM Last Post By: Fabio Rizzato
Fabio Rizzato

Posts: 2
Registered: 11/10/13
ilink32Error:Unresolved external *** referenced from *VCL.LIB|Vcl.Controls  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 16, 2015 9:13 AM
Hi everybody,
I'm working with XE5 in order to build a VCL application (I use TMS and SiLang).
Today I needed to test my application on a new machine, so I set the Project Properties "Link with runtime packages" and "Link with dynamic RTL" to false.
It used to build correctly since I applied this modification today.
"In the past" I did the same thing with other projects without any problem, but this time, when compiling without runtime packages, get the following error:

ilink32 command line
c:\program files (x86)\embarcadero\rad studio\12.0\bin\ilink32.exe -L.\Win32\Debug;"c:\program files (x86)\embarcadero\rad
studio\12.0\lib\Win32\debug";"C:\Users\UserName\Documents\RAD Studio\Projects\provaGiotto\libdnpstack\ports\bcc\debug";
"C:\Users\UserName\Documents\RAD Studio\Projects\provaGiotto";"C:\Users\UserName\Documents\RAD
Studio\Projects\provaGiotto\libdnpstack\ports\bcc\release";"C:\Users\UserName\Documents\RAD
Studio\Projects\provaGiotto\libdnpstack\ports\bcc\debug";C:\Borland\BCC55\Lib;"C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\lib\win32\release";
libdnpstack\ports\bcc;libdnpstack\include\dnpstack;provaGiotto;C:\tpapro_5.00\packages\D2010;"c:\program files (x86)\embarcadero\rad
studio\12.0\lib\win32\release";"c:\program files (x86)\embarcadero\rad studio\12.0\lib\win32\release\psdk";"C:\Program Files
(x86)\Raize\CS5\Lib\RS-XE5\Win32";"C:\Users\UserName\Documents\tmssoftware\TMS Component Pack";"C:\Users\UserName\Documents\tmssoftware\TMS
Component Pack\BuilderXE5";"C:\Users\UserName\Documents\tmssoftware\TMS Component Pack\xlsAdapter";C:\tpapro_5.00\run;"C:\Program Files
(x86)\FastReports\LibD19";"C:\Program Files (x86)\SiComponents\TsiLang\Units\ERS XE5\Win32";"C:\Program Files (x86)\SiComponents\TsiLang\Units\ERS
XE5\Win64";"C:\Program Files (x86)\Devart\Dbx\MySql\Lib\Delphi19\Win32";"C:\Users\Public\Documents\RAD Studio\12.0\DCP" -j.\Win32\Debug;"c:\program
files (x86)\embarcadero\rad studio\12.0\lib\Win32\debug";"C:\Users\UserName\Documents\RAD
Studio\Projects\provaGiotto\libdnpstack\ports\bcc\debug";"C:\Users\UserName\Documents\RAD Studio\Projects\provaGiotto";
"C:\Users\UserName\Documents\RAD Studio\Projects\provaGiotto\libdnpstack\ports\bcc\release";"C:\Users\UserName\Documents\RAD
Studio\Projects\provaGiotto\libdnpstack\ports\bcc\debug";C:\Borland\BCC55\Lib;"C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\lib\win32\release";
libdnpstack\ports\bcc;libdnpstack\include\dnpstack;provaGiotto;C:\tpapro_5.00\packages\D2010;"c:\program files (x86)\embarcadero\rad
studio\12.0\lib\win32\release";"c:\program files (x86)\embarcadero\rad studio\12.0\lib\win32\release\psdk";"C:\Program Files
(x86)\Raize\CS5\Lib\RS-XE5\Win32";"C:\Users\UserName\Documents\tmssoftware\TMS Component Pack";"C:\Users\UserName\Documents\tmssoftware\TMS
Component Pack\BuilderXE5";"C:\Users\UserName\Documents\tmssoftware\TMS Component Pack\xlsAdapter";C:\tpapro_5.00\run;"C:\Program Files
(x86)\FastReports\LibD19";"C:\Program Files (x86)\SiComponents\TsiLang\Units\ERS XE5\Win32";"C:\Program Files (x86)\SiComponents\TsiLang\Units\ERS
XE5\Win64";"C:\Program Files (x86)\Devart\Dbx\MySql\Lib\Delphi19\Win32";"C:\Users\Public\Documents\RAD Studio\12.0\DCP" -l.\Win32\Debug -v
-GA"C:\Users\FABIO~1.RIZ\AppData\Local\Temp\vfs3AAD.tmp"="C:\Users\UserName\Documents\RAD Studio\Projects\provaGiotto\MainForm.dfm" -aa -V5.0
-G8 -Tpe c0w32w memmgr.lib sysinit.obj .\Win32\Debug\Giotto.obj .\Win32\Debug\ChooseReagent.obj .\Win32\Debug\CommForm.obj
.\Win32\Debug\CommManager.obj .\Win32\Debug\CommonData.obj .\Win32\Debug\DataPool.obj .\Win32\Debug\DiaConfirm.obj .\Win32\Debug\DiaDialog.obj
.\Win32\Debug\DiaKeyboard.obj .\Win32\Debug\EditForm.obj .\Win32\Debug\MainForm.obj .\Win32\Debug\NumPadForm.obj .\Win32\Debug\PlanPreview.obj
.\Win32\Debug\ProtocolScheduler.obj .\Win32\Debug\SlotReagents.obj .\Win32\Debug\SpinTime.obj .\Win32\Debug\Staining.obj , .\Win32\Debug\Giotto.exe ,
.\Win32\Debug\Giotto.map , rtl.lib vcl.lib tmsexdXE5.lib DbxCommonDriver.lib dbrtl.lib tmsdXE5.lib adortl.lib vclx.lib xmlrtl.lib vclactnband.lib
vclimg.lib vcldb.lib VclSmp.lib FireDACCommonDriver.lib FireDACCommon.lib FireDAC.lib FireDACSqliteDriver.lib FireDACMySQLDriver.lib vclFireDAC.lib
Intraweb.lib inet.lib vcltouch.lib bindengine.lib bindcomp.lib bindcompvcl.lib import32.lib cp32mt.lib , , .\Win32\Debug\Giotto_resources.res
Giotto.res
[ilink32 Error] Error: Unresolved external 'GetNativeSystemInfo' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System.SysUtils
[ilink32 Error] Error: Unresolved external 'GetLogicalProcessorInformation' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System
[ilink32 Error] Error: Unresolved external 'LocaleNameToLCID' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System.SysUtils
[ilink32 Error] Error: Unresolved external 'GetTimeZoneInformationForYear' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System.DateUtils
[ilink32 Error] Error: Unresolved external 'RegDeleteKeyExW' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System.Win.Registry
[ilink32 Error] Error: Unresolved external 'GetSystemTimes' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System.Classes
[ilink32 Error] Error: Unresolved external 'AlphaBlend' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Graphics
[ilink32 Error] Error: Unresolved external 'GradientFill' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.GraphUtil
[ilink32 Error] Error: Unresolved external 'IsWow64Process' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Menus
[ilink32 Error] Error: Unresolved external 'PhysicalToLogicalPoint' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Controls
[ilink32 Error] Error: Unresolved external 'SetGestureConfig' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Controls
[ilink32 Error] Error: Unresolved external 'GetGestureInfo' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Controls
[ilink32 Error] Error: Unresolved external 'CloseGestureInfoHandle' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Controls
[ilink32 Error] Error: Unresolved external 'TransparentBlt' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Styles
[ilink32 Error] Error: Unable to perform link

I just spent all of my day trying to solve this, but I really cannot understand what is wrong with this configuration. Maybe I checked some wrong option? I can't figure out what could be a unique cause of the problem, unless a sort of configuration error.
I am using an extern library, but this does not use VCL controls.

Any suggestion, please?

Thanks

Fabio
Fabio Rizzato

Posts: 2
Registered: 11/10/13
Re: ilink32Error:Unresolved external *** referenced from *VCL.LIB|Vcl.Controls  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 17, 2015 6:46 AM   in response to: Fabio Rizzato in response to: Fabio Rizzato
Hi everybody again.
I finally solved my problem: this error was due to the coexistence of BCC5.5 and CppBuilder: VCL.lib was linked to older Sys libraries.

So I removed the options of my project referring to BCC5.5 library and now it links correctly.

I can give more explanation if required.

Bye

Fabio

Fabio Rizzato wrote:
Hi everybody,
I'm working with XE5 in order to build a VCL application (I use TMS and SiLang).
Today I needed to test my application on a new machine, so I set the Project Properties "Link with runtime packages" and "Link with dynamic RTL" to false.
It used to build correctly since I applied this modification today.
"In the past" I did the same thing with other projects without any problem, but this time, when compiling without runtime packages, get the following error:

ilink32 command line
c:\program files (x86)\embarcadero\rad studio\12.0\bin\ilink32.exe -L.\Win32\Debug;"c:\program files (x86)\embarcadero\rad
studio\12.0\lib\Win32\debug";"C:\Users\UserName\Documents\RAD Studio\Projects\provaGiotto\libdnpstack\ports\bcc\debug";
"C:\Users\UserName\Documents\RAD Studio\Projects\provaGiotto";"C:\Users\UserName\Documents\RAD
Studio\Projects\provaGiotto\libdnpstack\ports\bcc\release";"C:\Users\UserName\Documents\RAD
Studio\Projects\provaGiotto\libdnpstack\ports\bcc\debug";C:\Borland\BCC55\Lib;"C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\lib\win32\release";
libdnpstack\ports\bcc;libdnpstack\include\dnpstack;provaGiotto;C:\tpapro_5.00\packages\D2010;"c:\program files (x86)\embarcadero\rad
studio\12.0\lib\win32\release";"c:\program files (x86)\embarcadero\rad studio\12.0\lib\win32\release\psdk";"C:\Program Files
(x86)\Raize\CS5\Lib\RS-XE5\Win32";"C:\Users\UserName\Documents\tmssoftware\TMS Component Pack";"C:\Users\UserName\Documents\tmssoftware\TMS
Component Pack\BuilderXE5";"C:\Users\UserName\Documents\tmssoftware\TMS Component Pack\xlsAdapter";C:\tpapro_5.00\run;"C:\Program Files
(x86)\FastReports\LibD19";"C:\Program Files (x86)\SiComponents\TsiLang\Units\ERS XE5\Win32";"C:\Program Files (x86)\SiComponents\TsiLang\Units\ERS
XE5\Win64";"C:\Program Files (x86)\Devart\Dbx\MySql\Lib\Delphi19\Win32";"C:\Users\Public\Documents\RAD Studio\12.0\DCP" -j.\Win32\Debug;"c:\program
files (x86)\embarcadero\rad studio\12.0\lib\Win32\debug";"C:\Users\UserName\Documents\RAD
Studio\Projects\provaGiotto\libdnpstack\ports\bcc\debug";"C:\Users\UserName\Documents\RAD Studio\Projects\provaGiotto";
"C:\Users\UserName\Documents\RAD Studio\Projects\provaGiotto\libdnpstack\ports\bcc\release";"C:\Users\UserName\Documents\RAD
Studio\Projects\provaGiotto\libdnpstack\ports\bcc\debug";C:\Borland\BCC55\Lib;"C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\lib\win32\release";
libdnpstack\ports\bcc;libdnpstack\include\dnpstack;provaGiotto;C:\tpapro_5.00\packages\D2010;"c:\program files (x86)\embarcadero\rad
studio\12.0\lib\win32\release";"c:\program files (x86)\embarcadero\rad studio\12.0\lib\win32\release\psdk";"C:\Program Files
(x86)\Raize\CS5\Lib\RS-XE5\Win32";"C:\Users\UserName\Documents\tmssoftware\TMS Component Pack";"C:\Users\UserName\Documents\tmssoftware\TMS
Component Pack\BuilderXE5";"C:\Users\UserName\Documents\tmssoftware\TMS Component Pack\xlsAdapter";C:\tpapro_5.00\run;"C:\Program Files
(x86)\FastReports\LibD19";"C:\Program Files (x86)\SiComponents\TsiLang\Units\ERS XE5\Win32";"C:\Program Files (x86)\SiComponents\TsiLang\Units\ERS
XE5\Win64";"C:\Program Files (x86)\Devart\Dbx\MySql\Lib\Delphi19\Win32";"C:\Users\Public\Documents\RAD Studio\12.0\DCP" -l.\Win32\Debug -v
-GA"C:\Users\FABIO~1.RIZ\AppData\Local\Temp\vfs3AAD.tmp"="C:\Users\UserName\Documents\RAD Studio\Projects\provaGiotto\MainForm.dfm" -aa -V5.0
-G8 -Tpe c0w32w memmgr.lib sysinit.obj .\Win32\Debug\Giotto.obj .\Win32\Debug\ChooseReagent.obj .\Win32\Debug\CommForm.obj
.\Win32\Debug\CommManager.obj .\Win32\Debug\CommonData.obj .\Win32\Debug\DataPool.obj .\Win32\Debug\DiaConfirm.obj .\Win32\Debug\DiaDialog.obj
.\Win32\Debug\DiaKeyboard.obj .\Win32\Debug\EditForm.obj .\Win32\Debug\MainForm.obj .\Win32\Debug\NumPadForm.obj .\Win32\Debug\PlanPreview.obj
.\Win32\Debug\ProtocolScheduler.obj .\Win32\Debug\SlotReagents.obj .\Win32\Debug\SpinTime.obj .\Win32\Debug\Staining.obj , .\Win32\Debug\Giotto.exe ,
.\Win32\Debug\Giotto.map , rtl.lib vcl.lib tmsexdXE5.lib DbxCommonDriver.lib dbrtl.lib tmsdXE5.lib adortl.lib vclx.lib xmlrtl.lib vclactnband.lib
vclimg.lib vcldb.lib VclSmp.lib FireDACCommonDriver.lib FireDACCommon.lib FireDAC.lib FireDACSqliteDriver.lib FireDACMySQLDriver.lib vclFireDAC.lib
Intraweb.lib inet.lib vcltouch.lib bindengine.lib bindcomp.lib bindcompvcl.lib import32.lib cp32mt.lib , , .\Win32\Debug\Giotto_resources.res
Giotto.res
[ilink32 Error] Error: Unresolved external 'GetNativeSystemInfo' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System.SysUtils
[ilink32 Error] Error: Unresolved external 'GetLogicalProcessorInformation' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System
[ilink32 Error] Error: Unresolved external 'LocaleNameToLCID' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System.SysUtils
[ilink32 Error] Error: Unresolved external 'GetTimeZoneInformationForYear' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System.DateUtils
[ilink32 Error] Error: Unresolved external 'RegDeleteKeyExW' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System.Win.Registry
[ilink32 Error] Error: Unresolved external 'GetSystemTimes' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\RTL.LIB|System.Classes
[ilink32 Error] Error: Unresolved external 'AlphaBlend' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Graphics
[ilink32 Error] Error: Unresolved external 'GradientFill' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.GraphUtil
[ilink32 Error] Error: Unresolved external 'IsWow64Process' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Menus
[ilink32 Error] Error: Unresolved external 'PhysicalToLogicalPoint' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Controls
[ilink32 Error] Error: Unresolved external 'SetGestureConfig' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Controls
[ilink32 Error] Error: Unresolved external 'GetGestureInfo' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Controls
[ilink32 Error] Error: Unresolved external 'CloseGestureInfoHandle' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Controls
[ilink32 Error] Error: Unresolved external 'TransparentBlt' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\12.0\LIB\WIN32\DEBUG\VCL.LIB|Vcl.Styles
[ilink32 Error] Error: Unable to perform link

I just spent all of my day trying to solve this, but I really cannot understand what is wrong with this configuration. Maybe I checked some wrong option? I can't figure out what could be a unique cause of the problem, unless a sort of configuration error.
I am using an extern library, but this does not use VCL controls.

Any suggestion, please?

Thanks

Fabio
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02