-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for string time series - Follow up on #43 #46
base: main
Are you sure you want to change the base?
Conversation
Hi @cbrnr , I have a pending PR to fix SigViewer as well, but I just realized: SigViewer and libbiosig does not compile on Windows. I only have a Windows laptop. How could we do this? |
Hi @cbrnr , thanks for the info. I gave this a try, but ran into compiling problems. With Qt 6.8 I got: With Qt 5.14 I got: In fact, SigViewer documentation says:
This is the commit where it says "Windows is not supported". I remember back then we ran into this same problem and the conclusion was that we simply removed support for compiling on Windows because there was no straight forward solution. |
SigViewer unfortunately still requires Qt5, so errors with Qt6 are expected. @schloegl can you help us here? |
@Yida-Lin have you tried using the binary provided in https://sourceforge.net/projects/biosig/files/BioSig%20for%20C_C%2B%2B/windows/biosig-2.6.2-Windows-64bit.zip/download? |
@cbrnr I downloaded the binaries earlier, but it didn't work. Besides binary, we also had to include headers for biosig, right? I remember several years ago there was only 1 header, libbiosig.h. But apparently right now there are multiple of them, and libbiosig.h references a few other headers. I tried including all of them but don't think they work. |
Yes, I think you need multiple headers as well as multiple static libraries, all of which should be contained in the download. However, I cannot tell you which files you need to copy to |
OK, let me take another look this weekend. |
Once you have published libxdf, I can try cross-compiling libxdf and sigviewer for windows. |
Thanks, that would be great! However, I think it would also be important to be able to directly compile SigViewer on Windows. The only problematic part is libbiosig, which headers and static libraries do we need? |
I guess that is up to you, you can take any that works for you. 32bit and 64bit static and dynamic libs are provided. |
Hi @cbrnr and @schloegl, I gave it another try, but still ran into issues. I used SigViewer main branch + a stable libxdf commit prior to the recent std::variant changes, but have the following biosig related errors: I downloaded the binary using @cbrnr 's link above and copied all header files as well as all statically linked binaries into Sigviewer Would appreciate thoughts, thank you. |
I think the reason why it previously worked is because when I was still able to compile libbiosig on Windows (using some previous version), I disabled a couple of features in the Makefile. The pre-built binaries have everything enabled, so you might need to link to additional dependencies. For example, the first error ( |
Well, the |
I suggest to switch to gnu compiler, e.g mingw. In fact, mxe can be used to build sigviewer for windows. So, there is solution - I do not see the need to for an msvc-based build on windows. |
This is a good idea. Can you try gcc @Yida-Lin? |
Follow up on #43.
As discussed:
eventMap
and usetime_series
to handle all types of data.std::variant<std::vector<...>>
instead ofstd::vector<std::variant<...>>
to be more efficient (avoiding redundantstd::visit
)