cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Flexera beginner

Visaul Studio error LNK2005 appears on linkage to 3rd-party library protected by FlexLM too.

We have faced with the next problem:

Our application is protected by FlexLM and statically linked with it (separate 'license.lib' was created for that).

We use another 3rd-party library that uses FlexLM too (statically linked).

As a result, we get a lot of errors LNK2005 like:

 

SomeLib.lib(l_error.obj) : error LNK2005: lc_err_info already defined in lmgr_trl.lib(l_error.obj)​

 

What can we do to resolve this issue? It seems that FlexLM functions names are defined in our and 3rd-party library.

0 Kudos