Definition of 'tm' must be imported from module 'Darwin.C.time' before it is required
this error show to me when I use VideoStreemSDK in a .c file on this SDK in my project for play Online video in app, however in demo worked but when I run my project on device see this error ! so I changed library :
#include <sys/time.h>
to
#include "sys/time.h"
#include "time.h"
#include "sys/time.h"
and still not working! and I don't know any more :-(
pic1
pic2
**
**
I realized that SDK have a time.h which the same name file in reference has exist. this tow file when I run App has conflicting. So I change the time.h file to f_time.h and now I can Run app without error.
I realized that SDK have a time.h which the same name file in reference has exist. this tow file when I run App has conflicting. So I change the time.h file to f_time.h and now I can Run app without error. – Mohammad
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With