Error running code for Lesson 2?

eue

Active CAD practitioner
I wander if there is a bat file that configs VTK c++ for visual studio 2017.
 

Quaoar

Administrator
Staff member
We use a prebuilt version of VTK in our environment for Windows, but you can definitely run cmake.exe from a bat file. Smth like

cmake.exe" -G"Visual Studio 15 2017" -A x64 -DCMAKE_BUILD_TYPE=Release ^
-D ... ../

All variables are to be set with the -D option. You may want to follow the cmake docs that are quite profound.
 
  • Like
Reactions: eue

Quaoar

Administrator
Staff member
You can try compiling it with the recent release of VTK. I don't remember any troubles with that as OpenCascade's bridge to VTK is pretty basic.
 

Furkan Tuzemen

Looking around for some CAD
Actually I am getting error while following Lesson 2 Tutorial.
I posted the question:
 
Top