PCLS minimum bounding box calculation, using the https://blog.csdn.net/WillWinston/article/details/80196895 program.
In PCL1.8.0 + VS2013 + Win10 environment, debug error report:
(1) ERROR LNK1120: 2 external commands that cannot be resolved;
(2) ERROR LNK2019: Unable to parse the external symbol “VTKRENDERINGOPGL_AUTOINIT (CONSTRUCT)” at….. Is cited in;
(3) error LNK2019: Unable to resolve external symbol “vtkRenderingOpenGL_AutoInit(Destruct)” at….. Is referenced in.
Search the problem’s reason said: there is a header file, but can’t find the implementation (https://blog.csdn.net/ydc_ss/article/details/53227732) :
(1) contains only the header files, only the function of statement that does not contain the function implementation (implemented generally in the CPP u> file). So only through the compile, the connection is not successful.
(2) another reason is the function of the declarations and implementations in the header file, generally want to put the declarations in the header file, implementation in the CPP file. Each #include header file will have an implementation of the function. When connecting, the linker will not know which implementation to connect to and will report an error.
Therefore, I searched the file vtkrenderingOpenGL in the installed file and found that I was using vtkrenderingOpenGL2, so I could not find it. After modification, I reported an error to solve the problem.
In PCL1.8.0 + VS2013 + Win10 environment, debug error report:
(1) ERROR LNK1120: 2 external commands that cannot be resolved;
(2) ERROR LNK2019: Unable to parse the external symbol “VTKRENDERINGOPGL_AUTOINIT (CONSTRUCT)” at….. Is cited in;
(3) error LNK2019: Unable to resolve external symbol “vtkRenderingOpenGL_AutoInit(Destruct)” at….. Is referenced in.
Search the problem’s reason said: there is a header file, but can’t find the implementation (https://blog.csdn.net/ydc_ss/article/details/53227732) :
(1) contains only the header files, only the function of statement that does not contain the function implementation (implemented generally in the CPP u> file). So only through the compile, the connection is not successful.
(2) another reason is the function of the declarations and implementations in the header file, generally want to put the declarations in the header file, implementation in the CPP file. Each #include header file will have an implementation of the function. When connecting, the linker will not know which implementation to connect to and will report an error.
Therefore, I searched the file vtkrenderingOpenGL in the installed file and found that I was using vtkrenderingOpenGL2, so I could not find it. After modification, I reported an error to solve the problem.
Read More:
- Error LNK2019: unresolved external symbol_ Main the symbol is in the function___ Tmaincrtstartup
- LNK2001: unresolved external symbol maincrtstartup
- error LNK2019: Unresolved external symbol-resolution record
- LINK : error LNK2001: unresolved external symbol _mainCRTStartup
- Stata external commands: the most common and up-to-date commands
- How to Fix Fatal Error lnk1120: 1 unresolved externals
- fatal error LNK1120: 1 unresolved externals
- [OpenGL · error] visual studio 2019 reports an error. It is an external symbol gladloadglloader that cannot be parsed. This symbol is referenced in the function main
- DirectX encountered “unresolved external symbol” when compiling on vs2015__ The solution and reason of “vsnwprintf”
- fatal error LNK2019[UNK]fatalerror LNK1120
- Vs error unresolved external symbol_ Main, the symbol in the function “int”__ cdecl invoke_ main
- LNK2019 failed to parse external symbol error
- [docker] error in deleting image: image is referenced in multiple repositories
- What are the common clearing commands in MATLAB?
- After node.js is installed, use the instruction node version in vscode to show that it is not an external or internal instruction. The solution is as follows:
- In windows, “cmake” is not an internal or external command, nor a runnable program or batch file.
- Error: current transaction is aborted, commands ignored until end of transaction blockp
- Linux_ day07_ 05_ Configure common add, delete, modify and query commands in network
- Error in legal external terminal in ANSYS electronics desktop
- Read in wannier90 output file hr.dat to construct real space Hamiltonian to calculate Fermi surface