You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to change modify lined in the following file CMake/vtkCompilerExtras.cmake
Also we need to modify same line even in the CMake/GenerateExportHeader.cmake
Further to resolve the c++11 standard error, we need modify the files from the build directory (i.e., CMakeCache.txt)
From this file, we need add the following lines against of this line : CMAKE_CXX_FLAGS:STRING=-std=c++98
After making all the necessary corrections, execute the following command to successfully build the VTK6.3 source code:
make -j$(nproc)
Downloading and Building TexGen 3.11.0
Download the TexGen 3.11.0 release from the following link:
https://github.com/louisepb/TexGen/releases/tag/v3.11.0
Follow these steps to build TexGen:
a. Extract the downloaded TexGen3.11.0 folder.
b. Navigate to the extracted directory:
cd TexGen3.11.0
c. Create a bin directory:
mkdir bin
d. Navigate to the bin directory:
cd bin
e. Run ccmake on the parent directory:
ccmake ../
f. Press c to configure.
Turn off the following parameters:
BUILD_GUI
BUILD_PYTHON_INTERFACE
BUILD_RENDERER
g. Press c again to reconfigure and check for error messages. If no errors appear, press g to generate the Makefile.
h. Compile and install TexGen:
sudo make install
Enabling Python Interface:
a. Open ccmake again in the bin directory:
ccmake ../
b. Set BUILD_PYTHON_INTERFACE to ON.
c. Specify the following paths:
Solving VTK6.3 issue with Ubuntu 22.04 LTS:
From this file, we need add the following lines against of this line : CMAKE_CXX_FLAGS:STRING=-std=c++98
After making all the necessary corrections, execute the following command to successfully build the VTK6.3 source code:
make -j$(nproc)
Downloading and Building TexGen 3.11.0
cd TexGen3.11.0
c. Create a bin directory:
mkdir bin
d. Navigate to the bin directory:
cd bin
e. Run ccmake on the parent directory:
ccmake ../
f. Press c to configure.
g. Press c again to reconfigure and check for error messages. If no errors appear, press g to generate the Makefile.
h. Compile and install TexGen:
sudo make install
Enabling Python Interface:
a. Open ccmake again in the bin directory:
ccmake ../
b. Set BUILD_PYTHON_INTERFACE to ON.
c. Specify the following paths:
d. Press c to configure, check for errors, and then press g to generate the Makefile.
The text was updated successfully, but these errors were encountered: