KTH-RPL / DynamicMap_Benchmark

The First Dynamic Map Removal Benchmark | Included 8 SOTA methods | Continous updating
https://kth-rpl.github.io/DynamicMap_Benchmark/
BSD 3-Clause "New" or "Revised" License
294 stars 19 forks source link

cmake Error #7

Closed GavyndotLee closed 10 months ago

GavyndotLee commented 10 months ago

Dear Dr. Zhang,

I am writing to express my sincere gratitude for your open-source contributions. I have encountered an issue during the cmake process and am seeking your assistance. The steps I have taken are as follows: cd methods/octomap && cmake -B build. The output was

image

Yours sincerely.

Kin-Zhang commented 10 months ago

it looks like glog didn't install, could you use the repo dockerfile to build?

this line will install the glog and gflag things:

https://github.com/KTH-RPL/DynamicMap_Benchmark/blob/a6f6aa615c30d9ab3920a0c157435d9c39af2d13/Dockerfile#L10

Kin-Zhang commented 10 months ago

also, a reminder for people may not be familiar with docker, you can always login to docker as root without any password:

check here

https://www.baeldung.com/ops/root-user-password-docker-container

docker exec -it -u 0 image_name /bin/bash
GavyndotLee commented 10 months ago

it looks like glog didn't install, could you use the repo dockerfile to build?

this line will install the glog and gflag things:

https://github.com/KTH-RPL/DynamicMap_Benchmark/blob/a6f6aa615c30d9ab3920a0c157435d9c39af2d13/Dockerfile#L10

Dear Dr. Zhang, Thank you for your response. I used the Dockerfile provided in repo. However, I encountered compilation issues, as shown in the above image(https://github.com/KTH-RPL/DynamicMap_Benchmark/issues/7#issue-2067570241). The https://github.com/KTH-RPL/DynamicMap_Benchmark/blob/a6f6aa615c30d9ab3920a0c157435d9c39af2d13/Dockerfile#L10 command seems to have not worked on my machine, because when I run the whereis glog command, the output is empty. Look forward to your guidance on this matter. Best regards

GavyndotLee commented 9 months ago

it looks like glog didn't install, could you use the repo dockerfile to build? this line will install the glog and gflag things: https://github.com/KTH-RPL/DynamicMap_Benchmark/blob/a6f6aa615c30d9ab3920a0c157435d9c39af2d13/Dockerfile#L10

Dear Dr. Zhang, Thank you for your response. I used the Dockerfile provided in repo. However, I encountered compilation issues, as shown in the above image(#7 (comment)). The

https://github.com/KTH-RPL/DynamicMap_Benchmark/blob/a6f6aa615c30d9ab3920a0c157435d9c39af2d13/Dockerfile#L10

command seems to have not worked on my machine, because when I run the whereis glog command, the output is empty. Look forward to your guidance on this matter. Best regards

Dear Dr. Zhang,

I am writing to inform you that the issue with the cmake error has been resolved. As indicated by the printout information, my machine indeed lacked the two cmake files. I managed to resolve the issue of missing these two files by installing from the source code.

Great job and thank you!