GeoscienceAustralia / ginan

The Australian Government, through Positioning Australia (part of Geoscience Australia), is funding the design, development and operational service of a Global Navigation Satellite System (GNSS) position correction system - the Ginan service and toolkit. The application of the Ginan correction service by a GNSS device has the potential to increase positioning accuracy from meters to centimetres across Australia. The suite of software systems in this repository (the Ginan toolkit) will be used to create the service. It is available now under an open source licence. Ginan will give individuals and organisations no-cost access to the Ginan software and service as a public good.
https://geoscienceaustralia.github.io/ginan/
Other
228 stars 108 forks source link

Ginan from source on Mac silicon (ARM) #107

Closed jkanska23 closed 1 month ago

jkanska23 commented 1 month ago

Dear Team, Is it possible to build ginan from source an apple silicon M-chip? I can install all dependencies from the apple.md file, but while running make -j2 I get some errors with boost package:

/opt/homebrew/include/boost/functional.hpp:252:45: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'? : public boost::functional::detail::unary_function<


                                            __unary_function

The same case is with 'binary_function"

Thank you in advance
Joanna
seballgeyer commented 1 month ago

Hello Joanna,

Thank you for bringing this issue to our attention. It looks like you're encountering a build error with the Boost library (unary_function and binary_function) while compiling Ginan on an Apple Silicon M chip.

The error you're seeing is likely related to a mismatch between the required Boost version and the version installed on your system. Ginan requires Boost version 1.74 or above, as older versions don't support the necessary functionality. While the instructions in the apple.md file have worked for us on Apple Silicon with the required Boost version, it seems there may be a conflict in your environment.

To better understand the issue, could you provide the following details so we can investigate further?

You can use the following commands to check the installed versions:

brew info boost
clang --version
cmake --version

Once we have this information, we’ll be able to guide you more effectively toward a solution.

Best regards, Sebastien

jkanska23 commented 1 month ago

Hello Sebastian, Here's info about lib versions:

==> boost: stable 1.86.0 (bottled), HEAD Collection of portable C++ source libraries https://www.boost.org/ Installed /opt/homebrew/Cellar/boost/1.86.0 (16,215 files, 518.0MB) * Poured from bottle using the formulae.brew.sh API on 2024-09-20 at 09:37:13 From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/b/boost.rb License: BSL-1.0 ==> Dependencies Required: icu4c ✔, xz ✔, zstd ✔ ==> Options --HEAD Install HEAD version ==> Analytics install: 64,345 (30 days), 153,656 (90 days), 615,996 (365 days) install-on-request: 30,368 (30 days), 69,261 (90 days), 295,206 (365 days) build-error: 34 (30 days) Apple clang version 15.0.0 (clang-1500.3.9.4) Target: arm64-apple-darwin23.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin cmake version 3.30.3

And log output:

(base) joannakanska@Air-Joanna build % make pea -j2 [ 0%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/a2af.c.o [ 0%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/a2tf.c.o [ 0%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ab.c.o [ 1%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ae2hd.c.o [ 1%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/af2a.c.o [ 1%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/anp.c.o [ 1%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/anpm.c.o [ 2%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/apcg.c.o [ 2%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/apcg13.c.o [ 2%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/apci.c.o [ 3%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/apci13.c.o [ 3%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/apco.c.o [ 3%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/apco13.c.o [ 3%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/apcs.c.o [ 4%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/apcs13.c.o [ 4%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/aper.c.o [ 4%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/aper13.c.o [ 4%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/apio.c.o [ 5%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/apio13.c.o [ 5%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atcc13.c.o [ 5%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atccq.c.o [ 5%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atci13.c.o [ 6%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atciq.c.o [ 6%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atciqn.c.o [ 6%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atco13.c.o [ 6%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atciqz.c.o [ 6%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/aticq.c.o [ 7%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atic13.c.o [ 7%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/aticqn.c.o [ 7%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atio13.c.o [ 8%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atioq.c.o [ 8%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atoc13.c.o [ 8%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atoi13.c.o [ 8%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/atoiq.c.o [ 9%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/bi00.c.o [ 9%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/bp00.c.o [ 9%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/bp06.c.o [ 9%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/bpn2xy.c.o [ 9%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2i00b.c.o [ 10%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2i00a.c.o [ 10%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2i06a.c.o [ 10%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2ibpn.c.o [ 11%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2ixys.c.o [ 11%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2ixy.c.o [ 11%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2s.c.o [ 11%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2t00a.c.o [ 11%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2t06a.c.o [ 12%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2t00b.c.o [ 12%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2teqx.c.o [ 12%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2tcio.c.o [ 12%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2txy.c.o [ 13%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/c2tpe.c.o [ 13%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/cp.c.o [ 13%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/cal2jd.c.o [ 14%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/cpv.c.o [ 14%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/cr.c.o [ 14%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/d2dtf.c.o [ 14%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/d2tf.c.o [ 15%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/dat.c.o [ 15%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/dtdb.c.o [ 15%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/dtf2d.c.o [ 15%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/eceq06.c.o [ 16%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ee00.c.o [ 16%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ecm06.c.o [ 16%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ee00a.c.o [ 16%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ee00b.c.o [ 17%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/eect00.c.o [ 17%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ee06a.c.o [ 17%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/eform.c.o [ 17%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/eo06a.c.o [ 17%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/epb.c.o [ 18%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/eors.c.o [ 18%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/epj.c.o [ 18%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/epb2jd.c.o [ 19%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/epv00.c.o [ 19%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/epj2jd.c.o [ 19%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/eqec06.c.o [ 19%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/eqeq94.c.o [ 20%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/era00.c.o [ 20%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fad03.c.o [ 20%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fae03.c.o [ 20%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/faf03.c.o [ 21%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/faju03.c.o [ 21%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fal03.c.o [ 21%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/falp03.c.o [ 21%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fama03.c.o [ 22%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fame03.c.o [ 22%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fane03.c.o [ 22%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/faom03.c.o [ 23%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fapa03.c.o [ 23%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fasa03.c.o [ 23%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/faur03.c.o [ 23%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fave03.c.o [ 24%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fk425.c.o [ 24%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fk45z.c.o [ 24%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fk524.c.o [ 24%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fk52h.c.o [ 25%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fk54z.c.o [ 25%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fk5hip.c.o [ 25%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fk5hz.c.o [ 25%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fw2m.c.o [ 26%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/fw2xy.c.o [ 26%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/g2icrs.c.o [ 26%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gc2gd.c.o [ 26%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gc2gde.c.o [ 27%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gd2gc.c.o [ 27%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gd2gce.c.o [ 27%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gmst00.c.o [ 27%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gmst06.c.o [ 28%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gmst82.c.o [ 28%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gst00a.c.o [ 28%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gst00b.c.o [ 28%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gst06.c.o [ 29%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gst06a.c.o [ 29%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/gst94.c.o [ 29%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/h2fk5.c.o [ 29%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/hd2ae.c.o [ 29%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/hfk5z.c.o [ 30%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/hd2pa.c.o [ 30%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/icrs2g.c.o [ 30%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ir.c.o [ 30%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/jdcalf.c.o [ 31%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/jd2cal.c.o [ 31%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ld.c.o [ 31%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ldn.c.o [ 31%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/lteceq.c.o [ 32%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ldsun.c.o [ 32%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/lteqec.c.o [ 32%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ltecm.c.o [ 33%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ltp.c.o [ 33%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ltpb.c.o [ 33%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ltpequ.c.o [ 33%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ltpecl.c.o [ 34%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/num00a.c.o [ 34%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/moon98.c.o [ 34%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/num00b.c.o [ 34%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/num06a.c.o [ 35%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/numat.c.o [ 35%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/nut00a.c.o [ 35%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/nut00b.c.o [ 35%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/nut06a.c.o [ 36%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/nut80.c.o [ 36%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/nutm80.c.o [ 36%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/obl06.c.o [ 36%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/obl80.c.o [ 37%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/p06e.c.o [ 37%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/p2pv.c.o [ 37%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/p2s.c.o [ 37%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pap.c.o [ 38%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pas.c.o [ 38%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pb06.c.o [ 38%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pdp.c.o [ 38%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pfw06.c.o [ 39%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/plan94.c.o [ 39%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pm.c.o [ 39%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pmat00.c.o [ 39%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pmat06.c.o [ 40%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pmat76.c.o [ 40%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pmp.c.o [ 40%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pmpx.c.o [ 40%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pmsafe.c.o [ 41%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pn.c.o [ 41%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pn00.c.o [ 41%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pn00a.c.o [ 41%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pn00b.c.o [ 42%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pn06.c.o [ 42%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pn06a.c.o [ 42%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pnm00a.c.o [ 43%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pnm00b.c.o [ 43%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pnm06a.c.o [ 43%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pnm80.c.o [ 43%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pom00.c.o [ 44%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ppp.c.o [ 44%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ppsp.c.o [ 44%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pr00.c.o [ 44%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/prec76.c.o [ 45%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pv2p.c.o [ 45%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pv2s.c.o [ 45%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pvdpv.c.o [ 45%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pvm.c.o [ 46%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pvmpv.c.o [ 46%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pvppv.c.o [ 46%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pvstar.c.o [ 46%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pvtob.c.o [ 47%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pvu.c.o [ 47%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pvup.c.o [ 47%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pvxpv.c.o [ 47%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/pxp.c.o [ 48%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/refco.c.o [ 48%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/rm2v.c.o [ 48%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/rv2m.c.o [ 48%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/rx.c.o [ 50%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/rxp.c.o [ 50%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/rxpv.c.o [ 50%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/rxr.c.o [ 50%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ry.c.o [ 51%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/rz.c.o [ 51%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/s00.c.o [ 51%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/s00a.c.o [ 51%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/s00b.c.o [ 52%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/s06.c.o [ 52%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/s06a.c.o [ 52%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/s2c.c.o [ 52%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/s2p.c.o [ 53%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/s2pv.c.o [ 53%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/s2xpv.c.o [ 53%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/sepp.c.o [ 53%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/seps.c.o [ 54%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/sp00.c.o [ 54%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/starpm.c.o [ 54%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/starpv.c.o [ 54%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/sxp.c.o [ 55%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/sxpv.c.o [ 55%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/taitt.c.o [ 55%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/taiut1.c.o [ 55%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/taiutc.c.o [ 56%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tcbtdb.c.o [ 56%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tcgtt.c.o [ 56%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tdbtcb.c.o [ 56%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tdbtt.c.o [ 57%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tf2a.c.o [ 57%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tf2d.c.o [ 57%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tpors.c.o [ 57%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tporv.c.o [ 58%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tpsts.c.o [ 58%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tpstv.c.o [ 58%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tpxes.c.o [ 58%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tpxev.c.o [ 59%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tr.c.o [ 59%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/trxp.c.o [ 59%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/trxpv.c.o [ 59%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tttai.c.o [ 60%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tttcg.c.o [ 60%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/tttdb.c.o [ 60%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ttut1.c.o [ 60%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ut1tai.c.o [ 60%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ut1utc.c.o [ 61%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/ut1tt.c.o [ 61%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/utctai.c.o [ 61%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/utcut1.c.o [ 62%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/xys00a.c.o [ 62%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/xy06.c.o [ 62%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/xys00b.c.o [ 62%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/xys06a.c.o [ 63%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/zp.c.o [ 63%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/zpv.c.o [ 63%] Building C object cpp/3rdparty/sofa/CMakeFiles/sofa_lib.dir/src/zr.c.o [ 64%] Linking C static library /Users/joannakanska/ginan/lib/libsofa_lib.a [ 64%] Built target sofa_lib [ 64%] Building CXX object cpp/CMakeFiles/pea.dir//Architecture/Ginan.cpp.o [ 65%] Building CXX object cpp/CMakeFiles/pea.dir/common/acsConfig.cpp.o [ 65%] Building CXX object cpp/CMakeFiles/pea.dir/common/acsConfigDocs.cpp.o [ 65%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/jpl/jpl_eph.cpp.o [ 65%] Building C object cpp/CMakeFiles/pea.dir/3rdparty/egm96/EGM96.c.o [ 66%] Building C object cpp/CMakeFiles/pea.dir/3rdparty/slr/read_crd.c.o /Users/joannakanska/ginan/src/cpp/3rdparty/slr/read_crd.c:229:1: warning: non-void function does not return a value [-Wreturn-type] } ^ /Users/joannakanska/ginan/src/cpp/3rdparty/slr/read_crd.c:236:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 2 warnings generated. [ 66%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/iers2010/ch9/fcul_a.cpp.o [ 66%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/iers2010/ch9/fcul_zd_hpa.cpp.o [ 66%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/iers2010/hardisp/admint.cpp.o [ 67%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/iers2010/hardisp/eval.cpp.o [ 67%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/iers2010/hardisp/hardisp_impl.cpp.o [ 67%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/iers2010/hardisp/recurs.cpp.o [ 67%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/iers2010/hardisp/shells.cpp.o [ 68%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/iers2010/hardisp/spline.cpp.o [ 68%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/iers2010/hardisp/tdfrph.cpp.o [ 68%] Building CXX object cpp/CMakeFiles/pea.dir/3rdparty/iers2010/dehanttideinel/dehanttide_all.cpp.o [ 68%] Building CXX object cpp/CMakeFiles/pea.dir/pea/main.cpp.o In file included from /Users/joannakanska/ginan/src/cpp/pea/main.cpp:76: In file included from /Users/joannakanska/ginan/src/cpp/orbprop/orbitProp.hpp:4: In file included from /opt/anaconda3/include/boost/numeric/odeint.hpp:63: In file included from /opt/anaconda3/include/boost/numeric/odeint/algebra/multi_array_algebra.hpp:22: In file included from /opt/anaconda3/include/boost/multi_array.hpp:34: In file included from /opt/anaconda3/include/boost/multi_array/multi_array_ref.hpp:32: /opt/anaconda3/include/boost/functional.hpp:45:24: error: no member named 'unary_function' in namespace 'std'; did you mean 'unary_function'? using std::unary_function;


/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from /Users/joannakanska/ginan/src/cpp/pea/main.cpp:76:
In file included from /Users/joannakanska/ginan/src/cpp/orbprop/orbitProp.hpp:4:
In file included from /opt/anaconda3/include/boost/numeric/odeint.hpp:63:
In file included from /opt/anaconda3/include/boost/numeric/odeint/algebra/multi_array_algebra.hpp:22:
In file included from /opt/anaconda3/include/boost/multi_array.hpp:34:
In file included from /opt/anaconda3/include/boost/multi_array/multi_array_ref.hpp:32:
/opt/anaconda3/include/boost/functional.hpp:46:24: error: no member named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
using std::binary_function;
~~~~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
^
In file included from /Users/joannakanska/ginan/src/cpp/pea/main.cpp:76:
In file included from /Users/joannakanska/ginan/src/cpp/orbprop/orbitProp.hpp:4:
In file included from /opt/anaconda3/include/boost/numeric/odeint.hpp:63:
In file included from /opt/anaconda3/include/boost/numeric/odeint/algebra/multi_array_algebra.hpp:22:
In file included from /opt/anaconda3/include/boost/multi_array.hpp:34:
In file included from /opt/anaconda3/include/boost/multi_array/multi_array_ref.hpp:32:
/opt/anaconda3/include/boost/functional.hpp:180:45: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'?
: public boost::functional::detail::unary_function<typename unary_traits<Predicate>::argument_type,bool>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:45:24: note: '__unary_function' declared here
using std::unary_function;
^
/opt/anaconda3/include/boost/functional.hpp:214:45: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'?
: public boost::functional::detail::binary_function<
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:46:24: note: '__binary_function' declared here
using std::binary_function;
^
/opt/anaconda3/include/boost/functional.hpp:252:45: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'?
: public boost::functional::detail::unary_function<
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:45:24: note: '__unary_function' declared here
using std::unary_function;
^
/opt/anaconda3/include/boost/functional.hpp:299:45: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'?
: public boost::functional::detail::unary_function<
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:45:24: note: '__unary_function' declared here
using std::unary_function;
^
/opt/anaconda3/include/boost/functional.hpp:345:57: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'?
class mem_fun_t : public boost::functional::detail::unary_function<T*, S>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:45:24: note: '__unary_function' declared here
using std::unary_function;
^
/opt/anaconda3/include/boost/functional.hpp:361:58: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'?
class mem_fun1_t : public boost::functional::detail::binary_function<T*, A, S>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:46:24: note: '__binary_function' declared here
using std::binary_function;
^
/opt/anaconda3/include/boost/functional.hpp:377:63: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'?
class const_mem_fun_t : public boost::functional::detail::unary_function<const T*, S>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:45:24: note: '__unary_function' declared here
using std::unary_function;
^
/opt/anaconda3/include/boost/functional.hpp:393:64: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'?
class const_mem_fun1_t : public boost::functional::detail::binary_function<const T*, A, S>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:46:24: note: '__binary_function' declared here
using std::binary_function;
^
/opt/anaconda3/include/boost/functional.hpp:438:61: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'?
class mem_fun_ref_t : public boost::functional::detail::unary_function<T&, S>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:45:24: note: '__unary_function' declared here
using std::unary_function;
^
/opt/anaconda3/include/boost/functional.hpp:454:62: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'?
class mem_fun1_ref_t : public boost::functional::detail::binary_function<T&, A, S>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:46:24: note: '__binary_function' declared here
using std::binary_function;
^
/opt/anaconda3/include/boost/functional.hpp:470:67: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'?
class const_mem_fun_ref_t : public boost::functional::detail::unary_function<const T&, S>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:45:24: note: '__unary_function' declared here
using std::unary_function;
^
/opt/anaconda3/include/boost/functional.hpp:487:68: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'?
class const_mem_fun1_ref_t : public boost::functional::detail::binary_function<const T&, A, S>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:46:24: note: '__binary_function' declared here
using std::binary_function;
^
/opt/anaconda3/include/boost/functional.hpp:533:73: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'?
class pointer_to_unary_function : public boost::functional::detail::unary_function<Arg,Result>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:45:24: note: '__unary_function' declared here
using std::unary_function;
^
/opt/anaconda3/include/boost/functional.hpp:557:74: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'?
class pointer_to_binary_function : public boost::functional::detail::binary_function<Arg1,Arg2,Result>
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/anaconda3/include/boost/functional.hpp:46:24: note: '__binary_function' declared here
using std::binary_function;
^
16 errors generated.
make[3]: *** [cpp/CMakeFiles/pea.dir/pea/main.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [cpp/CMakeFiles/pea.dir/all] Error 2
make[1]: *** [cpp/CMakeFiles/pea.dir/rule] Error 2
make: *** [pea] Error 2
(base) joannakanska@Air-Joanna build % 
seballgeyer commented 1 month ago

Sorry, for the confusion, when I said Please share the full output of the CMake configuration step. This will help us check if all dependencies are being correctly detected. I was meaning the output of the cmake ../. command.

jkanska23 commented 1 month ago

Sure:

(base) joannakanska@Air-Joanna build % cmake -DCMAKE_TOOLCHAIN_FILE=compile_mac_arm64.cmake .. -- The C compiler identification is AppleClang 15.0.0.15000309 -- The CXX compiler identification is AppleClang 15.0.0.15000309 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using Clang complient compiler flags -- Setting ccache off -- Setting optimisation on -- Setting arch optimisation off -- Setting parallelisation on -- Found OpenMP_C: -Xclang -fopenmp (found version "5.0") -- Found OpenMP_CXX: -Xclang -fopenmp (found version "5.0") -- Found OpenMP: TRUE (found version "5.0") -- Setting docs off -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found OpenSSL: /opt/homebrew/Cellar/openssl@3/3.3.2/lib/libcrypto.dylib (found version "3.3.2") CMake Warning (dev) at CMakeLists.txt:166 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

-- Found Boost: /opt/anaconda3/lib/cmake/Boost-1.82.0/BoostConfig.cmake (found suitable version "1.82.0", minimum required is "1.73.0") found components: log log_setup date_time system thread program_options serialization timer stacktraceaddr2line -- Found SASL2: 2.1.26 (found suitable version "2.1.26", minimum required is "2.0") -- Found NetCDF: /opt/homebrew/lib/libnetcdf-cxx4.dylib;/opt/homebrew/lib/libnetcdf.dylib -- Looking for sgemm -- Looking for sgemm - not found -- Looking for dgemm -- Looking for dgemm_ - found -- Found BLAS: /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/Accelerate.framework -- Found BLAS library: All -- Found YAML library: /opt/homebrew/lib/libyaml-cpp.dylib -- Found NetCDF library: /opt/homebrew/lib/libnetcdf-cxx4.dylib -- Found Eigen version: 3.4.0 -- Found Boost version: 1.82.0 -- Found Mongocxx version: 3.10.2 -- Found C++ compiler: AppleClang 15.0.0.15000309 -- Found Git: /usr/bin/git (found version "2.39.3 (Apple Git-146)") -- Git branch tag: untagged-3162f8796e5ae38581942e760cf504870dea5eb1 -- Git branch: main -- CMAKE_CURRENT_BINARY_DIR: /Users/joannakanska/ginan/src/build -- CMAKE_CURRENT_SOURCE_DIR: /Users/joannakanska/ginan/src -- CMAKE_CXX_FLAGS: -Wno-shift-overflow -Wno-string-concatenation -std=c++2a -fpermissive -fno-omit-frame-pointer -Wall -Wno-write-strings -Wno-deprecated-declarations -Wno-narrowing -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-variable -Wno-switch -Wno-dangling-else -Wno-misleading-indentation -Wno-extern-c-compat -Wno-format-zero-length -Wno-array-bounds -O3 -Xclang -fopenmp -pthread -- Configuring done (2.6s) -- Generating done (0.1s) -- Build files have been written to: /Users/joannakanska/ginan/src/build

seballgeyer commented 1 month ago

Hi Joanna,

Thank you for providing the details.

One thing that stands out is that the Boost library being used in your build appears to be from your Anaconda installation (/opt/anaconda3/lib/) rather than from the Homebrew installation. While we can't be certain this is the cause of your issue, it’s a possibility worth exploring.

To ensure that CMake is using the correct Boost installation from Homebrew, you can try one of the following approaches:

  1. Pass the BOOST_ROOT option directly to CMake: When calling CMake, you can specify the path to the correct Boost installation:

cmake ../. -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT=/opt/homebrew/Cellar/boost/1.86.0 -DCMAKE_TOOLCHAIN_FILE=compile_mac_arm64.cmake


2. Modify your compile_mac_arm64.cmake file:
Alternatively, you can add the following line to your compile_mac_arm64.cmake file to set the correct Boost path:

```cmake

    set(BOOST_ROOT /opt/homebrew/Cellar/boost/1.86.0)

Before making either of these changes, be sure to remove your build directory and recreate it to clear the CMake cache:


rm -rf build
mkdir build
cd build

Then, run CMake again with the modified configuration. Hopefully, this resolves the issue—fingers crossed!

Let us know if this works or if you encounter any further problems.

Best regards, Sebastien

jkanska23 commented 1 month ago

It works! Thank you very much!

Best regards, Joanna