Hello,
I want to access monitor size. My computer is 1512x982. I can access this information using TGClient in interactive, but when I compile my program I have a linkage issue. How can I get that working ? Is there a cmake component to include that I am missing ?
Undefined symbols for architecture arm64:
[...]
Undefined symbols for architecture arm64:
Undefined symbols for architecture arm64:
"TGClient::Instance()", referenced from:
MyClass::GetDisplayWidth() in MyClass.cc.o
MyClass::GetDisplayHeight() in MyClass.cc.o
"TGClient::GetDisplayWidth() const", referenced from:
MyClass::GetDisplayWidth() in MyClass.cc.o
"TGClient::GetDisplayHeight() const", referenced from:
MyClass::GetDisplayHeight() in MyClass.cc.o