如何通过远程服务器 运行 GUI
How to run GUI via remort server
我正在使用 Qtcreator 制作 GUI。
理想情况下,我在本地电脑(CentOS 虚拟终端)中构建项目,
并将其移动到远程服务器(CentOS)。
最后,我想通过 X 服务器(我使用的 VcXsrv)在 windows 系统中 运行 它。
作为运行验证,我新建一个文件,按原样构建。
起初,它在 remort 服务器中产生许多错误,例如“./test: /lib64/libc.so.6: version GLIBC_2.14 not found (required by [=26= .9.1/gcc_64/lib/libQt5Gui.so.5)”。
我没有root权限,无法更新/lib64/,所以下载最新的lib64到我的目录,并添加到LD_LIBRARY_PATH。
之前的错误已解决,但出现错误消息“segmentation fault (core dumped)”。
为什么是原始项目也会出现这个问题?
谁能帮我解决这个问题?
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.
那永远行不通。 This answer 说明您应该怎么做。
我正在使用 Qtcreator 制作 GUI。
理想情况下,我在本地电脑(CentOS 虚拟终端)中构建项目, 并将其移动到远程服务器(CentOS)。 最后,我想通过 X 服务器(我使用的 VcXsrv)在 windows 系统中 运行 它。
作为运行验证,我新建一个文件,按原样构建。 起初,它在 remort 服务器中产生许多错误,例如“./test: /lib64/libc.so.6: version GLIBC_2.14 not found (required by [=26= .9.1/gcc_64/lib/libQt5Gui.so.5)”。 我没有root权限,无法更新/lib64/,所以下载最新的lib64到我的目录,并添加到LD_LIBRARY_PATH。 之前的错误已解决,但出现错误消息“segmentation fault (core dumped)”。
为什么是原始项目也会出现这个问题?
谁能帮我解决这个问题?
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.
那永远行不通。 This answer 说明您应该怎么做。