udacity / CppND-Route-Planning-Project

Other
192 stars 812 forks source link

Make IO2D fails #53

Open MTDzi opened 1 year ago

MTDzi commented 1 year ago

I get an error while trying to make IO2D which suggests, I guess, that my boost version is not the proper one. My boost version:

$ dpkg -s libboost-dev | grep 'Version'
Version: 1.71.0.0ubuntu2

and my g++ version:

$ g++ --version
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

make_output.txt

Question:

toseef-ahmd commented 7 months ago

Hi. Did you manage to solve this issue?

ckolluru commented 3 weeks ago

Had a similar issue, fixed it this way.

Go to the folder ~/P0267_RefImpl/P0267_RefImpl/Samples/svg/external

Delete the older version of SVG and replace it with this git repo https://github.com/svgpp/svgpp

Also update P0267_RefImpl/P0267_RefImpl/Tests/Catch2/single_include/catch.hpp with this file.

https://github.com/potassco/libpotassco/blob/2003fc8a4fd0e9b1435108b05a8ac36706b14bd3/tests/catch.hpp

Change cmake command to cmake -DCMAKE_BUILD_TYPE=Debug .., remove the --config Debug

ckolluru commented 3 weeks ago

Also need to run sudo make install in the same Debug folder to ensure IO2D is found by cmake.