Open rmd1710714107 opened 10 months ago
when i run go run studio.go, i get the error as below:
go run studio.go
# 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:所有的警告都被当作是错误
gcc -v 使用内建 specs。 COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/11/lto-wrapper.exe 目标:x86_64-pc-cygwin 配置为:/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-11.4.0/configure --srcdir=/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-11.4.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --with-gcc-major-version-only --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,d,fortran,lto,objc,obj-c++,jit --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --enable-libquadmath --enable-libquadmath-support --disable-libssp --enable-libada --disable-symvers --disable-multilib --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible --enable-libstdcxx-filesystem-ts 线程模型:posix Supported LTO compression algorithms: zlib zstd gcc 版本 11.4.0 (GCC)
how can I resolve this question?
🤔 how did you install nebula-studio?
你是如何安装 studio 的?
go run studio.go 🤔 how did you install nebula-studio? 你是如何安装 studio 的?
直接克隆的本仓库代码,然后运行的
尝试将 golang 版本降级到 1.18 或者 1.20 试下?
Question
when i run
go run studio.go
, i get the error as below:Environment
how can I resolve this question?