Closed lovelyzzc closed 7 months ago
Hello @lovelyzzc,
sorry for the trouble!
In your lldb printout, this line sticks out:
/home/lovelyzzc/vehicle_end/safety/src/app.cpp:1:10: fatal error: 'iostream' file not found
#include <iostream>
^~~~~~~~~~
C++ Insights cannot find the iostream header. This would be the starting point. The option INSIGHTS_USE_SYSTEM_INCLUDES
is probably named in a hard-to-guess way. What it means is that all -I
includes become -isystem
with the option on
and otherwise remain untouched. I'm not sure whether this option does what you're expecting.
Andreas
When I convert CPP files in the project, it causes a coredump. Below is the printout:
But I can successfully convert HPP files. Below is the printout of
insights --version
.I used the tag v_0.10 for compilation, and the cmake compile command is as follows.
Below is the printout of
ldd
.Below is the printout from lldb.
Where should I start to troubleshoot this issue? Thanks!