Compiling on Windows

Provides a system for patient-specific cardiovascular modeling and simulation.
User avatar
Arai Kazuyoshi
Posts: 10
Joined: Thu Dec 17, 2015 12:57 am

Re: Compiling on Windows

Post by Arai Kazuyoshi » Sun May 01, 2016 3:35 pm

Thanks for new url !
It is very good.

I began to compile a new source.
As a result, I got the following.

1.
Build error, In VTK vtkRenderingTkTCL.vcxproj

error C1083: can not open include file 'tkWinInt.h': No such file or directory
[C: \ svbin \ externals \ VTK-build \ Rendering \ Tk \ vtkRenderingTkTCL.vcxproj]
C: \ svbin \ externals \ VTK-build \ Rendering \ Tk \ vtkTkInternals.h 33 1 VTK

It seems the header files are missing.

2.
I looked for the header files needed, and, I found they are
C: \ svbin \ externals \ VTK \ ThirdParty \ TclTk \ internals \ tk8.6 folder.

I added the include path to the above vcxproj.

3.
Again, I started to compile, it was finished without any problems.

4.
I started the SV.
However, the following message appeared at start-up, SV could not start.
(see attached pdf file if necessary)

invalid command name "vtkPropPicker"
while executing
"vtkPropPicker $::vis::tkvars(ActorPicker)"
(file "C:/sv160430bin2/Tcl/Common/Vis/tk.tcl" Line 790)
invoked from within
"source $simvascular_home/Tcl/Common/Vis/Tk.tcl"
----

I found the specification of tcl version is 8.5. in mysim.bat.
I changed to 8.6, but the error was not fixed.

Best regards.

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

Re: Compiling on Windows

Post by Adam Updegrove » Mon May 02, 2016 1:40 pm

Hi again!

Did you compile vtk with the TCL now downloaded from the url of SimVascular. If not, that could be the issue.

SimVascular Development Team

User avatar
Arai Kazuyoshi
Posts: 10
Joined: Thu Dec 17, 2015 12:57 am

Re: Compiling on Windows

Post by Arai Kazuyoshi » Mon May 02, 2016 5:10 pm

Hi

I just built in superbuld mode,
so downloading TCLTK from new url and compiling were done automatically.
I had an error in building VTK library (vtkrenderingtcltk.vcxproj).

It is possible something is different from your environment.

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

Re: Compiling on Windows

Post by Adam Updegrove » Mon May 02, 2016 7:35 pm

I work mostly on mac and linux, so I haven't tested superbuild on Windows recently. Its possible that all the tcl/tk variables for vtk aren't set 100% correct on Windows for superbuild. Previously, you built vtk with your own tcl/tk correct?

It should be fine to do that again if you got SimVascular to build and start up that way before.

SimVascular Development Team

User avatar
Arai Kazuyoshi
Posts: 10
Joined: Thu Dec 17, 2015 12:57 am

Re: Compiling on Windows

Post by Arai Kazuyoshi » Thu May 05, 2016 2:04 am

Hi !

About building SV using new source,
I replaced the configuration files for startup by the previous versions.
(mysim.bat, ~ /Tcl/simvascular_2.0/*.tcl)
Then SV has started successfully.

Maybe these configuration files should be fixed,
but simvascular.exe built by new source and vs2013 seems to be fine.
Also TclTk Library from new URL works fine.

I could build flow solvers too.
Now I can challenge incorporating my own features into SV.

Thanks much !!

POST REPLY