Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error compile #2

Open
goliveok opened this issue Oct 8, 2024 · 1 comment
Open

error compile #2

goliveok opened this issue Oct 8, 2024 · 1 comment

Comments

@goliveok
Copy link

goliveok commented Oct 8, 2024

go build

github.com/Lensual/go-libav/avutil

../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:262:23: could not determine kind of name for C.AVChannelCustom
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:324:23: could not determine kind of name for C.AVChannelLayout
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:134:47: could not determine kind of name for C.AV_CHANNEL_ORDER_AMBISONIC
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:111:44: could not determine kind of name for C.AV_CHANNEL_ORDER_CUSTOM
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:104:44: could not determine kind of name for C.AV_CHANNEL_ORDER_NATIVE
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:98:44: could not determine kind of name for C.AV_CHANNEL_ORDER_UNSPEC
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:85:38: could not determine kind of name for C.AV_CHAN_AMBISONIC_BASE
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:88:37: could not determine kind of name for C.AV_CHAN_AMBISONIC_END
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:42:45: could not determine kind of name for C.AV_CHAN_BACK_CENTER
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:38:45: could not determine kind of name for C.AV_CHAN_BACK_LEFT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:39:45: could not determine kind of name for C.AV_CHAN_BACK_RIGHT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:63:45: could not determine kind of name for C.AV_CHAN_BOTTOM_FRONT_CENTER
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:64:45: could not determine kind of name for C.AV_CHAN_BOTTOM_FRONT_LEFT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:65:45: could not determine kind of name for C.AV_CHAN_BOTTOM_FRONT_RIGHT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:36:45: could not determine kind of name for C.AV_CHAN_FRONT_CENTER
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:34:45: could not determine kind of name for C.AV_CHAN_FRONT_LEFT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:40:45: could not determine kind of name for C.AV_CHAN_FRONT_LEFT_OF_CENTER
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:35:45: could not determine kind of name for C.AV_CHAN_FRONT_RIGHT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:41:45: could not determine kind of name for C.AV_CHAN_FRONT_RIGHT_OF_CENTER
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:37:45: could not determine kind of name for C.AV_CHAN_LOW_FREQUENCY
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:60:45: could not determine kind of name for C.AV_CHAN_LOW_FREQUENCY_2
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:33:45: could not determine kind of name for C.AV_CHAN_NONE
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:43:45: could not determine kind of name for C.AV_CHAN_SIDE_LEFT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:44:45: could not determine kind of name for C.AV_CHAN_SIDE_RIGHT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:53:35: could not determine kind of name for C.AV_CHAN_STEREO_LEFT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:55:45: could not determine kind of name for C.AV_CHAN_STEREO_RIGHT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:58:45: could not determine kind of name for C.AV_CHAN_SURROUND_DIRECT_LEFT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:59:45: could not determine kind of name for C.AV_CHAN_SURROUND_DIRECT_RIGHT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:50:45: could not determine kind of name for C.AV_CHAN_TOP_BACK_CENTER
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:49:45: could not determine kind of name for C.AV_CHAN_TOP_BACK_LEFT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:51:45: could not determine kind of name for C.AV_CHAN_TOP_BACK_RIGHT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:45:45: could not determine kind of name for C.AV_CHAN_TOP_CENTER
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:47:45: could not determine kind of name for C.AV_CHAN_TOP_FRONT_CENTER
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:46:45: could not determine kind of name for C.AV_CHAN_TOP_FRONT_LEFT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:48:45: could not determine kind of name for C.AV_CHAN_TOP_FRONT_RIGHT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:61:45: could not determine kind of name for C.AV_CHAN_TOP_SIDE_LEFT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:62:45: could not determine kind of name for C.AV_CHAN_TOP_SIDE_RIGHT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:71:31: could not determine kind of name for C.AV_CHAN_UNKNOWN
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:68:30: could not determine kind of name for C.AV_CHAN_UNUSED
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:56:45: could not determine kind of name for C.AV_CHAN_WIDE_LEFT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:57:45: could not determine kind of name for C.AV_CHAN_WIDE_RIGHT
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:215:36: could not determine kind of name for C.AV_CH_LAYOUT_3POINT1POINT2
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:224:36: could not determine kind of name for C.AV_CH_LAYOUT_5POINT1POINT2_BACK
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:227:36: could not determine kind of name for C.AV_CH_LAYOUT_5POINT1POINT4_BACK
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:228:36: could not determine kind of name for C.AV_CH_LAYOUT_7POINT1POINT2
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:229:36: could not determine kind of name for C.AV_CH_LAYOUT_7POINT1POINT4_BACK
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:234:34: could not determine kind of name for C.AV_CH_LAYOUT_7POINT1_TOP_BACK
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:226:36: could not determine kind of name for C.AV_CH_LAYOUT_CUBE
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:984:13: could not determine kind of name for C.av_channel_layout_check
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:1001:13: could not determine kind of name for C.av_channel_layout_compare
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:881:13: could not determine kind of name for C.av_channel_layout_copy
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:844:2: could not determine kind of name for C.av_channel_layout_default
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:807:13: could not determine kind of name for C.av_channel_layout_from_mask
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:834:13: could not determine kind of name for C.av_channel_layout_from_string
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:857:29: could not determine kind of name for C.av_channel_layout_standard
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:867:2: could not determine kind of name for C.av_channel_layout_uninit
../../../go/pkg/mod/github.com/!lensual/[email protected]/avutil/channel_layout.go:831:9: could not determine kind of name for C.free

@Lensual
Copy link
Owner

Lensual commented Jan 8, 2025

It looks like CGO is not enabled or C/FFmpeg headers is not found.

Please read README.md first, and learn how to CGO programing.

This library is not recommend for product.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants