Wie man conan ERROR behebt: The default build profile doesn't exist.

English Deutsch

Problem:

Sie möchten ein Conan-Projekt mit einem Befehl wie

conan_install.sh
conan install .

installieren oder bauen, aber Sie sehen eine Fehlermeldung wie

conan_default_profile_error.txt
ERROR: The default build profile '/home/uli/.conan2/profiles/default' doesn't exist.
You need to create a default profile (type 'conan profile detect' command)
or specify your own profile with '--profile:build=<myprofile>'

Lösung

Normalerweise möchten Sie einfach das Standard-Build-Profil mit

conan_profile_detect.sh
conan profile detect

erstellen.

detect bedeutet, den Compiler zu erkennen.


Check out similar posts by category: Conan