Get c++ going in Mac
Posted: Fri Mar 17, 2023 9:45 am
Hi, I want to work with the telldus-core in C++ but I can not it to work.
I have the framework in:
Binary:
Header:
How should I get this to work in c++
I have tried to add header file to and when that works I get
Thanks
I have the framework in:
Binary:
Code: Select all
/Library/Frameworks/TelldusCore.framework/TelldusCore
Code: Select all
/Library/Frameworks/TelldusCore.framework/Versions/2.1.1/Headers/telldus-core.h
Code: Select all
#include<telldus-core.h>
int main()
{
tdInit();
}
Code: Select all
/usr/local/indlude/telldus-core.h
Code: Select all
Undefined symbols for architecture x86_64:
"_tdInit", referenced from:
_main in main.o
"_tdRegisterDeviceEvent", referenced from:
Events::Events()in main.o
"_tdUnregisterCallback", referenced from:
Events::~Events()in main.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status