Unresolved symbol errors after upgrading SDK

I have a C++ EMA project built with Visual Studio 2017 and the Elektron SDK v1.3.1 (Elektron-SDK-1.3.1.L1.win.rrg.zip) It builds and executes and has been in use for over a year. I recently tried to rebuild it using the latest SDK (Real-Time-SDK-2.0.1.L1.win.zip).
After changing the namespace from thompsonreuters:: to refinitv:: it compiles with no errors but the link step generates 148 unresolved symbol errors, all referenced by modules in emalib.lib. Most of the unresolved symbols begin with 'rssl' but there are some that begin with 'xml'. With v1.3.1 I was linking with three libraries: libema.lib, librssl.lib, and librsslVA.lilb. In the new SDK there is only one library, emalib.lib.Could I be missing a library?
NOTE: The project uses static linking and source file that references EMA classes and functions defines __EMA_STATIC_BUILD__
I don't remember where I read about them, but for V1.3.1 I defined two environment variables, EMAInstall and ElektronSDKInstallPath. Do those need to be updated or replaced?
Best Answer
-
It requires the following libraries.
C:\...\Cpp-C\Ema\Libs\WIN_64_VS141\Release_MD\libema.lib
C:\...\Cpp-C\Eta\Libs\WIN_64_VS141\Release_MD\librsslVA.lib
C:\...\Cpp-C\Eta\Libs\WIN_64_VS141\Release_MD\librssl.lib
C:\...\installdb\WIN_64_VS141\lib\libxml2_a.libReal-Time-SDK contains both EMA and ETA libraries. The librsslVA.lib and librssl.lib libraries should be in the Eta folder.
0
Answers
-
Thank you for pointing out that the librssl and librsslVA are in the ETA, not the EMA, folder. It was the same way in the old project as well so that was my bad. Thanks. Now it fails with just 3 unresolved symbol errors, as shown below. (ElekApiLib is the name of a project library.)
2>ElekApiLib.lib(rsslSocketTransportImpl.obj) : error LNK2001: unresolved external symbol GetTcpTable
2>ElekApiLib.lib(rsslSocketTransportImpl.obj) : error LNK2001: unresolved external symbol GetPerTcpConnectionEStats
2>ElekApiLib.lib(rsslSocketTransportImpl.obj) : error LNK2001: unresolved external symbol SetPerTcpConnectionEStats
Note that none these functions are called from with the ElekApiLib source code. I presume they are called from one of the SDK libraries. Any ideas?
0 -
I found these functions in the Windows IPHLPAPI.LIB. Now that I have added that library it builds. I will mark the first answer as the resolution.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 48 Data Fusion
- 34 Data Model Discovery
- 689 Datastream
- 1.4K DSS
- 627 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 24 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 278 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 706 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 96 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛