dashesy / cc-tool

Mirror of cc-tool from SourceForge
http://sourceforge.net/projects/cctool/files/
GNU General Public License v2.0
155 stars 58 forks source link

Support Mac OS 12.5 #27

Closed andrei-golubov closed 2 years ago

dashesy commented 2 years ago

Boost 1.39 is a little too old! Thank for the PR. I merge this, let's hope new boost doesn't break in other systems. If it does we can find another version, somewhat newer than 1.39.

bnutz commented 2 years ago

Boost 1.39 is a little too old! Thank for the PR. I merge this, let's hope new boost doesn't break in other systems. If it does we can find another version, somewhat newer than 1.39.

Boost 1.79 is a little too new! I've been building directly on a Raspberry Pi and currently the latest version available on that is 1.74: https://packages.debian.org/bullseye/libboost-all-dev

So was getting version error during ./configure

checking for Boost headers version >= 1.79.0... no
configure: error: cannot find Boost headers version >= 1.79.0

I needed to manually edit the BOOST_REQUIRE in configure.ac to: BOOST_REQUIRE([1.74])

After this was able to successfully build the tool and flash my device. Hope this helps anyone else out there!

dashesy commented 2 years ago

@bnutz please feel free to send a PR. Maybe 1.74 is a good compromise to update boost but keep it working on older systems. @andrei-golubov can you try to see if 1.74 works on Mac OS?

andrei-golubov commented 2 years ago

@dashesy Ok, I'll check it out today.

andrei-golubov commented 2 years ago

@bnutz please feel free to send a PR. Maybe 1.74 is a good compromise to update boost but keep it working on older systems. @andrei-golubov can you try to see if 1.74 works on Mac OS?

It works

dashesy commented 2 years ago

Thanks for checking this out. I will merge the changes now.