-
Notifications
You must be signed in to change notification settings - Fork 4
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
[CI] Run on Windows #48
Conversation
fd2c3f2
to
aa6f9cb
Compare
Some progress: compilation is successful on Windows, but tests are failing because |
I'm completely stuck at this point and I have no clue of what to do. There are two orthogonal issues:
|
I've also just spent an hour or two on this and I am also stuck.
I suppose a static link to fftw and no matlab dependency would solve this, depending on our priorities we may want to leave this for a bit |
I'm not sure whether my review is required here or not. Are you asking whether to persist with this? I don't think I can offer a solution to this. I only ever compiled it under windows using Visual Studio. I understand why you're using cmake though. |
Note that we aren't having difficulties with compiling the program, but with running it: it can't find fftw and matlab shared libraries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to approve this noting that at present the code won't run under windows. Can we add this as something to come back to?
I'd be happy to do that Comment for (potentially) the future: Alessandro mentioned on Friday it's apparently common to copy all the dependencies into the target directory. I also found this while googling dynamically linking on Windows. There is a CMake command in v3.21 to do just that but it requires |
701b9b1
to
70b889a
Compare
TDMS is now successfully building on GitHub actions under Windows! Turns out setting $PATH can work to find runtime .dlls (and is required because the MATLAB shared libraries have dependencies beyond just libmat.dll libmex.dll and libmx.dll). Due to some oddness with the zip file handling not all the system tests are run, but have instead been checked using an interactive session (following the CI build config/compile). Given this now closes #43 I'd be happy to merge this in and add an issue for running a useful system test on Windows CI, if required. |
Test in view of #43, I don't know if this will work, let's see