-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
When compiling for Mac Arm64 (using g++ and c++ 14 for std), I was getting a linker error stating:
Undefined symbols for architecture arm64:
"DAG<boost::multiprecision::number<boost::multiprecision::backends::gmp_int, (boost::multiprecision::expression_template_option)1>>::computeNbModels()", referenced from:
vtable for DAG<boost::multiprecision::number<boost::multiprecision::backends::gmp_int, (boost::multiprecision::expression_template_option)1>> in Main.o
"DAG<boost::multiprecision::number<boost::multiprecision::backends::gmp_float<0u>, (boost::multiprecision::expression_template_option)1>>::computeNbModels()", referenced from:
vtable for DAG<boost::multiprecision::number<boost::multiprecision::backends::gmp_float<0u>, (boost::multiprecision::expression_template_option)1>> in Main.o
ld: symbol(s) not found for architecture arm64
This was after updating to the arm64 binary for gmp
It was fixed for me by replacing virtual T computeNbModels(); with virtual T computeNbModels()=0; in DAG/DAG.hh
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels