Closed initialneil closed 5 years ago
Thank you very much for reporting this! I committed your fix in 424333d1fef9f88444c4460c9ec7237f2fe968a7.
@initialneil Hi! I want to run this project on windows10. Can you give me some help how to build an run. Thanks!
@zhuisa It's been a while now. I think I used CMake GUI to generate vs2015 projects. Most libraries were prebuilt version like boost and qt.
@initialneil Thanks! I use cmake GUI CMake GUI to generate vs2015 projects in win32. But I encounter a problem like #14 (ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 0x0x174b485e370. Receiver '' (of type 'QOffscreenSurface') was created in thread 0x0x174b4899af0"). Can you give me some help!
When compiled in vs2015 on Windows10. I encounter this error:
This is because in
libvis/image.h
thechannel_count_helper
has no constructor. My fix was to change thechannel_count
function to static.Details:
step 1 change the definition of
channel_count()
to static: fromto
in line 67 and 74 of
libvis/image.h
.step 2 change the caller of
channel_count()
to static: fromto
in line 868, 876, 877, and 1625 of
libvis/image.h
.