Hi Michael, Thanks for you report. Building ClamAV with Visual Studio 2015 will not be supported until 0.99.3. That said, this work is considered complete with the latest ClamAV sources from github.com/vrtadmin/clamav-devel. Please try it using the master and/or 0.99.3 branch(es) from github.com/vrtadmin/clamav-devel. We would appreciate your feedback on building ClamAV with VS2015 using these sources.
Thank you, Steve Morgan On Wed, Nov 2, 2016 at 4:14 PM, Michael Mckeown <[email protected]> wrote: > Using VS2015, errors: > > > 1>c:\...\visual studio > > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\ptw32_ > relmillisecs.c(80): > > error C2037: left of 'tv_sec' specifies undefined struct/union 'timespec' > > 1>c:\...\visual studio > > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\ptw32_ > relmillisecs.c(81): > > error C2037: left of 'tv_nsec' specifies undefined struct/union > 'timespec' > > 1>c:\...\visual studio > > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\ > pthread_delay_np.c(96): > > error C2037: left of 'tv_sec' specifies undefined struct/union 'timespec' > > 1>c:\...\visual studio > > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\ > pthread_delay_np.c(96): > > error C2037: left of 'tv_nsec' specifies undefined struct/union > 'timespec' > > 1>c:\...\visual studio > > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\ > pthread_delay_np.c(105): > > error C2037: left of 'tv_sec' specifies undefined struct/union 'timespec' > > 1>c:\...\visual studio > > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\ > pthread_delay_np.c(108): > > error C2037: left of 'tv_nsec' specifies undefined struct/union > 'timespec' > > only building libclamav and using visual studio 2013 as the platform > toolset as 2015 gives lots of the following: > > > fatal error C1189: #error: Macro definition of snprintf conflicts with > > Standard Library function declaration > > Can anyone help me out with this? > > Also when I eventually get this working must it be a .dll thats built > rather than a .lib? > > Thank you. > _______________________________________________ > clamav-users mailing list > [email protected] > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > _______________________________________________ clamav-users mailing list [email protected] http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
