TF 4.0.3 & TA 4.0.3 static linking in one product causes linking error (in debug and release builds) (windows)Solved

3>TurboFloat-MDd.lib(TurboFloat.obj) : error LNK2005: "bool __cdecl TryLoadProductDetails(void)" (?TryLoadProductDetails@@YA_NXZ) already defined in TurboActivate-MDd.lib(TurboActivate.obj)3>TurboFloat-MDd.lib(TurboFloat.obj) : error LNK2005: "struct CachedProductData * __cdecl GetCPD(unsigned int)" (?GetCPD@@YAPEAUCachedProductData@@I@Z) already defined in TurboActivate-MDd.lib(TurboActivate.obj)3>TurboFloat-MDd.lib(TurboFloat.obj) : error LNK2005: "long __cdecl TryToAddCPD(struct CachedProductData *)" (?TryToAddCPD@@YAJPEAUCachedProductData@@@Z) already defined in TurboActivate-MDd.lib(TurboActivate.obj)3>TurboFloat-MDd.lib(TurboFloat.obj) : error LNK2005: "class boost::mutex globalMutex" (?globalMutex@@3Vmutex@boost@@A) already defined in TurboActivate-MDd.lib(TurboActivate.obj)

You're right, we'll fix that in the next bugfix version. In the meantime the solution is to use the dynamic libraries or 1 static library and 1 dynamic library.

TurboActivate / TurboFloat 4.0.4 is now out fixing this bug. Thanks for reporting it.

Get the latest version of TurboActivate and TurboFloat here: https://wyday.com/limelm/api/