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
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛