13:29, EET
January 18, 2021
16:19, EET
December 21, 2011
You have to enable .NET 2.0 from the Windows Setup – it’s not installed by default on Windows 10.
https://www.google.com/search?q=.net+2.0+on+windows+10
(It’s required by the setup application only, but still)
10:02, EET
January 18, 2021
I’ve dowloaded and installed the last SDK version but I’ve still the same problem, this is the situation :
Windows10 x64
Embarcadero C++ Builder Version 26.0.xxx
Installed update Delphi 10.3 and C++ Builder 10.3 Update 3
Prosys Sentrol OPC UA & Classic SDK for Delphi version 7.2.0 Build 746 – evaluation edition
I can create and compile correctly a VCL application using Sentrol OPC Classic and Controls compoents
I cannot compile a project using the TUAClient, I’ve several unresolved linker error
some of them :
Checking project dependencies…
Compiling Project1.cbproj (Debug, Win32)
ilink32 command line
c:\program files (x86)\embarcadero\studio\20.0\bin\ilink32.exe -G8 -L.\Win32\Debug;”c:\program files (x86)\embarcadero\studio\20.0\lib\Win32\debug”;
“c:\program files (x86)\embarcadero\studio\20.0\lib\win32c
elease”;”c:\program files (x86)\embarcadero\studio\20.0\lib\win32c
elease\psdk”;
“C:\Program Files (x86)\ProsysOPC\Sentrol720DC103Eval\lib260”;C:\Users\Public\Documents\Embarcadero\Studio\20.0\DCP -j.\Win32\Debug;”c:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\debug”;”c:\program files (x86)\embarcadero\studio\20.0\lib\win32c
elease”;”c:\program files
(x86)\embarcadero\studio\20.0\lib\win32c
elease\psdk”;”C:\Program Files (x86)\ProsysOPC\Sentrol720DC103Eval\lib260″;
C:\Users\Public\Documents\Embarcadero\Studio\20.0\DCP -l.\Win32\Debug -v
-GA”C:\Users\ALESSA~1.CAR\AppData\Local\Temp\vfs982F.tmp”=”C:\Users\alessandro.carcano\Documents\Embarcadero\Studio\Projects\testVCLApplication\Unit1.dfm”
-aa -V5.0 -Tpe c0w32w rtl.bpi vcl.bpi vclx.bpi vclimg.bpi xmlrtl.bpi vclactnband.bpi dbrtl.bpi memmgr.lib sysinit.obj .\Win32\Debug\Project1.obj
.\Win32\Debug\Unit1.obj , .\Win32\Debug\Project1.exe , .\Win32\Debug\Project1.map , import32.lib cp32mti.lib , , Project1.res
[ilink32 Error] Error: Unresolved external ‘_OpcUa_Trace_Clear@0’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.OBJ
[ilink32 Error] Error: Unresolved external ‘_OpcUa_P_Set_Memory_Functions@12’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.OBJ
[ilink32 Error] Error: Unresolved external ‘_OpcUa_ProxyStub_Clear@0’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.OBJ
[ilink32 Error] Error: Unresolved external ‘_OpcUa_P_Clean@4’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.OBJ
[ilink32 Error] Error: Unresolved external ‘_OpcUa_P_Initialize@4’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.OBJ
[ilink32 Error] Error: Unresolved external ‘_OpcUa_ProxyStub_Initialize@8’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.OBJ
[ilink32 Error] Error: Unresolved external ‘_OpcUa_Trace_Initialize@0’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Initialize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Clear’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_GetSize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Encode’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Decode’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_Initialize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_Clear’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_GetSize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL720DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
…
…
Thanks
12:28, EET
December 21, 2011
You will need to link the project with the OPC UA and OpenSSL libraries that are in the lib260 folder under the installation.
In the sample projects, we are using the following pragma definitions to define the required libraries (for C++ Builder 10.3):
#pragma comment(lib, “libeay32.lib”)
#pragma comment(lib, “uastack_32.lib”)
#pragma comment(lib, “SentrolBase260.lib”)
#pragma comment(lib, “SentrolStd260.lib”)
#pragma comment(lib, “ProsysOPC.UaClient260.lib”)
#pragma comment(lib, “ProsysOPC.UaServer260.lib”) // for the server
This works, if the Sentrol lib is in the Library Path (should be added by the installer)
but you should be able to just include them in the project as well.
Most Users Ever Online: 1919
Currently Online:
21 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 749
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
scvchad954, misty3446453365, KelsonzFu, Kelsonz, lienbelisario, erick34s63346, Kaitlyntvsl, lonaerskine7, KTP21ideft, GeorgecotagModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1