How do I use functions from static libraries?

I’ve been following this tutorial (A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums) and i have problems with the “Marshalling” section. How can i convert from std::string to FString for example? I’m using a simple function from the library that returns a string, but i get link errors like this one:

error LNK2019: unresolved external symbol "public: static class std::basic_string,class std::allocator > __cdecl myTester::islibAlive(void)" (?islibAlive@myTester@@SA?AV?$basic_string@DU?$char_traits@D@std@@anonymous_user_e71e0d8a?$allocator@D@2@@std@@XZ) referenced in function "public: __cdecl AUtester::AUtester(class FPostConstructInitializeProperties const &)" (??0AUtester@@QEAA@AEBVFPostConstructInitializeProperties@@@Z)

What is the best way to solve this? Any help would be greatly appreciated!

FString accepts TCHAR at constructor, try to convert std::string to TCHAR

Even if it’s a float value which should be supported it throws the same exception. For example:

float myfloat=myTester::giveFloat();

It still returns the same kind of error, error LNK2019: unresolved external symbol etc.

Then i guess or lib path is wrong maybe

It would throw intellisense errors and in the error it does throw out you can see that he is aware of the header but for some reason can’t link because of the data type, even with float.