lukasvst / dm-vio

Source code for the paper DM-VIO: Delayed Marginalization Visual-Inertial Odometry
GNU General Public License v3.0
1.05k stars 184 forks source link

make error #33

Open Secret-Lin opened 1 year ago

Secret-Lin commented 1 year ago

When I run make .. : image The referred codeline: add_executable(dmvio_dataset ${PROJECT_SOURCE_DIR}/src/main_dmvio_dataset.cpp) After make .. ; the cpp file is created but make -j will show error that dmvio_dataset is missing. How to fix it? Should I add path to the dataset‘s pwd?

lukasvst commented 1 year ago

Can you try compiling with a newer version of cmake? I experienced the same issue with cmake version 3.10.2, and the problem disappeared when using cmake 3.21.1 instead.

In the future I should investigate this further, as older cmake versions used to work, but for now I hope that upgrading cmake helps.