Eyescale/Equalizer

Fail to Compile Equalizer on win 10

orhnb opened this issue · 0 comments

orhnb commented

In the last few weeks I tried to compile this project on win10 with vs 2013 but failed, I tried different version of boost(1.57 and 1.73) but get the same result. Therefore it shouldn't be the problem of boost. When I run build.bat, the error is as follows:

d:\equalizer\build\pthreads-w32-2011-03-16\ptw32_relmillisecs.c(79): error C2037: left of 'tv_sec' specifies undefined struct/union 'timespec' [D:\Equalizer\build\Lunchbox\pthread.vcxproj]
d:\equalizer\build\pthreads-w32-2011-03-16\ptw32_relmillisecs.c(80): error C2037: left of 'tv_nsec' specifies undefined struct/union 'timespec' [D:\Equalizer\build\Lunchbox\pthread.vcxproj]
d:\equalizer\build\pthreads-w32-2011-03-16\pthread_delay_np.c(96): error C2037: left of 'tv_sec' specifies undefined struct/union 'timespec' [D:\Equalizer\build\Lunchbox\pthread.vcxproj]
d:\equalizer\build\pthreads-w32-2011-03-16\pthread_delay_np.c(96): error C2037:left of 'tv_nsec' specifies undefined struct/union 'timespec' [D:\Equalizer\build\Lunchbox\pthread.vcxproj]
d:\equalizer\build\pthreads-w32-2011-03-16\pthread_delay_np.c(105): error C2037: left of 'tv_sec' specifies undefined struct/union 'timespec'[D:\Equalizer\build\Lunchbox\pthread.vcxproj]
d:\equalizer\build\pthreads-w32-2011-03-16\pthread_delay_np.c(108): error C2037: left of 'tv_nsec' specifies undefined struct/union 'timespec' [D:\Equalizer\build\Lunchbox\pthread.vcxproj]

In the generating process, it also showed the following message which concerned me

-- Equalizer [2.1.0-27-g72ad80d6f-dirty] without Deflect hwloc OpenCV Qt5Core Qt5Gui Qt5Widgets VRPN X11 ZeroEQ ZeroBuf GLEW_MX hwloc
-- GLEW_MX_Equalizer [1.9.0]
-- GLX window system not supported: Skipping example eqCPU
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Equalizer/build

I notice that the project support win7, can these problem be fixed on win 10?