Some of the compilation options for CMake and IDE are different, so we users need to do a little more work. And VTK officials also said:
If you are not using CMake to compile your code, you need to add some # cbb0
I. OpenGL version problem, if it is OpenGL2 version, need to add
If you are not using CMake to compile your code, you need to add some # cbb0
I. OpenGL version problem, if it is OpenGL2 version, need to add
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkRenderingOpenGL2);
Two, about VTKRenderingFreeType, once in the interactive window render a VTKTextActor, report abnormal report vomiting (output information as shown below). When I see this solution on Stack Overflow, I need to add the next line of code
VTK_MODULE_INIT(vtkRenderingFreeType);
outputWindow ณณ:ERROR: In D:\VTK6.3\VTK-src\Rendering\Core\vtkTextActor.cxx, line 110
vtkTextActor (0509BA90): Failed to get the TextRenderer instance!
Read More:
- Recording some pits of VTK + QT
- Visual slam Lesson 6: curve fitting with g2o, error: cmake error at CMakeList.txt (find_ package) By not providing“FindG2O.cmake“
- [VTK] cmake compiling VTK
- Two methods of cmake in VTK program
- Common mistakes and solutions of cmake + QT + VTK
- CMake Error: Could not find CMAKE_ROOT !!!
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- Summary of problems encountered in compiling and installing vtk7 + vs2013 / 2015 + cmake
- Run with Python console solution is set by default for all projects in pcharm
- gazebo7 CMake Error:Could not find a package configuration file provided by “gazebo_plugins“
- Qt5 when cmake configures VTK_ The solution of dir-notfound
- CMake Error at CMakeLists.txt:5 (PROJECT): The CMAKE_C_COMPILER: cl is not a full path
- To solve problems in cmake VTK: error configuration process, project files may be invalid
- Clion appears cmake error: could not find cmake_ Root! What is the problem and how to solve it?
- CMake_ Compiling VTK_ 9.0.0 running vtkcommoncolor DLL has access conflict
- VTK: VTK error problem set
- CMake Error:Could not find CMAKE_ROOT!!!
- Error C1083 error msb3075 in UE4 generated by vs2019 debug editor
- Vscode code block / full text collapse / expand shortcut
- Macro generated_ UCLASS_ Body () and generated_ Analysis of body ()