TMSMqtt Linux and Console

I have a project which compiles in Console (Win32) and Linux, but TMSMqtt is not working on neither of them. Are there any hints to make it work?

It compiles well but it cannot connect to mqtt broker.

In Windows App (Win32) with almost the same code is Working ok.