Comment installer Vigra sur macOS Mojave?

Sander W. van der Laan

J'ai besoin d'utiliser CellProfiler 2.2.0 et pour cela j'ai besoin vigra. J'ai suivi les instructions que vous pouvez trouver ici, ou du moins telles que je les ai interprétées. En bref:

  1. J'ai cloné le git-repository.
  2. cd ~/git/vigra.
  3. mkdirun répertoire à construire et cdà celui-là
  4. cmake

Cependant, lorsque je veux makele package à l'étape 5), je rencontre ceci:

swvanderlaan@Sanders-MBP ~/git
$ git clone [email protected]:ukoethe/vigra.git
Cloning into 'vigra'...
remote: Enumerating objects: 49815, done.
remote: Total 49815 (delta 0), reused 0 (delta 0), pack-reused 49815
Receiving objects: 100% (49815/49815), 106.46 MiB | 7.64 MiB/s, done.
Resolving deltas: 100% (36407/36407), done.

swvanderlaan@Sanders-MBP ~/git
$ cd vigra/

swvanderlaan@Sanders-MBP ~/git/vigra
$ ls
CMakeLists.txt      LICENSE.txt         README.md           azure-pipelines.yml config              docsrc              include             src                 test                vigranumpy

swvanderlaan@Sanders-MBP ~/git/vigra
$ mkdir -v build
mkdir: created directory 'build'

swvanderlaan@Sanders-MBP ~/git/vigra
$ cd build/

swvanderlaan@Sanders-MBP ~/git/vigra/build
$ cmake ../src/
-- The C compiler identification is AppleClang 10.0.1.10010046
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.14)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /Users/swvanderlaan/git/vigra/build

swvanderlaan@Sanders-MBP ~/git/vigra/build
$ make
Scanning dependencies of target vigraimpex
[  4%] Building CXX object impex/CMakeFiles/vigraimpex.dir/bmp.o
/Users/swvanderlaan/git/vigra/src/impex/bmp.cxx:38:10: fatal error: 'vigra/config.hxx' file not found
#include "vigra/config.hxx"
         ^~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [impex/CMakeFiles/vigraimpex.dir/bmp.o] Error 1
make[1]: *** [impex/CMakeFiles/vigraimpex.dir/all] Error 2
make: *** [all] Error 2

Comment puis-je réparer ça?

Merci et meilleur,

Ponceuse

Mon système: macOS Mojave 10.14.5 avec brew:

brew config
HOMEBREW_VERSION: 2.1.6
ORIGIN: https://github.com/Homebrew/brew
HEAD: fddf5b16bd8df577380a1d810d17825ef611b81f
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 6b7110635d52dbecd386c7c538b812da87dc2da3
Core tap last commit: 18 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: octa-core 64-bit kabylake
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1001
Git: 2.22.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_212
macOS: 10.14.5-x86_64
CLT: 10.2.1.0.1.1554506761
Xcode: 10.2.1
CLT headers: 10.2.1.0.1.1554506761
XQuartz: 2.7.11 => /opt/X11
Stuart Berg

Le moyen le plus simple d'installer vigra sur Mac / Linux / Windows sans rien compiler est d'utiliser conda:

conda install -c conda-forge vigra

Remarque: Vigra prend en charge un certain nombre de dépendances facultatives. Cette version en prend en charge beaucoup, mais si vous êtes intéressé par une fonctionnalité particulière, vous pouvez consulter le script construit par conda-forge pour vigra:

https://github.com/conda-forge/vigra-feedstock/blob/master/recipe/build.sh

[Je sais que cette réponse est beaucoup trop tardive pour être utile, et il semble que vous n'avez pas vraiment besoin de vigra de toute façon. Mais j'espère que cela sera utile pour tous les futurs googleurs qui pourraient rencontrer cette page.]

Cet article est collecté sur Internet, veuillez indiquer la source lors de la réimpression.

En cas d'infraction, veuillez [email protected] Supprimer.

modifier le
0

laisse moi dire quelques mots

0commentaires
connexionAprès avoir participé à la revue

Articles connexes

Comment installer angular cli sur MacOs Mojave

Comment installer java 8 sur osx macOS Mojave avec homebrew?

Comment installer Valgrind sur macOS Mojave (10.14) avec Homebrew?

Comment installer Laravel Valet sur Mac Mojave ?

Comment installer Boost sur MacOS?

Comment installer powershell sur MacOS

OpenMP sur macOS Mojave

Comment installer XMP Toolkit sur mac os x mojave

Comment installer le "vrai" binaire sur MacOS?

Comment installer InteliJ sur Mac? (MacOS Sierra)

Comment installer clang-tidy sur macOS?

Comment installer pymssql sur MacOS Sierra

Comment installer et utiliser mirthSync sur MacOS ?

Sur macOS Mojave, dans une application cacao, comment utiliser AVSpeechSynthesizer?

Comment définir une variable d'environnement sur macOs Mojave?

Comment installer brew httpd sur MacOS 11 Big Sur ?

Installer ADB sur macOS

Installer libsodium sur macOS

Comment installer GDB sur MacOS 10.13.3 (High Sierra)

Comment installer SimpleITK sur macOS pour Anaconda Python 3.6 ?

Comment installer psql sans Postgres complet sur macOS?

Comment installer et désinstaller facilement Docker sur MacOs

Comment installer Nokogiri en utilisant gcc sur MacOS Catalina

Comment installer PHP Opcache sur MacOS High Sierra?

Comment installer et exécuter correctement virtualenv sur MacOS

Comment installer Dart, Dartium, Aqueduct sur macOS High Sierra 10.13.5?

Comment installer Python 2 sur macOS 12.3+

Comment installer homebrew sur macOS? Erreur:> -bash: $: commande introuvable

Comment installer SQL Developer sur macOS Catalina 10.15?

TOP liste

  1. 1

    Microsoft.WebApplication.targets

  2. 2

    Spring @RequestParam DateTime format comme ISO 8601 Date Heure facultative

  3. 3

    comment supprimer "compte de connexion google" à des fins de développement - actions sur google

  4. 4

    Comment ajouter une entrée à une table de base de données pour une combinaison de deux tables

  5. 5

    Passer la taille d'un tableau 2D à une fonction ?

  6. 6

    Exporter la table de l'arborescence vers CSV avec mise en forme

  7. 7

    Impossible d'accéder à la vue personnalisée pendant le test de l'interface utilisateur dans XCode

  8. 8

    Créer un système Buzzer à l'aide de python

  9. 9

    Comment changer le navigateur par défaut en Microsoft Edge pour Jupyter Notebook sous Windows 10 ?

  10. 10

    impossible d'obtenir l'image d'arrière-plan en plein écran dans reactjs

  11. 11

    Algorithme: diviser de manière optimale une chaîne en 3 sous-chaînes

  12. 12

    CSS: before ne fonctionne pas sur certains éléments,: after fonctionne très bien

  13. 13

    Conversion double en BigDecimal en Java

  14. 14

    Comment obtenir l'intégration contextuelle d'une phrase dans une phrase à l'aide de BERT ?

  15. 15

    Comment choisir le nombre de fragments et de répliques Elasticsearch

  16. 16

    Comment vérifier si un utilisateur spécifique a un rôle? Discord js

  17. 17

    Comment créer un bot à compte à rebours dans Discord en utilisant Python

  18. 18

    Existe-t-il un moyen de voir si mon bot est hors ligne ?

  19. 19

    comment afficher un bouton au-dessus d'un autre élément ?

  20. 20

    Comment activer le message Pylint "too-many-locals" dans VS Code?

  21. 21

    Je continue à obtenir l'objet 'WSGIRequest' n'a pas d'attribut 'Get' sur django

chaudétiquette

Archive