Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GMatch4py
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Fize Jacques
  • GMatch4py
  • Issues
  • #4

Closed
Open
Created Jan 16, 2019 by Fize Jacques@jacques.fizeMaintainer

warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]

Created by: verazuo

Hi, When I executed this command sudo python3 setup.py install, I encountered the following error.

veradeMacBook-Pro:GMatch4py vera$ sudo python3 setup.py install
Password:
gmatch4py/kernels/weisfeiler_lehman.pyx: cannot find cimported module '..base'
gmatch4py/vertex_ranking.pyx: cannot find cimported module '.base'
gmatch4py/vertex_edge_overlap.pyx: cannot find cimported module '.base'
gmatch4py/mcs.pyx: cannot find cimported module '.base'
gmatch4py/bag_of_cliques.pyx: cannot find cimported module '.base'
gmatch4py/bon.pyx: cannot find cimported module '.base'
gmatch4py/jaccard.pyx: cannot find cimported module '.base'
gmatch4py/ged/graph_edit_dist.pyx: cannot find cimported module '.abstract_graph_edit_dist'
gmatch4py/ged/graph_edit_dist.pyx: cannot find cimported module '..base'
gmatch4py/ged/graph_edit_dist.pxd: cannot find cimported module '.abstract_graph_edit_dist'
gmatch4py/ged/bipartite_graph_matching_2.pyx: cannot find cimported module '..base'
gmatch4py/ged/greedy_edit_distance.pyx: cannot find cimported module '.graph_edit_dist'
gmatch4py/ged/hausdorff_edit_distance.pyx: cannot find cimported module '..base'
gmatch4py/ged/abstract_graph_edit_dist.pyx: cannot find cimported module '..base'
gmatch4py/ged/abstract_graph_edit_dist.pxd: cannot find cimported module '..base'
/anaconda3/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
/anaconda3/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'setup_requires'
  warnings.warn(msg)
/anaconda3/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running install
running build
running build_py
creating build/lib.macosx-10.7-x86_64-3.7
creating build/lib.macosx-10.7-x86_64-3.7/gmatch4py
copying gmatch4py/__init__.py -> build/lib.macosx-10.7-x86_64-3.7/gmatch4py
creating build/lib.macosx-10.7-x86_64-3.7/gmatch4py/helpers
copying gmatch4py/helpers/__init__.py -> build/lib.macosx-10.7-x86_64-3.7/gmatch4py/helpers
running build_ext
building 'gmatch4py.kernels.random_walk_kernel' extension
creating build/temp.macosx-10.7-x86_64-3.7
creating build/temp.macosx-10.7-x86_64-3.7/gmatch4py
creating build/temp.macosx-10.7-x86_64-3.7/gmatch4py/kernels
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/anaconda3/include/python3.7m -c gmatch4py/kernels/random_walk_kernel.cpp -o build/temp.macosx-10.7-x86_64-3.7/gmatch4py/kernels/random_walk_kernel.o
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the
      libc++ standard library instead [-Wstdlibcxx-not-found]
1 warning generated.
creating build/lib.macosx-10.7-x86_64-3.7/gmatch4py/kernels
g++ -bundle -undefined dynamic_lookup -L/anaconda3/lib -arch x86_64 -L/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/gmatch4py/kernels/random_walk_kernel.o -o build/lib.macosx-10.7-x86_64-3.7/gmatch4py/kernels/random_walk_kernel.cpython-37m-darwin.so
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1

My env is in anaconda python3.6, Mac 10.14(Mojave)

Assignee
Assign to
Time tracking