Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 24 16:13
    waruqi transferred #2490
  • Jun 24 16:13
    waruqi edited #1297
  • Jun 24 16:13
    fonqL opened #1297
  • Jun 24 16:00
    fonqL labeled #2490
  • Jun 24 16:00
    fonqL opened #2490
  • Jun 24 13:33
    waruqi milestoned #2488
  • Jun 24 13:18
    OuYangPaste edited #2488
  • Jun 24 13:16
    OuYangPaste edited #2488
  • Jun 24 13:16
    OuYangPaste opened #2488
  • Jun 24 13:16
    OuYangPaste labeled #2488
  • Jun 24 05:33
    waruqi milestoned #2482
  • Jun 24 05:33
    waruqi closed #2482
  • Jun 24 04:01
    tiann labeled #2486
  • Jun 24 04:01
    tiann opened #2486
  • Jun 24 02:40
    waruqi transferred #2484
  • Jun 24 02:40
    waruqi edited #120
  • Jun 24 02:40
    SaeruHikari opened #120
  • Jun 23 22:25
    laoshaw opened #188
  • Jun 23 16:58
    SaeruHikari edited #2484
  • Jun 23 16:58
    SaeruHikari opened #2484
PeterCDMcLean
@PeterCDMcLean
Am I missing something?
ruki
@waruqi
@PeterCDMcLean You can define custom toolchain to support them in your xmake.lua, see https://xmake.io/#/manual/custom_toolchain
Or you can submit a feature request to issues and add their toolchain sdk urls to your issue. I will look at it and consider to support them in the future.
PeterCDMcLean
@PeterCDMcLean

I'm looking for something like:
set_toolset("v", "modelsim")
set_toolset("xdc", "vivado")

Verilog file and xdc files are HDL / RTL specific. that's what I mean when I'm wondering if there is a way to extend the toolset types to covert new types of files in a custom toolchain

beyond the traditional software types
ruki
@waruqi
@PeterCDMcLean You need add custom rule to support them and build these files. https://xmake.io/#/manual/custom_rule and https://github.com/xmake-io/xmake/blob/master/xmake/rules/lex_yacc/yacc/xmake.lua
we can also add find_modelsim.lua to detect these tools in https://github.com/xmake-io/xmake/tree/master/xmake/modules/detect/tools and use lib.detect.find_tool to get them.
RUSshy
@RUSshy
hi, is it possible to generate visual studio project? i checked the wiki, but i can't find this information
ruki
@waruqi
you can run xmake project -k vsxmake or xmake project -k vs
RUSshy
@RUSshy
yes i found it thanks @waruqi
simshine-sdk
@simshine-sdk
我再windows平台下MinGW使用xmake,无法正常识别环境.使用的命令是xmake f -p mingw --sdk=C:\MinGW.请问这样使用有问题吗?
ruki
@waruqi
嗯,如果有问题,你直接提到github issues好了,然后追加 -vD 参数提供了 详细的错误信息
harrypotterjackson
@wangzhankun
我在Linux平台下安装了两个版本的opencv,请问怎么使用指定版本的opencv呀?
ruki
@waruqi
I created a new xmake room, welcome to https://gitter.im/xmake-io/xmake
simshine-sdk
@simshine-sdk
请问一下,想用tbox的指定通过某个网卡,用http client 相关API发送数据,目前可以通过什么接口实现吗?
ruki
@waruqi
目前没有现成的,要么自己获取下原始socket fd,调socket api绑定下对应网卡
tapika
@tapika
Hi ! Does xmake has anykind of support from Visual studio ? To my best understanding visual studio could be supported out of box, if xmake would offer similar kind of api as cmake is offering to visual studio.
ruki
@waruqi

Hi ! Does xmake has anykind of support from Visual studio ? To my best understanding visual studio could be supported out of box, if xmake would offer similar kind of api as cmake is offering to visual studio.

xmake project -k vsxmake @see https://xmake.io/#/plugin/builtin_plugins?id=generate-visualstudio-project

paul-reilly
@paul-reilly
Can anyone confirm if using the xmake-repo package "fmt" works under mingw? It doesn't work here using mingw from MSYS2 in a Windows cmd prompt or a MSYS2 mingw64 shell.
ruki
@waruqi
@paul-reilly you can submit a new issue on github and let me see your verbose errors.
paul-reilly
@paul-reilly
Will do, thanks!
ruki
@waruqi
Hi, all. I created a discord channel about xmake, welcome to join: https://discord.gg/XXRp26A4Gr
BaseProgrammer
@BaseProgrammer
hello
ruki
@waruqi
hi
SugarRayLua
@SugarRayLua
Hello. I’m new to the chat room and just started using and like tboox’s ltui to help me make ltuis in lua projects that I’m making using Alpine Linux on x86 emulator on my iPad. I don’t however, understand what exactly all the arguments in the rect{} table/object? Do. For example, in the desktop.Lua example on ltui’s website, the code contains this line: -- add title label
self:desktop():insert(label:new("title", rect {0, 0, 12, 1}, "hello ltui!"):textattr_set("white"), {centerx = true}). I presumed that the first 2 arguments are x,y top left coordinates relative to the object I’m display (e.g. in this case, the upper left hand border of the desktop) and that the 3rd and 4th arguments are the width and height boundaries of the object I am making (e.g. in this case, the width and height of the textbox in character spaces that I’m going to write the “hello ltui!” message). However, at least he 1st argument doesn’t seem to work like I expect—0 seems to indicate an x position in the middle of the desktop, and when I put in another # (e.g. 5) ltui just display the message 5 spaces to the right of the middle of the desktop and not 5 spaces to the right of the left-hand border of the screen that I would expect). I see that that code line has a “centerX” parameter but the message still doesn’t line up to the left hand side of the screen when I remove the centerX code. I appreciate any clarification on how rect{} is supposed to work that you can provide. Thanks!
SugarRayLua
@SugarRayLua
@waruqi , thanks, that worked! So now that it is working, it looks like actually rect{} arguments are actually something different than I thought. Is this then correct instead: rect{x1, y1, x2, y2} x1,y1 = top left coordinates of rectangle, x2,y2 = bottom right coordinates of rectangle relative to parent window working in?
ruki
@waruqi
@SugarRayLua yeah, rect {x1, y1, x2, y2} or you can use rect:new(x, y, w, h)
SugarRayLua
@SugarRayLua
I see, thanks! I’ll try looking in the Lua source files first in the future to figure things out if I have additional questions. Have a good week. :-)
beanflame
@beanflame
hello
beanflame
@beanflame
@waruqi 能聊吗?
beanflame
@beanflame
没看见我Tbox语言
都是撞车
你都是tboox对吧
ruki
@waruqi
怎么了
beanflame
@beanflame
我不知道有没有人取Tbox的名字,就我取了Tbox名字呢
tbox-studio
是我取名字呢
应该是不会撞车?
如果两个同名字,就是撞车的意思
百度搜一下什么是撞车
是两个人发了同一个东西的意思
beanflame
@beanflame
应该是不会撞车,问题不大吗?
我怕别人误解Tbox是语言还是C语言的库
我之前设计过名字叫Tbox语言
ruki
@waruqi
同名的多了去了 怎么取随你