Closed stephenashton-dhsc closed 10 months ago
@krlmlr You probably know this already, but just in case I wanted to mention that this seems related to the space in Program Files
Could it also be to do with the dependency on libxml2
?
I'm not 100% sure if we've got this (as this is on a corporate laptop, where we've got a lot of restrictions on what can be installed/accessed).
Apologies if it is this (as I know it's mentioned elsewhere) - I can always wait for the binary :)
That may be an additional issue, and for your convenience I recommend waiting for the binary. But clearly the path after the -I
flags should be quoted. Without the quoting this won't work.
@Antonov548: Can you please take a look?
In the meantime, can you install from r-universe: https://igraph.r-universe.dev/igraph# ? Binaries are available there too.
Just to confirm, it does appear that the issue is being caused by the space in the path - if I run Sys.setenv(RTOOLS42_HOME="C:\\PROGRA~1\\rtools42")
to use the alias for the Program Files
directory, it all works without issue.
Also can confirm that installation happens without errors for me.
@Antonov548: As @stephenashton-dhsc wrote, this depends on where the RTools are installed. On a path with spaces, it fails now. We need quotes after or around -I
(and perhaps other path-related switches) in Makevars.win
.
I just don't see any "
in the 1.5 version. @stephenashton-dhsc is it only with latest 1.6?
I think if it worked before it will help to find a way to fix it, because simply adding "
doesn't add it for commpilation.
To properly reproduce it I have to install R in some folder with space.
Apologies, I've just checked and it does appear to be a historical issue (not just related to 1.6.0), as I can also reproduce the error with my default setup for both 1.5.1 and 1.5.0 - I'm sure I've installed igraph from source on this machine previously, but clearly not!
Thanks, this helps.
@Antonov548: I think the installation location of RTools is critical, the one of R itself less so, but could also play a role.
Is this really an igraph issue? Can you install, e.g., rlang from source?
It looks like rlang is working - although it looks like the -I
arguments being processed are quoted, so the space in the file path won't matter.
I suspect it's a broader issue to be honest - if a path with a space if passed unquoted, I presume it would fail within any package source build.
> install.packages("rlang", type = "source")
Installing package into ‘C:/Users/SAshton/AppData/Local/R/win-library/4.2.1’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://cloud.r-project.org/src/contrib/rlang_1.1.2.tar.gz'
Content type 'application/x-gzip' length 763521 bytes (745 KB)
downloaded 745 KB
* installing *source* package 'rlang' ...
** package 'rlang' successfully unpacked and MD5 sums checked
** using staged installation
** libs
gcc -I"C:/PROGRA~1/R/R-42~1.1/include" -DNDEBUG -I./rlang/ -I"C:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c capture.c -o capture.o
gcc -I"C:/PROGRA~1/R/R-42~1.1/include" -DNDEBUG -I./rlang/ -I"C:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c internal.c -o internal.o
gcc -I"C:/PROGRA~1/R/R-42~1.1/include" -DNDEBUG -I./rlang/ -I"C:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rlang.c -o rlang.o
gcc -I"C:/PROGRA~1/R/R-42~1.1/include" -DNDEBUG -I./rlang/ -I"C:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c version.c -o version.o
gcc -shared -s -static-libgcc -o rlang.dll tmp.def capture.o internal.o rlang.o version.o -LC:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-42~1.1/bin/x64 -lR
installing to C:/Users/SAshton/AppData/Local/R/win-library/4.2.1/00LOCK-rlang/00new/rlang/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (rlang)
The downloaded source packages are in
‘C:\Users\SAshton\AppData\Local\Temp\1\RtmpAz05Vc\downloaded_packages’
@Antonov548: I think Makevars.ucrt
is to blame here.
@Antonov548: I think
Makevars.ucrt
is to blame here.
Yes, you are right. It's in ucrt
. I forgot that it's used. I have tried with quotes locally and it works, it actually add quotes to compilation https://github.com/igraph/rigraph/pull/1000
Just ran the new branch and it's working for me - thanks all! 👍
Actually, spoke too soon - failed on the very last call!
g++ -std=gnu++11 -shared -s -static-libgcc -o igraph.dll igraph-win.def init.o cpp11.o rinterface_extra.o cpprinterface.o lazyeval.o rinterface.o rrandom.o vendor/io/dl-parser.o vendor/io/ncol-lexer.o vendor/io/gml-parser.o vendor/io/ncol-parser.o vendor/io/gml-lexer.o vendor/io/dl-lexer.o vendor/io/lgl-parser.o vendor/io/lgl-lexer.o vendor/io/pajek-lexer.o vendor/io/pajek-parser.o vendor/cigraph/src/version.o vendor/cigraph/src/io/parse_utils.o vendor/cigraph/src/io/dl.o vendor/cigraph/src/io/edgelist.o vendor/cigraph/src/io/dimacs.o vendor/cigraph/src/io/gml.o vendor/cigraph/src/io/graphml.o vendor/cigraph/src/io/ncol.o vendor/cigraph/src/io/dot.o vendor/cigraph/src/io/lgl.o vendor/cigraph/src/io/pajek.o vendor/cigraph/src/io/leda.o vendor/cigraph/src/io/gml-tree.o vendor/cigraph/src/io/graphdb.o vendor/cigraph/src/misc/degree_sequence.o vendor/cigraph/src/misc/feedback_arc_set.o vendor/cigraph/src/misc/cocitation.o vendor/cigraph/src/misc/scan.o vendor/cigraph/src/misc/embedding.o vendor/cigraph/src/misc/power_law_fit.o vendor/cigraph/src/misc/cycle_bases.o vendor/cigraph/src/misc/mixing.o vendor/cigraph/src/misc/motifs.o vendor/cigraph/src/misc/graphicality.o vendor/cigraph/src/misc/matching.o vendor/cigraph/src/misc/order_cycle.o vendor/cigraph/src/misc/spanning_trees.o vendor/cigraph/src/misc/sir.o vendor/cigraph/src/misc/bipartite.o vendor/cigraph/src/misc/chordality.o vendor/cigraph/src/misc/microscopic_update.o vendor/cigraph/src/misc/coloring.o vendor/cigraph/src/misc/other.o vendor/cigraph/src/misc/conversion.o vendor/cigraph/src/hrg/hrg.o vendor/cigraph/src/hrg/hrg_types.o vendor/cigraph/src/isomorphism/lad.o vendor/cigraph/src/isomorphism/queries.o vendor/cigraph/src/isomorphism/isoclasses.o vendor/cigraph/src/isomorphism/isomorphism_misc.o vendor/cigraph/src/isomorphism/vf2.o vendor/cigraph/src/isomorphism/bliss.o vendor/cigraph/src/isomorphism/bliss/heap.o vendor/cigraph/src/isomorphism/bliss/uintseqhash.o vendor/cigraph/src/isomorphism/bliss/partition.o vendor/cigraph/src/isomorphism/bliss/graph.o vendor/cigraph/src/isomorphism/bliss/utils.o vendor/cigraph/src/isomorphism/bliss/orbit.o vendor/cigraph/src/isomorphism/bliss/defs.o vendor/cigraph/src/connectivity/cohesive_blocks.o vendor/cigraph/src/connectivity/separators.o vendor/cigraph/src/connectivity/components.o vendor/cigraph/src/properties/degrees.o vendor/cigraph/src/properties/triangles.o vendor/cigraph/src/properties/basic_properties.o vendor/cigraph/src/properties/girth.o vendor/cigraph/src/properties/loops.o vendor/cigraph/src/properties/constraint.o vendor/cigraph/src/properties/convergence_degree.o vendor/cigraph/src/properties/ecc.o vendor/cigraph/src/properties/neighborhood.o vendor/cigraph/src/properties/dag.o vendor/cigraph/src/properties/multiplicity.o vendor/cigraph/src/properties/spectral.o vendor/cigraph/src/properties/perfect.o vendor/cigraph/src/properties/trees.o vendor/cigraph/src/games/growing_random.o vendor/cigraph/src/games/citations.o vendor/cigraph/src/games/establishment.o vendor/cigraph/src/games/watts_strogatz.o vendor/cigraph/src/games/tree.o vendor/cigraph/src/games/dotproduct.o vendor/cigraph/src/games/degree_sequence.o vendor/cigraph/src/games/erdos_renyi.o vendor/cigraph/src/games/static_fitness.o vendor/cigraph/src/games/preference.o vendor/cigraph/src/games/recent_degree.o vendor/cigraph/src/games/callaway_traits.o vendor/cigraph/src/games/grg.o vendor/cigraph/src/games/k_regular.o vendor/cigraph/src/games/correlated.o vendor/cigraph/src/games/barabasi.o vendor/cigraph/src/games/sbm.o vendor/cigraph/src/games/islands.o vendor/cigraph/src/games/forestfire.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_graph_molloy_optimized.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_degree_sequence.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_graph_molloy_hash.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_random.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_mr-connected.o vendor/cigraph/src/core/printing.o vendor/cigraph/src/core/interruption.o vendor/cigraph/src/core/vector_ptr.o vendor/cigraph/src/core/memory.o vendor/cigraph/src/core/sparsemat.o vendor/cigraph/src/core/error.o vendor/cigraph/src/core/genheap.o vendor/cigraph/src/core/progress.o vendor/cigraph/src/core/statusbar.o vendor/cigraph/src/core/heap.o vendor/cigraph/src/core/indheap.o vendor/cigraph/src/core/grid.o vendor/cigraph/src/core/trie.o vendor/cigraph/src/core/stack.o vendor/cigraph/src/core/estack.o vendor/cigraph/src/core/buckets.o vendor/cigraph/src/core/vector_list.o vendor/cigraph/src/core/matrix_list.o vendor/cigraph/src/core/fixed_vectorlist.o vendor/cigraph/src/core/strvector.o vendor/cigraph/src/core/marked_queue.o vendor/cigraph/src/core/dqueue.o vendor/cigraph/src/core/array.o vendor/cigraph/src/core/cutheap.o vendor/cigraph/src/core/matrix.o vendor/cigraph/src/core/psumtree.o vendor/cigraph/src/core/vector.o vendor/cigraph/src/core/set.o vendor/cigraph/src/internal/glpk_support.o vendor/cigraph/src/internal/hacks.o vendor/cigraph/src/internal/lsap.o vendor/cigraph/src/internal/zeroin.o vendor/cigraph/src/internal/utils.o vendor/cigraph/src/internal/qsort_r.o vendor/cigraph/src/internal/qsort.o vendor/cigraph/src/operators/disjoint_union.o vendor/cigraph/src/operators/subgraph.o vendor/cigraph/src/operators/intersection.o vendor/cigraph/src/operators/simplify.o vendor/cigraph/src/operators/compose.o vendor/cigraph/src/operators/complementer.o vendor/cigraph/src/operators/rewire_edges.o vendor/cigraph/src/operators/union.o vendor/cigraph/src/operators/permute.o vendor/cigraph/src/operators/misc_internal.o vendor/cigraph/src/operators/contract.o vendor/cigraph/src/operators/add_edge.o vendor/cigraph/src/operators/reverse.o vendor/cigraph/src/operators/difference.o vendor/cigraph/src/operators/connect_neighborhood.o vendor/cigraph/src/operators/rewire.o vendor/cigraph/src/layout/large_graph.o vendor/cigraph/src/layout/sugiyama.o vendor/cigraph/src/layout/circular.o vendor/cigraph/src/layout/layout_bipartite.o vendor/cigraph/src/layout/graphopt.o vendor/cigraph/src/layout/fruchterman_reingold.o vendor/cigraph/src/layout/kamada_kawai.o vendor/cigraph/src/layout/davidson_harel.o vendor/cigraph/src/layout/merge_dla.o vendor/cigraph/src/layout/gem.o vendor/cigraph/src/layout/layout_random.o vendor/cigraph/src/layout/reingold_tilford.o vendor/cigraph/src/layout/merge_grid.o vendor/cigraph/src/layout/umap.o vendor/cigraph/src/layout/mds.o vendor/cigraph/src/layout/layout_grid.o vendor/cigraph/src/layout/drl/drl_graph_3d.o vendor/cigraph/src/layout/drl/drl_layout_3d.o vendor/cigraph/src/layout/drl/drl_parse.o vendor/cigraph/src/layout/drl/DensityGrid_3d.o vendor/cigraph/src/layout/drl/drl_layout.o vendor/cigraph/src/layout/drl/DensityGrid.o vendor/cigraph/src/layout/drl/drl_graph.o vendor/cigraph/src/community/louvain.o vendor/cigraph/src/community/optimal_modularity.o vendor/cigraph/src/community/leading_eigenvector.o vendor/cigraph/src/community/edge_betweenness.o vendor/cigraph/src/community/community_misc.o vendor/cigraph/src/community/leiden.o vendor/cigraph/src/community/modularity.o vendor/cigraph/src/community/label_propagation.o vendor/cigraph/src/community/fast_modularity.o vendor/cigraph/src/community/voronoi.o vendor/cigraph/src/community/fluid.o vendor/cigraph/src/community/spinglass/pottsmodel_2.o vendor/cigraph/src/community/spinglass/NetRoutines.o vendor/cigraph/src/community/spinglass/clustertool.o vendor/cigraph/src/community/spinglass/NetDataTypes.o vendor/cigraph/src/community/walktrap/walktrap_heap.o vendor/cigraph/src/community/walktrap/walktrap_graph.o vendor/cigraph/src/community/walktrap/walktrap_communities.o vendor/cigraph/src/community/walktrap/walktrap.o vendor/cigraph/src/community/infomap/infomap.o vendor/cigraph/src/community/infomap/infomap_Greedy.o vendor/cigraph/src/community/infomap/infomap_FlowGraph.o vendor/cigraph/src/paths/astar.o vendor/cigraph/src/paths/widest_paths.o vendor/cigraph/src/paths/random_walk.o vendor/cigraph/src/paths/distances.o vendor/cigraph/src/paths/floyd_warshall.o vendor/cigraph/src/paths/shortest_paths.o vendor/cigraph/src/paths/eulerian.o vendor/cigraph/src/paths/johnson.o vendor/cigraph/src/paths/bellman_ford.o vendor/cigraph/src/paths/voronoi.o vendor/cigraph/src/paths/unweighted.o vendor/cigraph/src/paths/all_shortest_paths.o vendor/cigraph/src/paths/sparsifier.o vendor/cigraph/src/paths/dijkstra.o vendor/cigraph/src/paths/simple_paths.o vendor/cigraph/src/paths/histogram.o vendor/cigraph/src/flow/flow.o vendor/cigraph/src/flow/st-cuts.o vendor/cigraph/src/flow/flow_conversion.o vendor/cigraph/src/math/utils.o vendor/cigraph/src/math/safe_intop.o vendor/cigraph/src/math/complex.o vendor/cigraph/src/constructors/regular.o vendor/cigraph/src/constructors/de_bruijn.o vendor/cigraph/src/constructors/basic_constructors.o vendor/cigraph/src/constructors/generalized_petersen.o vendor/cigraph/src/constructors/lattices.o vendor/cigraph/src/constructors/adjacency.o vendor/cigraph/src/constructors/famous.o vendor/cigraph/src/constructors/atlas.o vendor/cigraph/src/constructors/linegraph.o vendor/cigraph/src/constructors/kautz.o vendor/cigraph/src/constructors/circulant.o vendor/cigraph/src/constructors/lcf.o vendor/cigraph/src/constructors/trees.o vendor/cigraph/src/constructors/full.o vendor/cigraph/src/constructors/prufer.o vendor/cigraph/src/graph/basic_query.o vendor/cigraph/src/graph/type_indexededgelist.o vendor/cigraph/src/graph/graph_list.o vendor/cigraph/src/graph/caching.o vendor/cigraph/src/graph/type_common.o vendor/cigraph/src/graph/adjlist.o vendor/cigraph/src/graph/cattributes.o vendor/cigraph/src/graph/attributes.o vendor/cigraph/src/graph/visitors.o vendor/cigraph/src/graph/iterators.o vendor/cigraph/src/random/rng_pcg64.o vendor/cigraph/src/random/rng_glibc2.o vendor/cigraph/src/random/rng_pcg32.o vendor/cigraph/src/random/rng_mt19937.o vendor/cigraph/src/random/random.o vendor/cigraph/src/linalg/eigen.o vendor/cigraph/src/linalg/lapack.o vendor/cigraph/src/linalg/arpack.o vendor/cigraph/src/linalg/blas.o vendor/cigraph/src/centrality/centrality_other.o vendor/cigraph/src/centrality/centralization.o vendor/cigraph/src/centrality/hub_authority.o vendor/cigraph/src/centrality/prpack.o vendor/cigraph/src/centrality/pagerank.o vendor/cigraph/src/centrality/coreness.o vendor/cigraph/src/centrality/closeness.o vendor/cigraph/src/centrality/eigenvector.o vendor/cigraph/src/centrality/truss.o vendor/cigraph/src/centrality/betweenness.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_gs_graph.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_ge_graph.o vendor/cigraph/src/centrality/prpack/prpack_utils.o vendor/cigraph/src/centrality/prpack/prpack_igraph_graph.o vendor/cigraph/src/centrality/prpack/prpack_result.o vendor/cigraph/src/centrality/prpack/prpack_base_graph.o vendor/cigraph/src/centrality/prpack/prpack_solver.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_scc_graph.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_schur_graph.o vendor/cigraph/src/cliques/maximal_cliques.o vendor/cigraph/src/cliques/glet.o vendor/cigraph/src/cliques/cliques.o vendor/cigraph/src/cliques/cliquer_wrapper.o vendor/cigraph/src/cliques/cliquer/cliquer_graph.o vendor/cigraph/src/cliques/cliquer/reorder.o vendor/cigraph/src/cliques/cliquer/cliquer.o vendor/cigraph/vendor/plfit/options.o vendor/cigraph/vendor/plfit/lbfgs.o vendor/cigraph/vendor/plfit/mt.o vendor/cigraph/vendor/plfit/gss.o vendor/cigraph/vendor/plfit/rbinom.o vendor/cigraph/vendor/plfit/plfit_error.o vendor/cigraph/vendor/plfit/hzeta.o vendor/cigraph/vendor/plfit/plfit.o vendor/cigraph/vendor/plfit/platform.o vendor/cigraph/vendor/plfit/sampling.o vendor/cigraph/vendor/plfit/kolmogorov.o vendor/cigraph/vendor/cs/cs_post.o vendor/cigraph/vendor/cs/cs_updown.o vendor/cigraph/vendor/cs/cs_amd.o vendor/cigraph/vendor/cs/cs_happly.o vendor/cigraph/vendor/cs/cs_pinv.o vendor/cigraph/vendor/cs/cs_droptol.o vendor/cigraph/vendor/cs/cs_cumsum.o vendor/cigraph/vendor/cs/cs_permute.o vendor/cigraph/vendor/cs/cs_counts.o vendor/cigraph/vendor/cs/cs_qrsol.o vendor/cigraph/vendor/cs/cs_lu.o vendor/cigraph/vendor/cs/cs_dropzeros.o vendor/cigraph/vendor/cs/cs_tdfs.o vendor/cigraph/vendor/cs/cs_entry.o vendor/cigraph/vendor/cs/cs_chol.o vendor/cigraph/vendor/cs/cs_ltsolve.o vendor/cigraph/vendor/cs/cs_cholsol.o vendor/cigraph/vendor/cs/cs_dfs.o vendor/cigraph/vendor/cs/cs_add.o vendor/cigraph/vendor/cs/cs_usolve.o vendor/cigraph/vendor/cs/cs_pvec.o vendor/cigraph/vendor/cs/cs_ereach.o vendor/cigraph/vendor/cs/cs_etree.o vendor/cigraph/vendor/cs/cs_gaxpy.o vendor/cigraph/vendor/cs/cs_spsolve.o vendor/cigraph/vendor/cs/cs_randperm.o vendor/cigraph/vendor/cs/cs_ipvec.o vendor/cigraph/vendor/cs/cs_house.o vendor/cigraph/vendor/cs/cs_qr.o vendor/cigraph/vendor/cs/cs_print.o vendor/cigraph/vendor/cs/cs_maxtrans.o vendor/cigraph/vendor/cs/cs_dmperm.o vendor/cigraph/vendor/cs/cs_utsolve.o vendor/cigraph/vendor/cs/cs_lusol.o vendor/cigraph/vendor/cs/cs_symperm.o vendor/cigraph/vendor/cs/cs_scatter.o vendor/cigraph/vendor/cs/cs_reach.o vendor/cigraph/vendor/cs/cs_dupl.o vendor/cigraph/vendor/cs/cs_transpose.o vendor/cigraph/vendor/cs/cs_leaf.o vendor/cigraph/vendor/cs/cs_scc.o vendor/cigraph/vendor/cs/cs_lsolve.o vendor/cigraph/vendor/cs/cs_util.o vendor/cigraph/vendor/cs/cs_compress.o vendor/cigraph/vendor/cs/cs_fkeep.o vendor/cigraph/vendor/cs/cs_load.o vendor/cigraph/vendor/cs/cs_norm.o vendor/cigraph/vendor/cs/cs_sqr.o vendor/cigraph/vendor/cs/cs_malloc.o vendor/cigraph/vendor/cs/cs_multiply.o vendor/cigraph/vendor/cs/cs_schol.o vendor/cigraph/vendor/pcg/pcg-rngs-64.o vendor/cigraph/vendor/pcg/pcg-output-32.o vendor/cigraph/vendor/pcg/pcg-advance-128.o vendor/cigraph/vendor/pcg/pcg-advance-64.o vendor/cigraph/vendor/pcg/pcg-rngs-128.o vendor/cigraph/vendor/pcg/pcg-output-128.o vendor/cigraph/vendor/pcg/pcg-output-64.o vendor/arpack/dsaitr.o vendor/arpack/dnaupd.o vendor/arpack/dstqrb.o vendor/arpack/dgetv0.o vendor/arpack/dsapps.o vendor/arpack/dngets.o vendor/arpack/dnaitr.o vendor/arpack/dnaup2.o vendor/arpack/dnconv.o vendor/arpack/dstats.o vendor/arpack/dsortc.o vendor/arpack/dneigh.o vendor/arpack/dnapps.o vendor/arpack/dneupd.o vendor/arpack/dsesrt.o vendor/arpack/dsortr.o vendor/arpack/dvout.o vendor/arpack/dsaup2.o vendor/arpack/dsconv.o vendor/arpack/wrap.o vendor/arpack/dseigt.o vendor/arpack/dlaqrb.o vendor/arpack/dmout.o vendor/arpack/dstatn.o vendor/arpack/ivout.o vendor/arpack/dsgets.o vendor/arpack/second.o vendor/arpack/dsaupd.o vendor/arpack/dseupd.o vendor/mini-gmp/mini-gmp.o vendor/simpleraytracer/Triangle.o vendor/simpleraytracer/Light.o vendor/simpleraytracer/unit_limiter.o vendor/simpleraytracer/Ray.o vendor/simpleraytracer/RayTracer.o vendor/simpleraytracer/Point.o vendor/simpleraytracer/Color.o vendor/simpleraytracer/RIgraphRay.o vendor/simpleraytracer/Sphere.o vendor/simpleraytracer/Shape.o vendor/simpleraytracer/RayVector.o vendor/uuid/isnull.o vendor/uuid/clear.o vendor/uuid/unparse.o vendor/uuid/compare.o vendor/uuid/R.o vendor/uuid/pack.o vendor/uuid/gen_uuid.o vendor/uuid/unpack.o vendor/uuid/parse.o vendor/uuid/copy.o -LC:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/lib -lxml2 -liconv -lz -lws2_32 -lstdc++ -lglpk -lgmp -LC:/PROGRA~1/R/R-42~1.1/bin/x64 -lRblas -LC:/PROGRA~1/R/R-42~1.1/bin/x64 -lRlapack -llzma -LC:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-42~1.1/bin/x64 -lR
g++.exe: error: Files/rtools42/x86_64-w64-mingw32.static.posix/lib: No such file or directory
make: *** [C:/PROGRA~1/R/R-42~1.1/share/make/winshlib.mk:16: igraph.dll] Error 1
ERROR: compilation failed for package 'igraph'
I think this might be within Makevars.in? Will -L${LIB_XML}/lib
need to become -L"${LIB_XML}/lib"
?
I think this might be within Makevars.in? Will
-L${LIB_XML}/lib
need to become-L"${LIB_XML}/lib"
?
Oh, I see. It also exists in linking stage. I have pushed new changes to the branch. May you try again please?
Yep, that's got it! (And I actually waited for it to finish this time, rather than just assuming it would after it passed the last error point!)
Massive thanks!
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (igraph)
What happens?
When try to compile/install igraph 1.6.0 under R 4.2.1, I receive a compile error
If you need any additional information, please let me know.
To Reproduce
Created on 2023-12-11 with reprex v2.0.2