udacity / SFND_Lidar_Obstacle_Detection

374 stars 523 forks source link

Macos building - Error with boost::filesystem #47

Closed elros88 closed 2 years ago

elros88 commented 2 years ago

Hi, I got this error when compiling the simulator In file included from /Users/antonioortiz/Proyectos/NanoDegree/SFND_Lidar_Obstacle_Detection/src/environment.cpp:7: /Users/antonioortiz/Proyectos/NanoDegree/SFND_Lidar_Obstacle_Detection/src/processPointClouds.h:47:17: error: no member named 'filesystem' in namespace 'boost'; did you mean 'std::__fs::filesystem'? std::vector<boost::filesystem::path> streamPcd(std::string dataPath); ^~~~~~~~~~~~~~~~~ std::__fs::filesystem I got it on the make step

elros88 commented 2 years ago

Solve it by changing boost::filesystem to std::__fs::filesystem in every line the error was shown