如何通过Remort Server运行GUI [英] How to run GUI via remort server

查看:132
本文介绍了如何通过Remort Server运行GUI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Qtcreator制作GUI。

I'm using Qtcreator to make GUI.

理想情况下,我在本地PC(CentOS虚拟终端),
中构建项目并将其移动终止服务器(CentOS)。
最后,我想通过X服务器(我使用VcXsrv)在Windows系统中运行它。

Ideally, I build the project in my local pc (CentOS virtual terminal), and move it to remort server(CentOS). Finally, I want to run it in windows system via X server(VcXsrv i use).

作为操作验证,我创建了一个新文件并构建为它是。
首先,它在remort服务器中生成许多错误,例如 。/test:/lib64/libc.so.6:未找到版本GLIBC_2.14(/ users / my / Qt /必需5.9.1 / gcc_64 / lib / libQt5Gui.so.5)
我没有root权限,也无法更新/ lib64 /,因此将最新的lib64下载到我的目录中,然后添加到LD_LIBRARY_PATH。
先前的错误已解决,但出现错误消息 分段错误(核心已转储)

As operation verification, I create a new file and build as it is. At first, it generates many errors in remort server, such as "./test: /lib64/libc.so.6: version GLIBC_2.14 not found (required by /users/my/Qt/5.9.1/gcc_64/lib/libQt5Gui.so.5)". I don't have root permission and can't update /lib64/, so download latest lib64 to my directory, and add to LD_LIBRARY_PATH. Previous error is solved but the error message "segmentation fault (core dumped)" comes to appear.

为什么会出现此问题即使是一个原始项目?

Why this problem occur even though it is a raw project?

有人可以帮助我解决问题吗?

Can anyone help me to solve the problem?

推荐答案


将最新的lib64下载到我的目录中,并添加到LD_LIBRARY_PATH。先前的错误已解决,但出现错误消息分段错误(核心已转储)。

so download latest lib64 to my directory, and add to LD_LIBRARY_PATH. Previous error is solved but the error message "segmentation fault (core dumped)" comes to appear.

那将永远无法工作。 此答案解释了您应该怎么做。

That will never work. This answer explains what you should do instead.

这篇关于如何通过Remort Server运行GUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆