-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Windows support #7
Comments
With CMake 3.9-rc4 I successfully built with pre-downloaded Boost, HDF5 and FFTW (as per the wiki) and at commit 0eabb88 (command lines were in Powershell)
|
Some difficulties encountered with HDF5:
Summary:
|
Just checked that adding So, sadly it seems that unless we can force CMake to find our Config-install of HDF5 (see https://gitlab.kitware.com/cmake/cmake/issues/17029), we can only build with an installed HDF5 in Program Files (at least until FindHDF5.cmake gets fixes) |
Started testing with CMake 3.10.1 (which has the relevant fixes for Current problems:
Items 2 and 3 might have been because I ran CMake a few times (with deleting the cache and without) before settling on |
confirmed that when deleting the cache, configuring, and then clicking |
CTest fails because config option isn't passed on:
|
Going to the relevant subdir, PET tests work after setting
MR tests fail with error
This means that a DLL isn't in the Path. Sadly, Windows doesn't say which one. Obvious candidate is the ISMRMRD DLL but the following didn't help
@evgueni-ovtchinnikov , do you know how to set the PATH correctly? |
Compilation problems should be fixed with #64. Still need to fix above ctest and DLL problems, and also create |
Currently tested with old version of HDF5 (1.8.15) with out-of-date conda gives
This is resolved with a |
Regarding ctest, need to call ctest in the SIRF-build with |
A few more fixes have been incorporated. All the The above mentioned DLL problem was related to both FFTW and boost.
where I cut system libraries. Any DLLs in $Env:Path += ";C:\Users\krisf\Documents\devel\build-VC\SIRF-SuperBuild-CMAKE3.10\INSTALL\bin"
$Env:Path += ";C:\Users\krisf\Documents\devel\build-VC\SIRF-SuperBuild-CMAKE3.10\INSTALL\FFTW"
$Env:Path += ";c:/Users/krisf/Documents/devel/boost_1_63_0/lib64-msvc-14.0/"
$Env:PYTHONPATH = "C:\Users\krisf\Documents\devel\build-VC\SIRF-SuperBuild-CMAKE3.10\INSTALL\python"
$Env:MATLABPATH = "C:\Users\krisf\Documents\devel\build-VC\SIRF-SuperBuild-CMAKE3.10\INSTALL\matlab" (The FFTW line would not be necessary when using a system-version presumably). As an alternative, I guess we could copy the libraries in Sadly, I still get a python crash when just loading an For MATLAB, I still have problems presumably also related to DLLs >> [notfound, warnings] = loadlibrary('mgadgetron')
Error using loadlibrary
There was an error loading the library
"C:\Users\krisf\Documents\devel\build-VC\SIRF-SuperBuild-CMAKE3.10\INSTALL\matlab\mgadgetron.mexw64"
The specified procedure could not be found.
Caused by:
Error using loaddefinedlibrary
The specified procedure could not be found. |
|
Closing this as very outdated. Updating #197 instead |
At present, most configurations will fail for Windows.
Probably our best strategy is to download precompiled packages and use those.
The text was updated successfully, but these errors were encountered: