StackOverflow Questions for Tag: cgo

Morteza Taghizadeh
Morteza Taghizadeh

Reputation: 2147

Build application for Ubuntu 18 from Ubuntu 20

Score: 4

Views: 2699

Answers: 2

Read More
FiftiN
FiftiN

Reputation: 797

Is it possible from Go app to detect if CGO_ENABLED?

Score: 5

Views: 1045

Answers: 1

Read More
ayivaak
ayivaak

Reputation: 117

go build with cgo displays undefined reference

Score: 2

Views: 103

Answers: 1

Read More
Iain Lowe
Iain Lowe

Reputation: 321

Calling setns from Go returns EINVAL for mnt namespace

Score: 12

Views: 4307

Answers: 1

Read More
xihare
xihare

Reputation: 39

Mocking CGO function call for Unit testing

Score: 0

Views: 149

Answers: 1

Read More
Abrar Ahmed
Abrar Ahmed

Reputation: 29

how to read char * string from a c union in cgo?

Score: 0

Views: 81

Answers: 1

Read More
LanderX
LanderX

Reputation: 51

Modifying go to use Gem5 m5ops: go tool dist shows import message then quit

Score: 4

Views: 94

Answers: 1

Read More
None
None

Reputation: 2433

How to copy *C.char?

Score: 4

Views: 208

Answers: 1

Read More
jiping-s
jiping-s

Reputation: 479

Safety of using reflect.StringHeader in Go?

Score: 1

Views: 1183

Answers: 1

Read More
Aidan
Aidan

Reputation: 477

CGO how to convert to a FILE* type

Score: 2

Views: 115

Answers: 2

Read More
spotnag
spotnag

Reputation: 350

SIMD performance does not look right

Score: 3

Views: 184

Answers: 1

Read More
Nicolas Marshall
Nicolas Marshall

Reputation: 4446

Cgo + windows + mingw-w64 : "sorry, unimplemented: 64-bit mode not compiled in"

Score: 4

Views: 4042

Answers: 2

Read More
j.straka
j.straka

Reputation: 11

IAM Roles Anywhere - rolesanywhere-credential-helper on IBM AIX

Score: 1

Views: 87

Answers: 0

Read More
Jim Orcheson
Jim Orcheson

Reputation: 103

Go Package Cannot Find C Header Files Installed Using Homebrew on macOS

Score: 1

Views: 419

Answers: 0

Read More
Riptide
Riptide

Reputation: 516

Unknown type name in CGo Linux to Windows cross compilation

Score: 2

Views: 155

Answers: 1

Read More
Noah
Noah

Reputation: 820

Add icon on a Golang program using webview/webview_go

Score: 1

Views: 499

Answers: 1

Read More
Echoxxzz
Echoxxzz

Reputation: 11

Why does cgo generate "C" warning messages but the pure "C" equivalent doesn't?

Score: 1

Views: 70

Answers: 1

Read More
罗佳晨
罗佳晨

Reputation: 1

I'm running a cgo application in an Android environment, and it crashes at _cgo_topofstack. How can I troubleshoot this issue?

Score: 0

Views: 62

Answers: 0

Read More
anon37894203
anon37894203

Reputation: 545

Golang 1.21 not exporting functions when using import "C"

Score: 1

Views: 211

Answers: 0

Read More
Nulik
Nulik

Reputation: 7390

Cgo generated sources fail to compile on MVC

Score: 2

Views: 2129

Answers: 2

Read More
PreviousPage 4Next