Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error #247

Open
ZhaohanJackWang opened this issue Jul 19, 2022 · 0 comments
Open

Installation error #247

ZhaohanJackWang opened this issue Jul 19, 2022 · 0 comments

Comments

@ZhaohanJackWang
Copy link

Hi there,

I've encountered some trouble when installing fmm. My computer system is windows 11. I have followed along the windows tutorial and install all required libraries. My computer system is windows 11.

I've also specified the python libraries:
cmake .. -DPYTHON_LIBRARY=/usr/lib/libpython3.8.dylib -DPYTHON_INCLUDE_DIR=/usr/include/python3.8

which returned:

-- Found PythonInterp: C:/Users/admin/anaconda3/python.exe (found version "3.8.8")
-- Found PythonLibs: /usr/lib/libpython3.8.dylib (found version "3.8.12")
-- Python header found at /usr/include/python3.8
-- Python library found at /usr/lib/libpython3.8.dylib
-- Python packages /usr/lib/python3.9/site-packages
-- Using swig add library
-- Configuring done
-- Generating done

Then when I use make -j8, it returns an error:

[  1%] Building CXX object CMakeFiles/CORE.dir/src/core/geometry.cpp.o
[  3%] Building CXX object CMakeFiles/ALGORITHM.dir/src/algorithm/geom_algorithm.cpp.o
[  5%] Building CXX object CMakeFiles/CONFIG.dir/src/config/gps_config.cpp.o
[  7%] Building CXX object CMakeFiles/IO.dir/src/io/gps_reader.cpp.o
[  9%] Building CXX object CMakeFiles/UTIL.dir/src/util/util.cpp.o
[ 11%] Building CXX object CMakeFiles/NETWORK.dir/src/network/bidirectional_network_graph.cpp.o
[ 13%] Building CXX object CMakeFiles/MM_OBJ.dir/src/mm/composite_graph.cpp.o
[ 15%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/fmm_algorithm.cpp.o
[ 15%] Built target UTIL
[ 17%] Building CXX object CMakeFiles/MM_OBJ.dir/src/mm/transition_graph.cpp.o
[ 17%] Built target CORE
[ 19%] Building CXX object CMakeFiles/IO.dir/src/io/mm_writer.cpp.o
[ 19%] Built target ALGORITHM
[ 21%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/fmm_app.cpp.o
[ 23%] Building CXX object CMakeFiles/STMATCH_OBJ.dir/src/mm/stmatch/stmatch_algorithm.cpp.o
[ 23%] Built target MM_OBJ
[ 25%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/fmm_app_config.cpp.o
[ 26%] Building CXX object CMakeFiles/NETWORK.dir/src/network/network.cpp.o
[ 28%] Building CXX object CMakeFiles/CONFIG.dir/src/config/network_config.cpp.o
[ 30%] Building CXX object CMakeFiles/NETWORK.dir/src/network/network_graph.cpp.o
[ 32%] Building CXX object CMakeFiles/STMATCH_OBJ.dir/src/mm/stmatch/stmatch_app.cpp.o
[ 32%] Built target IO
[ 34%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/ubodt.cpp.o
[ 36%] Building CXX object CMakeFiles/NETWORK.dir/src/network/rtree.cpp.o
[ 38%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/algos.c.o
[ 40%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/baseCells.c.o
[ 42%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/bbox.c.o
[ 44%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/coordijk.c.o
[ 46%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/faceijk.c.o
[ 48%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/geoCoord.c.o
[ 50%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/h3Index.c.o
[ 51%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/h3UniEdge.c.o
[ 53%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/linkedGeo.c.o
[ 55%] Building CXX object CMakeFiles/CONFIG.dir/src/config/result_config.cpp.o
[ 57%] Built target pyfmm_swig_compilation
[ 59%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/localij.c.o
[ 61%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/ubodt_gen_algorithm.cpp.o
[ 63%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/mathExtensions.c.o
[ 65%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/polygon.c.o
[ 67%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/vec2d.c.o
[ 69%] Building CXX object CMakeFiles/STMATCH_OBJ.dir/src/mm/stmatch/stmatch_app_config.cpp.o
[ 71%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/vec3d.c.o
[ 73%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/vertex.c.o
[ 75%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/lib/vertexGraph.c.o
[ 75%] Built target H3_OBJ
[ 76%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/ubodt_gen_app.cpp.o
[ 78%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/ubodt_gen_app_config.cpp.o
[ 78%] Built target NETWORK
[ 78%] Built target CONFIG
[ 78%] Built target STMATCH_OBJ
[ 78%] Built target FMM_OBJ
[ 80%] Linking CXX shared library cygFMMLIB.dll
[ 80%] Built target FMMLIB
Consolidate compiler generated dependencies of target pyfmm
[ 82%] Building CXX object CMakeFiles/fmm.dir/src/app/fmm.cpp.o
[ 84%] Building CXX object CMakeFiles/h3mm.dir/src/app/h3mm.cpp.o
[ 86%] Building CXX object CMakeFiles/ubodt_gen.dir/src/app/ubodt_gen_app.cpp.o
[ 88%] Building CXX object CMakeFiles/stmatch.dir/src/app/stmatch.cpp.o
make[2]: *** No rule to make target '/usr/lib/libpython3.8.dylib', needed by 'python/_fmm.dll'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:530: python/CMakeFiles/pyfmm.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 90%] Linking CXX executable ubodt_gen.exe
[ 90%] Built target ubodt_gen
[ 92%] Linking CXX executable fmm.exe
[ 94%] Linking CXX executable stmatch.exe
[ 94%] Built target fmm
[ 94%] Built target stmatch
[ 96%] Linking CXX executable h3mm.exe
[ 96%] Built target h3mm
make: *** [Makefile:136: all] Error 2

Any help would be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant