I am a new user of VTK. When I installed a vtk from source code, both libvtkCommon.a and libvtkIO.a did not exist even using ccmake with a option “BUILD_SHARED_LIBS OFF”. There are lots of static lib files with name libvtkCommon*.a except libvtkCommon.a.
I met these problems with version 6.3, 7.1, 9.0.1 on a xubuntu 20.04. Any suggestion?
Thanks very much.
Weicai
PS: The whole procedure of vtk installation I used is listing as follows:
- download a tar ball of VTK-9.0.1.tar.gz;
- extract files and make a subfolder “build”;
- sudo apt-get install cmake-curses-gui
sudo apt-get install freeglut3-dev - cd build
ccmake …
with options
BUILD_SHARED_LIBS = OFF
BUILD_TESTING = OFF
CMAKE_BUILD_TYPE = Release
CMAKE_INSTALL_PREFIX = /home/kk/local -
makecmake .
make install - all lib. files are in folder “/home/kk/local/lib”
- gcc version 9.3.0