mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Сonan build error (MacOS) #428
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (May 30, 2022).
Hello. I ran into a problem when trying to open my project on macOS.
Environment:
• Operating system: macOS Monterey 12.4
• Conan: 1.48.1
• CMake: 3.23.2
• Clang: Apple clang version 13.1.6 (clang-1316.0.21.2.5), Target: x86_64-apple-darwin21.5.0
Conan default profile:
I use cmake-conan (from this commit) to configure:
And I get the following output:
I can't understand the reason for this error "ConanException: Error 127 while executing".
I compiled my project on Windows 10, Debian 11 and there are no such problems.
@ghost commented on GitHub (May 31, 2022):
I found a solution to my problem. I decided to run a simple build command from the terminal:
And it worked :) At first I didn't understand why it doesn't work in QtCreator, which basically does the same thing. The thing is that the macOS terminal and QtCreator did not have exactly the same environment. I ran the command in terminal:
Some of the specified environment paths were missing in my QtCrteator env paths, so I added them. I also added the path to Ninja.
The solution for those who will face this problem in the future, just adjust the PATH variable like this: