jedeschaud / ct_icp

CT-ICP: Continuous-Time LiDAR Odometry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debugging at vscode

D0NGJE opened this issue · comments

Hi.

I tried to debugging slam.cpp at vscode.

I got a syntax error like this photo.
image

I don't know what is the problem.

I hope you reply

Hi,

I think you have a problem with the viz3d installation of branch master,
Have you installed viz3d in the superbuild ?

Can you describe the installation messages ?

Best regards

thank you for your reply.

I using debugging mode in vscode.
image

By the way, I successfully built and run it, but when I pressed F5 for debugging in vscode the above error occured .

[CT-ICP]
The command I input,

$ ./ct_icp_build.sh Release "Unix Makefiles" ON ON 

image

Best regards.

So building the SLAM seems to work,

But you can't compile it on your IDE, is that right ?

Have you tried running the slam similarly to the readme instuctions ?
Running the command ./slam -c <path-to-config>

Does this work ?

I am not familiar with vscode, so I can't help you on this problem. But you can try to comment all the code between
the preprocessor #if CT_ICP_WITH_VIZ see if its compiles

./slam -c default_config.yaml is work.

Thank you for your reply.