You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running on Intel Mac OS Ventura 13.6.3 , RStudio 2023.12.1+402, R (2023-10-31, Eye Holes)
First hurdle: installation failed 'cause mpfr not installed . Problem solved.
Second hurdle: I am getting the error log copied below with one error and one warning both outside my competence level!
Please advise.
Regards
M.P.
================================ Log copied from RSTUDIO
remotes::install_github("thomasp85/euclid")
Downloading GitHub repo thomasp85/euclid@HEAD
Running R CMD build...
checking for file ‘/private/var/folders/d9/0_vkl4tn39dg7ly6qjxblxfr0000gr/T/Rtmph2NaaT/remotes140c958ec5091/thomasp85-euclid-e9b7c93/DESCRIPTION’ ... OK
preparing ‘euclid’:
checking DESCRIPTION meta-information ... OK
cleaning src
running ‘cleanup’
checking for LF line-endings in source and make files and shell scripts
checking for empty or unneeded directories
building ‘euclid_0.0.0.9000.tar.gz’
installing source package ‘euclid’ ...
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/opt/local/include
Using PKG_LIBS=-L/opt/local/lib -lmpfr -lgmp
** libs
using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’
using C++14
using SDK: ‘’
clang++ -arch x86_64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DCGAL_DO_NOT_USE_BOOST_MP -DCGAL_USE_GMPXX -DCGAL_NDEBUG -I/opt/local/include -I../inst/include/internal/ -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cpp11/include' -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include' -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c api.cpp -o api.o
In file included from api.cpp:7:
In file included from ../inst/include/internal/cgal_types.h:5:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Exact_predicates_exact_constructions_kernel.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Simple_cartesian.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Cartesian/Cartesian_base.h:62:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Cartesian/function_objects.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Kernel/function_objects.h:29:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/intersection_3.h:59:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Intersections_3/Plane_3_Triangle_3.h:25:
/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Intersections_3/internal/Plane_3_Triangle_3_intersection.h:144:65: error: no member named 'prior' in namespace 'boost'
k.construct_segment_3_object()(*pts.begin(), *boost::prior(pts.end())));
~~~~~~~^
In file included from api.cpp:7:
In file included from ../inst/include/internal/cgal_types.h:5:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Exact_predicates_exact_constructions_kernel.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Simple_cartesian.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Cartesian/Cartesian_base.h:62:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Cartesian/function_objects.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Kernel/function_objects.h:29:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/intersection_3.h:86:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Intersections_3/Triangle_3_Triangle_3.h:26:
/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Intersections_3/internal/Triangle_3_Triangle_3_intersection.h:54:7: warning: variable 'pt_added' set but not used [-Wunused-but-set-variable]
int pt_added = 0;
^
1 warning and 1 error generated.
make: *** [api.o] Error 1
ERROR: compilation failed for package ‘euclid’
removing ‘/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/euclid’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/d9/0_vkl4tn39dg7ly6qjxblxfr0000gr/T//Rtmph2NaaT/file140c9818dff9/euclid_0.0.0.9000.tar.gz’ had non-zero exit status
The text was updated successfully, but these errors were encountered:
I am getting the same issue, except that my gmp and mpfr are in /opt/homebrew/.... It's also way beyond my expertise to know how to fix this - any help much appreciated. I'd really like to get access to arithmetic precision computational geometry!
Running on Intel Mac OS Ventura 13.6.3 , RStudio 2023.12.1+402, R (2023-10-31, Eye Holes)
First hurdle: installation failed 'cause mpfr not installed . Problem solved.
Second hurdle: I am getting the error log copied below with one error and one warning both outside my competence level!
Please advise.
Regards
M.P.
================================ Log copied from RSTUDIO
remotes::install_github("thomasp85/euclid")
Downloading GitHub repo thomasp85/euclid@HEAD
Running
R CMD build
...** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/opt/local/include
Using PKG_LIBS=-L/opt/local/lib -lmpfr -lgmp
** libs
using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’
using C++14
using SDK: ‘’
clang++ -arch x86_64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DCGAL_DO_NOT_USE_BOOST_MP -DCGAL_USE_GMPXX -DCGAL_NDEBUG -I/opt/local/include -I../inst/include/internal/ -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cpp11/include' -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include' -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c api.cpp -o api.o
In file included from api.cpp:7:
In file included from ../inst/include/internal/cgal_types.h:5:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Exact_predicates_exact_constructions_kernel.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Simple_cartesian.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Cartesian/Cartesian_base.h:62:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Cartesian/function_objects.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Kernel/function_objects.h:29:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/intersection_3.h:59:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Intersections_3/Plane_3_Triangle_3.h:25:
/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Intersections_3/internal/Plane_3_Triangle_3_intersection.h:144:65: error: no member named 'prior' in namespace 'boost'
k.construct_segment_3_object()(*pts.begin(), *boost::prior(pts.end())));
~~~~~~~^
In file included from api.cpp:7:
In file included from ../inst/include/internal/cgal_types.h:5:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Exact_predicates_exact_constructions_kernel.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Simple_cartesian.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Cartesian/Cartesian_base.h:62:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Cartesian/function_objects.h:20:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Kernel/function_objects.h:29:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/intersection_3.h:86:
In file included from /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Intersections_3/Triangle_3_Triangle_3.h:26:
/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cgalh/include/CGAL/Intersections_3/internal/Triangle_3_Triangle_3_intersection.h:54:7: warning: variable 'pt_added' set but not used [-Wunused-but-set-variable]
int pt_added = 0;
^
1 warning and 1 error generated.
make: *** [api.o] Error 1
ERROR: compilation failed for package ‘euclid’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/d9/0_vkl4tn39dg7ly6qjxblxfr0000gr/T//Rtmph2NaaT/file140c9818dff9/euclid_0.0.0.9000.tar.gz’ had non-zero exit status
The text was updated successfully, but these errors were encountered: