Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
avatar image
Question by iliak · Jun 17, 2020 at 08:54 AM · elektronc++ sample

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?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by moragodkrit.chumsri_1 · Jul 22, 2020 at 03:32 AM

@iliak

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.

https://developers.refinitiv.com/elektron/elektron-sdk-cc/learning?content=6148&type=learning_material_item

and you need to download zlib from the external site for MRN example as described in the following link

https://developers.refinitiv.com/elektron/elektron-sdk-cc/learning?content=8682&type=learning_material_item

It uses the lib to unpack MRN data to JSON message.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by moragodkrit.chumsri_1 · Jun 17, 2020 at 09:28 AM

@iliak

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by iliak · Jun 18, 2020 at 12:55 PM

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)

@moragodkrit

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

How to get news headlines and content for an RIC

ESM1 dump, update

What is the most appropriate FID Date/Time/DateTime combination to establish the message DateTime, TIMEACT seems to be only consistent field coming in both refresh and updates

Is there any C# sample code available for Elektron connect to get TRNA data?

Do I get a clean or durty bond price in TRDPRC_1 field

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges