"try building at the command line"
That's your clue. You'll most likely get a meaningful error message on
stderr, which your IDE is hiding.
On Thursday 23 May 2024 at 13:47:10 UTC+1 Pavan Kumar A R wrote:
> Hello ,
>
> I am try to call the c program in the golang , but i am getting the issue
Hello ,
I am try to call the c program in the golang , but i am getting the issue
. please see the error message :
package main
go list failed to return CompiledGoFiles. This may indicate failure to
perform cgo processing; try building at the command line. See
https://golang.org/issue/38990.
cgo command
https://pkg.go.dev/cmd/cgo
Cgo enables the creation of Go packages that call C code.
On Wednesday, May 22, 2024 at 4:41:13 PM UTC-4 Carla Pfaff wrote:
> Yes, you can call C functions from Go, it's called Cgo:
> https://go.dev/blog/cgo
>
> On Wednesday 22 May 2024 at 18:04
Yes, you can call C functions from Go, it's called
Cgo: https://go.dev/blog/cgo
On Wednesday 22 May 2024 at 18:04:19 UTC+2 Pavan Kumar A R wrote:
>
>> Okay, it's possible to call the C program to Golang. Because I also have
>> the C platform dlls and the C platform dlls we using in the cross
>
> Okay, it's possible to call the C program to Golang. Because I also have
> the C platform dlls and the C platform dlls we using in the cross platform
> mono and in the mono internally call the.net dlls function , can I use
> the C program dlls in Golang?
>
--
You received this message becau
You can't call .NET functions directly from Go. Go programs and .NET have
two completely different runtimes. You would need some form of
inter-process communication (IPC).
On Wednesday 22 May 2024 at 14:31:04 UTC+2 Pavan Kumar A R wrote:
> Hello ,
>
> I build the.net dlls in the target framewor