current position：Home>Encountered /usr/bin/ld: cannot find -lvtkxxx problem when compiling DBOW library on jetson xavier
Encountered /usr/bin/ld: cannot find -lvtkxxx problem when compiling DBOW library on jetson xavier
2022-11-24 22:51:33【I am a happy little party dish】
Recently in the
amdThe architecture's devices are deployed to NVIDIA's
jetson xavier上,Compiling third-party libraries
/usr/bin/ld: cannot find -lvtkxxx,要给xaviergoing to kneel
[ 14%] Linking CXX shared library ../lib/libDBoW2.so /usr/bin/ld: cannot find -lvtkRenderingOpenGL /usr/bin/ld: cannot find -lvtkImagingHybrid /usr/bin/ld: cannot find -lvtkIOImage /usr/bin/ld: cannot find -lvtkCommonDataModel /usr/bin/ld: cannot find -lvtkCommonMath /usr/bin/ld: cannot find -lvtkCommonCore /usr/bin/ld: cannot find -lvtksys /usr/bin/ld: cannot find -lvtkCommonMisc /usr/bin/ld: cannot find -lvtkCommonSystem /usr/bin/ld: cannot find -lvtkCommonTransforms /usr/bin/ld: cannot find -lvtkCommonExecutionModel /usr/bin/ld: cannot find -lvtkDICOMParser /usr/bin/ld: cannot find -lvtkIOCore /usr/bin/ld: cannot find -lvtkmetaio /usr/bin/ld: cannot find -lvtkImagingCore /usr/bin/ld: cannot find -lvtkRenderingCore /usr/bin/ld: cannot find -lvtkCommonColor /usr/bin/ld: cannot find -lvtkFiltersExtraction /usr/bin/ld: cannot find -lvtkFiltersCore /usr/bin/ld: cannot find -lvtkFiltersGeneral /usr/bin/ld: cannot find -lvtkCommonComputationalGeometry /usr/bin/ld: cannot find -lvtkFiltersStatistics /usr/bin/ld: cannot find -lvtkImagingFourier /usr/bin/ld: cannot find -lvtkalglib /usr/bin/ld: cannot find -lvtkFiltersGeometry /usr/bin/ld: cannot find -lvtkFiltersSources /usr/bin/ld: cannot find -lvtkInteractionStyle /usr/bin/ld: cannot find -lvtkRenderingLOD /usr/bin/ld: cannot find -lvtkFiltersModeling /usr/bin/ld: cannot find -lvtkIOPLY /usr/bin/ld: cannot find -lvtkIOGeometry /usr/bin/ld: cannot find -lvtkFiltersTexture /usr/bin/ld: cannot find -lvtkRenderingFreeType /usr/bin/ld: cannot find -lvtkftgl /usr/bin/ld: cannot find -lvtkIOExport /usr/bin/ld: cannot find -lvtkRenderingAnnotation /usr/bin/ld: cannot find -lvtkImagingColor /usr/bin/ld: cannot find -lvtkRenderingContext2D /usr/bin/ld: cannot find -lvtkRenderingGL2PS /usr/bin/ld: cannot find -lvtkRenderingContextOpenGL /usr/bin/ld: cannot find -lvtkRenderingLabel collect2: error: ld returned 1 exit status CMakeFiles/DBoW2.dir/build.make:285: recipe for target '../lib/libDBoW2.so' failed make: *** [../lib/libDBoW2.so] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/DBoW2.dir/all' failed make: *** [CMakeFiles/DBoW2.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
All in all it's for
DBOW2Could not find when linking external library filevtk相关的内容,使用
find /usr/lib -name libvtk*进行查找,Found that there are also related library files,只不过是在
CMakeLists.txtAdd the path to the library file address
Import the relevant library from
Saw a similar error,见链接,I think of when I was searching for related library files before,库文件的名称是
Then follow the method in the blog,新建一个
libvtkRenderingCore.so的软连接,Make it link to what you already have
libvtkRenderingCore-6.3.so,Perform corresponding operations on the library files indicated in the error report,重新编译,没有报错.
cd /usr/lib/aarch64-linux-gnu/ sudo ln -slibvtkRenderingCore-6.3.so libvtkRenderingCore.so
但是存在一个小问题,If we just one or two libraries can't be found,It is easier to solve it using the above method,But probably like me20个库,It feels so stupid to do it over and over again,,,,,,Looking forward to a one-step approach
author[I am a happy little party dish],Please bring the original link to reprint, thank you.
The sidebar is recommended
- How to make a requirement document that both technology and testing like?
- 7 principles to understand the "dark mode" design
- MetaElfLand, which integrates World Cup + GameFi elements, launched a special event for the World Cup
- How does automated testing improve efficiency in the enterprise?
- Solve the problem of MySQL database executing Update stuck
- Custom persistence layer framework MyORMFramework (2) - framework design
- The long article finishes the summary of MySQL common statements and commands in one go
- No way!This game is better than the king...
- [Other common methods of NSFileManager to create files, etc. Objective-C language]
- Simple analysis of cold start and hot start
guess what you like
Physical address, address space, memory space, io space
C language handwritten love - restore the latest hot drama girl code
Domestic database, how can any company's products be completely independently developed?
Station 5: Operators (Act 1)
Transductive Learning and Inductive Learning
NNDL homework 9: Implement BPTT using numpy and pytorch respectively
End-to-end concepts in deep learning
NNDL Experiment 7 Recurrent Neural Network (2) Gradient Explosion Experiment
Code random recording brush questions record day26 incremental sequence + full arrangement
[C language] Getting to know pointers for the first time (final part)
- open-set recognition (OSR) open set recognition
- ["Programmer's Self-Cultivation --- Link Loading in Library" Reading Notes] Loading and process of executable files
- [Complete super-score and MEF at the same time]
- investment thinking
- [Kubernetes quick combat]
- A simple case to help you understand the concept of entropy
- How to understand information gain?
- Information gain measures the difference between two groups
- [Kubernetes three core concepts]
- LQ0244 Square root [program fill in the blank]
- LQ0242 pi [program fill in the blank]
- LQ0247 The first number [program to fill in the blank]
- Fill in the blanks prime twins LQ0246 【 application 】
- LQ0245 Maximum number [program fill in the blank]
- LQ0243 Cut circle [program fill in the blank]
- It took 6 months, from a monthly income of 3K to 14K, what have I experienced...
- BYD bydatto3 received five-star safety rating from EU safety test
- In-depth understanding of ThreadLocal
- An article takes you to understand the use of PID
- MMsegmentation related
- Jmeter - BeanShell commonly used built-in variables and script development
- Power button 73. Matrix zero C language implementation
- What does solidity address(this) mean?
- Day04[1306. Jumping Game III][703. Kth Largest Element in Data Stream][1337. Kth Weakest Combat Row in Matrix]
- Mysql and Postgresql generate data in batches
- Configuration Practice of OSPF in Frame Relay
- Understand the single sign-on (sso)
- Implementing Partition on a linked list and the Dutch flag problem
- Is it safe and legal to use MT4 for external disk?
- CompletableFuture asynchronous task orchestration
- Are the funds in the futures account safe?Which company is good for opening an account?
- 44 - Access Levels in Inheritance
- [TypeScript] TypeScript Learning — Generics
- 41 and 42 - type conversion function
- 39 - Analysis of the comma operator
- I just graduated and was cheated into a small company. I "take the data and make a watch" every day. I regret that I didn't use this tool earlier.
- 46 - structure of inheritance and the destructor
- 45 - Different ways of inheritance
- Are Long Tou Academy courses reliable?Is it safe to open an account on it?