question

Upvotes
Accepted
1 0 0 2

libema_shared.lib is missing

I am building new Cons102_shared (Cpp-C\Ema\Examples\Training\Consumer\100_Series\102__MarketPrice__Snapshot) generated by cmake utility using VS2017 but getting linker error due to missing libema_shared.lib.I tried searching this lib under Ema folder but con't find it.

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-api
icon clock
10 |1500

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

Hello @pramod.singh

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,


AHS

Hello @pramod.singh

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
7.6k 15 6 9

@pramod.singh

Basically you should be able to find the libs and dlls under <ESDK Install Folder>\Cpp-C\Ema\Libs\WIN_64_VS150\Debug_MDd\Shared

If you can't find the Libs folder, the package may be corrupted or incomplete.

Anyway, if you generate the project correctly, you should not see the build error but it may ask for the dlls when running with the <Examplename>_shared project type. You may also try open and build Cons102.vcxproj which is a project for static.

icon clock
10 |1500

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

Upvotes
22.1k 59 14 21

Hi @pramod.singh,

I would recommend that you start off by following the Quick Start for EMA C++, step by step - specifically the ESDK build system - https://developers.refinitiv.com/elektron/elektron-sdk-cc/quick-start?content=42817&type=quick_start

If there is still an issue, post here and we can check.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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