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

Answers

  • @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.

  • 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