Ubuntu編譯找不到eigen3的解決方法

2021-09-04 04:19:08 字數 859 閱讀 2448

之前在編譯lsd_slam的時候報錯

cmake error atcmakelists.txt:23 (find_package):

by not providing"findeigen3.cmake" in cmake_module_path this project has

asked cmake tofind a package configuration file provided by "eigen3", but

cmake did not findone.

could not find apackage configuration file provided by "eigen3" with any

of the followingnames:

eigen3config.cmake

eigen3-config.cmake

add theinstallation prefix of "eigen3" to cmake_prefix_path or set

"eigen3_dir"to a directory containing one of the above files. if "eigen3"

provides aseparate development package or sdk, be sure it has been

installed.

解決方法

在主資料夾下直接查詢findeigen3.cmake檔案,然後把它複製到報錯的cmakelists.txt對應的路徑下,在cmakelists.txt中新增

set(cmake_module_path $)

include_directories($ )

然後重新編譯就好.

Ubuntu中找不到 etc inittab檔案

因為debian 系衍生出來的linux 一向是沒有使用 etc inittab 作為登入狀態文件來使用的。但是雖然沒有系統預設沒有這個檔案,但是你可以自己建乙個inittab檔案。因為從 etc event.d 中的rc default檔案中 可以看出 script runlevel reboot...

ubuntu開機找不到normal

問題 今天開機ubuntu突然提示如下 error file boot grub i386 pc normal.mod not found.entering rescue mode grub rescue 抱著一臉懵逼的心情開始尋找解決之路。其實從提示資訊也可以看出來是grub檔案中的找不到對應檔案...

編譯QGC,提示 corecrt h 找不到

qt qcreator 新建乙個工程後出現 d program files x86 microsoft visual studio 14.0 vc include crtdefs.h 10 error c1083 無法開啟包括檔案 corecrt.h no such file or director...