-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
配置远程编译后,结果无法再客户端显示 #6003
Comments
Title: After configuring remote compilation, the results cannot be displayed on the client. |
说清楚,win -> win, win -> linux 还是 linux -> win 另外,issues 整理下,太乱,用 markdown |
Make it clear, win -> win, win -> linux or linux -> win |
跟 #2504 (comment) #2519 一个问题,在 powershell 下,io.readable 不正常导致卡住。 xmake/xmake/modules/private/service/remote_build/client.lua Lines 551 to 552 in a85de0a
你可以先暂时切到 cmd 下去跑,应该可以,至于 io.readable 问题,等回头有空我看下 怎么修 |
There is a problem with #2504 (comment). Under powershell, io.readable is not working properly and gets stuck. xmake/xmake/modules/private/service/remote_build/client.lua Lines 551 to 552 in a85de0a
You can temporarily switch to cmd and run, it should be OK. As for the io.readable problem, I will see how to fix it when I have time later. |
应该可以了,再试试, |
It should be OK, try again, |
Xmake Version
2.9.7
Operating System Version and Architecture
win11 Ubuntu-aarch-22.04
Describe Bug
配置完成连接后,输入
xmake
显示
(base) PS D:\OneDrive\05Work\03STM\00xmakeTest> xmake <remote_build_client>: run 'xmake' in 10.255.246.191:9691 ..
查看服务器上,已经编译完成,但是无法在本地显示
Expected Behavior
应该正常显示
Project Configuration
add_rules("mode.debug", "mode.release")
target("00xmakeTest")
set_kind("binary")
add_files("src/*.c")
--
-- If you want to known more usage about xmake, please see https://xmake.io
-- ## FAQ
-- You can enter the project directory firstly before building project.
-- $ cd projectdir
-- 1. How to build project?
-- $ xmake
-- 2. How to configure project?
-- $ xmake f -p [macosx|linux|iphoneos ..] -a [x86_64|i386|arm64 ..] -m [debug|release]
-- 3. Where is the build output directory?
-- The default output directory is
./build
and you can configure the output directory.-- $ xmake f -o outputdir
-- $ xmake
-- 4. How to run and debug target after building project?
-- $ xmake run [targetname]
-- $ xmake run -d [targetname]
-- 5. How to install target to the system directory or other output directory?
-- $ xmake install
-- $ xmake install -o installdir
-- 6. Add some frequently-used compilation flags in xmake.lua
-- @code
-- -- add debug and release modes
-- add_rules("mode.debug", "mode.release")
-- -- add macro definition
-- add_defines("NDEBUG", "_GNU_SOURCE=1")
-- -- set warning all as error
-- set_warnings("all", "error")
-- -- set language: c99, c++11
-- set_languages("c99", "c++11")
-- -- set optimization: none, faster, fastest, smallest
-- set_optimize("fastest")
-- -- add include search directories
-- add_includedirs("/usr/include", "/usr/local/include")
-- -- add link libraries and search directories
-- add_links("tbox")
-- add_linkdirs("/usr/local/lib", "/usr/lib")
-- -- add system link libraries
-- add_syslinks("z", "pthread")
-- -- add compilation and link flags
-- add_cxflags("-stdnolib", "-fno-strict-aliasing")
-- add_ldflags("-L/usr/local/lib", "-lpthread", {force = true})
-- @Endcode
Additional Information and Error Logs
是远程编译相关功能异常
The text was updated successfully, but these errors were encountered: