阅读:14478回复:70
[基本解决]linux下doublecmd的输入,附archlinux下的编译脚本(含QT)
如题。在doublecmd输入框里,比如输入“测”,在输入框中就会上屏:ce 测。我以为是不是用了剪贴板模式,但看小小linux下似乎是没有输入模式选项的。
|
|
沙发#
发布于:2022-07-09 18:07
这个情况也不稳定,有时是只上屏字码,来回切换窗口后,再输,有时可以有时又不行。
|
|
板凳#
发布于:2022-07-09 20:10
|
|
地板#
发布于:2022-07-09 20:15
|
|
4楼#
发布于:2022-07-09 20:23
dgod:你自己编译吧回到原帖好的,我后面在archlinux下再试试,之前试过 [fireflyoo](https://yong.dgod.net/read.php?tid=2247#4777)不知为何没编下去。 我试了下,提示访问不了: ``` fatal: unable to access 'https://github.com/dgod/yong.git/': HTTP/2 stream 1 was not closed cleanly before end of the underlying stream ``` 因为我其实不会编程,只是普通用户,所以BSD下的编译对我可能有点难度,后面再看看吧,把archlinux下的编译搞定先,这个相对容易,因为有坛友的pkgbuild文件了。 |
|
6楼#
发布于:2022-07-09 20:46
dgod:你自己编译吧回到原帖周大,编译时失败提示: ``` status: 1, signal: null, output: [ null, '', 'Package Qt5 was not found in the pkg-config search path.\n' + "Perhaps you should add the directory containing `Qt5.pc'\n" + 'to the PKG_CONFIG_PATH environment variable\n' + "Package 'Qt5', required by 'virtual:world', not found\n" ], pid: 15258, stdout: '', stderr: 'Package Qt5 was not found in the pkg-config search path.\n' + "Perhaps you should add the directory containing `Qt5.pc'\n" + 'to the PKG_CONFIG_PATH environment variable\n' + "Package 'Qt5', required by 'virtual:world', not found\n" } Node.js v18.5.0 ==> ERROR: A failure occurred in build(). Aborting... ``` qt5-base是装了的。 |
|
7楼#
发布于:2022-07-09 21:00
看提示是QT5.pc找不到,我/usr/lib/pkgconfig/下有:
``` Qt5Concurrent.pc Qt5OpenGL.pc Qt5Test.pc Qt5Core.pc Qt5OpenGLExtensions.pc Qt5Widgets.pc Qt5DBus.pc Qt5PrintSupport.pc Qt5X11Extras.pc Qt5Gui.pc Qt5Sql.pc Qt5Xml.pc Qt5Network.pc Qt5Svg.pc ``` 会不会是换了个名字? |
|
8楼#
发布于:2022-07-09 22:06
dgod:你重新下载一下源代码,改进了一下编译过程,应该能在你电脑上编译了回到原帖谢谢!这次是能通过了,但是有另一个错误…… ``` /mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/qyongplatforminputcontext.cpp: In function ‘gboolean _set_cursor_location_internal(QYongPlatformInputContext*)’: /mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/qyongplatforminputcontext.cpp:290:17: error: ‘class QYongPlatformInputContext’ has no member named ‘is_wayland’ 290 | if(ctx->is_wayland) | ^~~~~~~~~~ /mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/qyongplatforminputcontext.cpp: In constructor ‘QYongPlatformInputContext::QYongPlatformInputContext()’: /mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/qyongplatforminputcontext.cpp:364:9: error: ‘is_wayland’ was not declared in this scope; did you mean ‘in_wayland’? 364 | is_wayland=in_wayland(); | ^~~~~~~~~~ | in_wayland /mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/qyongplatforminputcontext.cpp: In member function ‘virtual void QYongPlatformInputContext::setFocusObject(QObject*)’: /mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/qyongplatforminputcontext.cpp:550:23: error: ‘class QYongPlatformInputContext’ has no member named ‘is_wayland’ 550 | this->is_wayland=qApp->platformName()=="wayland"; | ^~~~~~~~~~ /mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/qyongplatforminputcontext.cpp: In member function ‘void QYongPlatformInputContext::cursorRectChanged()’: /mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/qyongplatforminputcontext.cpp:573:12: error: ‘is_wayland’ was not declared in this scope; did you mean ‘in_wayland’? 573 | if(is_wayland) | ^~~~~~~~~~ | in_wayland /mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/qyongplatforminputcontext.cpp:586:12: error: ‘is_wayland’ was not declared in this scope; did you mean ‘in_wayland’? 586 | if(is_wayland) | ^~~~~~~~~~ | in_wayland Error: Command failed: g++ -m64 -fPIC -I/mnt/sdc1/llc/abs/yong/src/yong/llib -DL_CALL_GLIB_CLIENT -fvisibility=hidden -I/mnt/sdc1/llc/abs/yong/src/yong/im -Wall -g -O2 -fno-strict-aliasing -pipe -I/mnt/sdc1/llc/abs/yong/src/yong/include -I/mnt/sdc1/llc/abs/yong/src/yong/common `pkg-config --cflags glib-2.0` `pkg-config --cflags Qt5Core Qt5Gui` -I/usr/include/qt/QtCore/5.15.5 -I/usr/include/qt/QtGui/5.15.5 -I/usr/include/qt/QtGui/5.15.5/QtGui -I/mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/l64-qt5 -c /mnt/sdc1/llc/abs/yong/src/yong/im/qt5-im/qyongplatforminputcontext.cpp -o qyongplatforminputcontext.o at checkExecSyncError (node:child_process:820:11) at Object.execSync (node:child_process:891:15) at exec (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:654:18) at cxx (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:375:2) at cxx (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:354:4) at run (eval at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8), <anonymous>:65:2) at eval (eval at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8), <anonymous>:77:2) at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8) at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { status: 1, signal: null, output: [ null, null, null ], pid: 19779, stdout: null, stderr: null } ==> ERROR: A failure occurred in build(). Aborting... ``` |
|
9楼#
发布于:2022-07-09 22:40
周大,我不确定这个错误是否是缺libgtk-2.0-dev包的原因,因为archlinux下gtk相关的包没找到有带dev字样的,我是装了gtk2和gtk3的,提示缺的这个app.c,我感觉也可能是其他原因?:
``` gcc -m64 -I/mnt/sdc1/llc/abs/yong/src/yong/llib -I/mnt/sdc1/llc/abs/yong/src/yong/im -I/mnt/sdc1/llc/abs/yong/src/yong/im/IMdkit -DCFG_XIM_IBUS `pkg-config --cflags ibus-1.0` -DCFG_XIM_FBTERM -I/mnt/sdc1/llc/abs/yong/src/yong/im/fbterm -DL_CALL_GLIB_SERVER -Wall -g -O2 -fno-strict-aliasing -pipe -I/mnt/sdc1/llc/abs/yong/src/yong/include -I/mnt/sdc1/llc/abs/yong/src/yong/common `pkg-config --cflags gtk+-2.0` -c app.c -o app.o cc1: fatal error: app.c: No such file or directory compilation terminated. Error: Command failed: gcc -m64 -I/mnt/sdc1/llc/abs/yong/src/yong/llib -I/mnt/sdc1/llc/abs/yong/src/yong/im -I/mnt/sdc1/llc/abs/yong/src/yong/im/IMdkit -DCFG_XIM_IBUS `pkg-config --cflags ibus-1.0` -DCFG_XIM_FBTERM -I/mnt/sdc1/llc/abs/yong/src/yong/im/fbterm -DL_CALL_GLIB_SERVER -Wall -g -O2 -fno-strict-aliasing -pipe -I/mnt/sdc1/llc/abs/yong/src/yong/include -I/mnt/sdc1/llc/abs/yong/src/yong/common `pkg-config --cflags gtk+-2.0` -c app.c -o app.o at checkExecSyncError (node:child_process:820:11) at Object.execSync (node:child_process:891:15) at exec (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:654:18) at cc (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:348:2) at cc (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:333:4) at run (eval at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8), <anonymous>:46:2) at eval (eval at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8), <anonymous>:85:2) at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8) at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { status: 1, signal: null, output: [ null, null, null ], pid: 25661, stdout: null, stderr: null } ==> ERROR: A failure occurred in build(). Aborting... ``` |
|
上一页
下一页