Sample Link error with libxml2.lib (not found)
I have downloaded the windows source and for example
and run
C:\Users\iliak\Elektron-SDK-1.5.0.L1.win.rrg>cmake CMakeLists.txt -G "Visual Studio 12 2013 Win64"
without errors.
in the first example from : https://developers.refinitiv.com/elektron/elektron-sdk-cc/learning
and tried to compile example 1, and received the following error
LINK : fatal error LNK1181: cannot open input file 'C:\Users\iliak\Elektron-SDK-1.5.0.L1.win.rrg\Cpp-C\Eta\Libs\WIN_64_VS120\Debug_MDd\libxml2.lib'
the file is missing? how can I build it or where can I download it?
Best Answer
-
It looks like the example you want to try is an external MRN example(EMA Tutorials\step5), correct? It's a separate package from the original package from ESDK devkit. The CMake command I mentioned in the first post is for building an example in the ESDK package.
Anyway, if you just want to build EMA MRN example, you can follow instruction from
Section to setup environment variable for the EMA Tutorial example.
and you need to download zlib from the external site for MRN example as described in the following link
It uses the lib to unpack MRN data to JSON message.
0
Answers
-
It looks like the project files from the example do not update to match with the structure of the new version of ESDK.
In ESDK version 1.5, it looks like the XML library has been moved to folder <Elektron-SDK-1.5.0.L1.win.rrg>\installdb\WIN_64_VS120\lib. So you might need to modify the link option in the project to a new path. Anyway I would recommend you to generate a makefile for all examples in ESDK using the instruction from
https://developers.refinitiv.com/elektron/elektron-sdk-cc/quick-start?content=42817&type=quick_start
And then, you can open the visual studio solution file from the example folder to see the setting.
0 -
i tried that, and then run the solution with around 250 project and build them (there were few warnings, but no errors)
then i open the tutorial step 1 that i downloaded , (i did not find match example in the large folder, we need to integrate to MRN so if you have a better example as part of the 250 projects that would be great)i Run:
cmake -HC:\Users\iliak\Elektron-SDK-1.5.0.L1.win.rrg\Elektron-SDK-1.5.0.L1.win.rrg -Bcmake_vs2013 -G "Visual Studio 12 2013 Win64"
and when i update the linkes (include dirs and libraries to the new generated folder at
C:\cmake_vs2013
i have another error, Ema.h does not exists (and i check there are no include dir inside Ema of the new generated folder (C:\cmake_vs2013)
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 616 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 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
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛