vesoft-inc / nebula-studio

NebulaGraph Web GUI Tools
Apache License 2.0
206 stars 62 forks source link

An error occurs when run go run studio.go #764

Open rmd1710714107 opened 10 months ago

rmd1710714107 commented 10 months ago

Question

when i run go run studio.go, i get the error as below:

# runtime/cgo
gcc_libinit_windows.c: 在函数‘_cgo_beginthread’中:
gcc_libinit_windows.c:143:27: 错误:implicit declaration of function ‘_beginthread’; did you mean ‘_cgo_beginthread’? [-Werror=implicit-function-declaration]
  143 |                 thandle = _beginthread(func, 0, arg);
      |                           ^~~~~~~~~~~~
      |                           _cgo_beginthread
cc1:所有的警告都被当作是错误

Environment

QingZ11 commented 10 months ago

go run studio.go

🤔 how did you install nebula-studio?

你是如何安装 studio 的?

rmd1710714107 commented 10 months ago

go run studio.go

🤔 how did you install nebula-studio?

你是如何安装 studio 的?

直接克隆的本仓库代码,然后运行的

huaxiabuluo commented 10 months ago

尝试将 golang 版本降级到 1.18 或者 1.20 试下?