compiling on Windows

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
yan qing
Posts: 32
Joined: Tue Dec 06, 2016 4:56 am

compiling on Windows

Post by yan qing » Tue May 29, 2018 2:34 am

Hello everyone:
I have some problems when I compiling the source code of simvascular On Windows 10.
I downloaded the source code from https://github.com/SimVascular/SimVascular.
There are some errors during I compiling it:

> -- File already exists but no hash specified (use URL_HASH):
1> file='D:/ToolKit/SimVascular-master/BIN/Externals-build/svExternals/prefix/python-2.7.11/src/windows.10.0.msvc.18.0.x64.relwithdebinfo.2018.01.24.python.2.7.11.tar.gz'
1> Old file will be removed and new file downloaded from URL.
1> -- Downloading...
1> dst='D:/ToolKit/SimVascular-master/BIN/Externals-build/svExternals/prefix/python-2.7.11/src/windows.10.0.msvc.18.0.x64.relwithdebinfo.2018.01.24.python.2.7.11.tar.gz'
1> timeout='none'
1> -- Using src='http://simvascular.stanford.edu/downloa ... .11.tar.gz'
src='http://simvascular.stanford.edu/downloa ... .11.tar.gz'
1> CMake Error at D:/ToolKit/SimVascular-master/BIN/Externals-build/svExternals/prefix/python-2.7.11/src/PYTHON-stamp/download-PYTHON.cmake:157 (message):
1> Each download failed!


The actually site of python is http://simvascular.stanford.edu/downloa ... .13.tar.gz.
I can't find where to edit the download site.What should I do to solve it?

Thank you.

User avatar
yan qing
Posts: 32
Joined: Tue Dec 06, 2016 4:56 am

Re: compiling on Windows

Post by yan qing » Tue May 29, 2018 8:48 pm

Hello everyone:
There are some problems in the source code.The download version of python is 2.7.13.but there are some files set the version as 2.7.11. I change the 2.7.11 to 2.7.13 and it works out.
1.png
1.png (40.58 KiB) Viewed 1131 times
Howerver,there are some promblems when I comipling the QT I can't solve.The download site can't get the file,
http://simvascular.stanford.edu/downloa ... 018.01.24/
and the file can download at
http://simvascular.stanford.edu/downloa ... 018.01.09/
2.png
2.png (31.66 KiB) Viewed 1131 times
3.png
3.png (46.52 KiB) Viewed 1131 times
4.png
4.png (49.45 KiB) Viewed 1131 times
How can I do to solve the problems?
Thank you.

User avatar
Adam Updegrove
Posts: 236
Joined: Fri Aug 30, 2013 4:11 pm

Re: compiling on Windows

Post by Adam Updegrove » Wed May 30, 2018 5:29 pm

Hi Yan,

We are actually in the process of updating the build system. If you don't need a compiled version of the source code, you can just download the binary here: https://simtk.org/frs/?group_id=188

If you would still like to compile, it is recommended to use a version of the source from a month or two ago. In addition, you can try using the pure make system to build the code. A README for doing this can be found under the BuildWithMake directory.

Thanks!

SimVascular Development Team

User avatar
yan qing
Posts: 32
Joined: Tue Dec 06, 2016 4:56 am

Re: compiling on Windows

Post by yan qing » Sat Jun 02, 2018 7:11 pm

Hello Adam,

I had tried to compile the source code using a version from a month ago,but it doesn't work and I don't kown which version is useful.could you please tell me the exactly version? And what is the pure make system,I don't understand what is it mean?

Thanks!
YQ

User avatar
Nathan Wilson
Posts: 46
Joined: Tue Jun 20, 2006 9:19 am

Re: compiling on Windows

Post by Nathan Wilson » Wed Jun 06, 2018 10:44 am

Hello YQ,

The make build works on Windows with the current master, but CMake is currently broken due to two problems:

1. Windows was build using python-2.7.13 (the error you previously pointed out)
2. Qt5 cannot be (easily) built on Windows

Recent updates to the cmake system have broken the build and we are working on resolving it. Basically, we need to update Cmake to integrate back in using a pre-installed Qt version for Windows since it isn't available via the pre-built open source binaries like other packages (e.g. Python).

We will will resolve this in the next few weeks. As Adam pointed out, there is a very recent Windows binary on the website. In the meantime, if you are an expert CMake user/developer, you could potentially modify the cmake build to point to a pre-installed version of Qt as was done in older versions of SV.

Nathan
SimVascular Development Team

User avatar
yan qing
Posts: 32
Joined: Tue Dec 06, 2016 4:56 am

Re: compiling on Windows

Post by yan qing » Wed Jun 20, 2018 7:44 pm

Hello Nathan:

I have tried to compile the source code using different version,and I have solved many compiling errors,but other errors appear.
I want to find a stable version of the simvascular, could you please give me the hash of the stable version of simvascular from github?


Thanks.
YQ

POST REPLY