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

SLMaster项目编译完后SLMasterGui.exe无法启动。 #22

Open
zxdragon21 opened this issue May 12, 2024 · 3 comments
Open

SLMaster项目编译完后SLMasterGui.exe无法启动。 #22

zxdragon21 opened this issue May 12, 2024 · 3 comments
Assignees
Labels
compilation issues Problems at compile time

Comments

@zxdragon21
Copy link

你好!
我成功编译SLMaster项目后,执行SLMasterGui.exe报缺少MVSDKmd.dll及其他dll文件,然后我把SLMaster项目exe安装版本gui目录下缺少的文件拷贝过来后报错消失,但是点击SLMasterGui.exe仍没有出现启动画面,也没有任何提示信息。请问大佬问题出在哪,应如何解决?

@Practice3DVision
Copy link
Owner

  1. MVSDKmd.dll见编译第一条:

image

  1. 生成目录必须设置在项目根目录下(如${work_space}/build)
  2. 拷贝的动态库可能与你系统中的动态库冲突,建议用自己系统中的动态库
  3. 日志可见SLMasterGui.exe所在目录下的debug-SLMasterGui.log文件

@Practice3DVision Practice3DVision self-assigned this May 12, 2024
@Practice3DVision Practice3DVision added the compilation issues Problems at compile time label May 12, 2024
@zxdragon21
Copy link
Author

zxdragon21 commented May 12, 2024

Screenshot 2024-05-12 175205
谢谢回复!
我重新在本地安装了MV Viewer2.3.5,但是运行时报错,现在我没有连相机,这是必须的吗?以下调试信息没看出异常。
[2024/05/12 17:48:29.792] "Ini settings file path is: C:/Users/HUAWEI/AppData/Local/Evans Liu/SLMasterGui/SLMasterGui.ini"
[2024/05/12 17:48:29.793] load settings file sucess.
[2024/05/12 17:48:29.870] CUDA Device nums: 1
[2024/05/12 17:48:30.127] "set camera config json path..."
[2024/05/12 17:48:30.127] ("E:/SLMaster/build/gui/Release", "qrc:/qt-project.org/imports", "E:/SLMaster/build/gui/Release/qml")
[2024/05/12 17:48:30.410] (qrc:/ui/window/MainWindow.qml:15:1: ???? FluWindow ??????
FluWindow {
^, qrc:/qt/qml/FluentUI/Controls/FluWindow.qml:18:27: ???? FluAppBar ??????
property Item appBar: FluAppBar {
^, qrc:/qt/qml/FluentUI/Controls/FluAppBar.qml:112:9: ???? FluToggleSwitch ??????
FluToggleSwitch{
^, qrc:/qt/qml/FluentUI/Controls/FluToggleSwitch.qml:6:1: ???? Button ??????
Button {
^, file:///E:/SLMaster/build/gui/Release/qml/QtQuick/Controls.2/qmldir: ?????? AQtQuick.Controls?????????? type'VerticalHeaderView' ???????????? 'QtQuick.Controls' ? '2' ???????, : ?????? type'HorizontalHeaderView' ???????????? 'QtQuick.Controls' ? '2', : ?????? element'SplitHandle' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'SplitView' ???????????? 'QtQuick.Controls' ? '2', : ?????? element'Overlay' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'MenuBarItem' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'MenuBar' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ActionGroup' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Action' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ScrollView' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'DelayButton' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ToolSeparator' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'RoundButton' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'MenuSeparator' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'DialogButtonBox' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Dialog' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Tumbler' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ToolTip' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ToolButton' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ToolBar' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'TextField' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'TextArea' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'TabButton' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'TabBar' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'SwitchDelegate' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Switch' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'SwipeView' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'SwipeDelegate' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'StackView' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'SpinBox' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Slider' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ScrollIndicator' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ScrollBar' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'RangeSlider' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'RadioDelegate' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'RadioButton' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ProgressBar' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Popup' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Pane' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'PageIndicator' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Page' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'MenuItem' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Menu' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Label' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ItemDelegate' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'GroupBox' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Frame' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Drawer' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Dial' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Control' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Container' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ComboBox' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'CheckDelegate' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'CheckBox' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ButtonGroup' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'Button' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'BusyIndicator' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'ApplicationWindow' ???????????? 'QtQuick.Controls' ? '2', : ?????? type'AbstractButton' ???????????? 'QtQuick.Controls' ? '2')

@Practice3DVision
Copy link
Owner

看着是你的QtQuick的问题,查看环境变量是否含有QML2_IMPORT_PATHQML_IMPORT_PATH,将这两个环境变量删除掉,再次尝试看能否解决问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compilation issues Problems at compile time
Projects
None yet
Development

No branches or pull requests

2 participants