You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build glog from the source with BUILD_SHARED_LIBS flag ON, but i got a lot of __declspec(dllimport) syntax error that relate to following line in the code :
#ifndef HAVE_LOCALTIME_R
extern struct tm* GOOGLE_GLOG_DLL_DECL localtime_r(const time_t* timep, struct tm* result);
#endif // not HAVE_LOCALTIME_R
// port.h line 159
also another error at logging.cc line 992. as following
localtime_r identifier not found
....>> localtime_r(×tamp, &tm_time);
I attached screenshot for farther clarification
The text was updated successfully, but these errors were encountered:
OS : Windows 10 - Visual studio 2017
I am trying to build glog from the source with BUILD_SHARED_LIBS flag ON, but i got a lot of __declspec(dllimport) syntax error that relate to following line in the code :
#ifndef HAVE_LOCALTIME_R
extern struct tm* GOOGLE_GLOG_DLL_DECL localtime_r(const time_t* timep, struct tm* result);
#endif // not HAVE_LOCALTIME_R
// port.h line 159
also another error at logging.cc line 992. as following
localtime_r identifier not found
....>> localtime_r(×tamp, &tm_time);
I attached screenshot for farther clarification
The text was updated successfully, but these errors were encountered: