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

Request for better errors when command is not available (cmake) #124

Open
hasezoey opened this issue Dec 24, 2021 · 0 comments
Open

Request for better errors when command is not available (cmake) #124

hasezoey opened this issue Dec 24, 2021 · 0 comments

Comments

@hasezoey
Copy link

hasezoey commented Dec 24, 2021

I tried to run the examples, and it failed with the message:

[2021-12-24T21:04:44Z ERROR ritual_common::errors] Error:
[2021-12-24T21:04:44Z ERROR ritual_common::errors]    failed to run command: "cmake" "-Wno-dev" "/home/hasezoey/.local/cargo/registry/src/github.com-1ecc6299db9ec823/qt_ui_tools-0.5.0/c_lib" "-DRITUAL_LIBRARY_TYPE=STATIC" "-DRITUAL_CPP_LIB_VERSION=51400" "-DRITUAL_INCLUDE_PATH=/usr/include/qt;/usr/include/qt/QtUiTools;/usr/include/qt/QtCore;/usr/include/qt/QtGui;/usr/include/qt/QtWidgets" "-DRITUAL_LIBRARY_PATH=/usr/lib" "-DRITUAL_FRAMEWORK_PATH=" "-DRITUAL_LINKED_LIBS=Qt5UiTools;Qt5Core;Qt5Gui;Qt5Widgets" "-DRITUAL_LINKED_FRAMEWORKS=" "-DRITUAL_COMPILER_FLAGS=-std=gnu++11 -fPIC" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/home/hasezoey/Downloads/examples/target/release/build/qt_ui_tools-91426dae0c77750f/out/c_lib_install"
[2021-12-24T21:04:44Z ERROR ritual_common::errors]    No such file or directory (os error 2)

Which is not great, after some time trying to read through the whole command and checking the directories that are mentioned, i finally noticed that i didnt have cmake installed on my system.
So i would request to add a error saying something like Command "cmake" is not installed on your system.

environment:

Related

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