Open francomomo opened 3 years ago
sudo apt install gfortran
?locate quadmath
and provide the output? On a x86_64, the output looks like /usr/lib/gcc/x86_64-linux-gnu/7/libquadmath.a
, I'm not sure for M1 architecture.gfortran -print-file-name=libquadmath.a
and provide the output? This is the command used in CMake to locate the library.gfortran
installedlocate quadmath
. After doing some digging, it seems like libquadmath0
package doesn't support ARM architecture yet. libquadmath0
package details can be found here.libquadmath.a
Thank you for your help! It seems to me this is a CPU architecture issue. If you have more insight I would love to here about them!
I don't have access to a M1 computer so it's a bit challenging to debug. If you happen to be a Johns Hopkins student, maybe email me and we can either meet in person or over Zoom. Another thought, what happens if you comment out the quadmath code in CMakeLists? Lines 231 to 234 and 255? (see https://github.com/jhu-cisst/cisstNetlib/blob/19932915dc3e24bddeff7078b270f862e86e3f9e/CMakeLists.txt#L231)
Yes! That solved the problem. I am able to build cisst_netlib
now.
Now, I am running into the following issue
Which package are you ultimately trying to use? cisst-SAW comes with tons of different hardware wrappers and not all have been properly maintained. sawClaronMicronTracker has not been updated in a while but I could work on it if this is what you need. Also, in the recent past, we started to use wstool to pull only subsets of repository to match the users needs instead of using git --recursive and pulling tons of unused components (see for example the build instructions for the dVRK: https://github.com/jhu-dvrk/sawIntuitiveResearchKit/wiki/CatkinBuild).
Hello!
I am following the instructions in section 1.3 to build tools for ROS. I am having some problems building the
cisst_netlib
package. It seems like it cannot find this filecisst-saw/cisstNetlib/libquadmath.a
.I am trying to build this in Ubuntu 20.04 on parallels on Macbook w/ M1 chip.
Below is the log after running
catkin build --summary
.