mautrix / go

A Golang Matrix framework.

Home Page:https://maunium.net/go/mautrix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

olm compilation error

Ffuueee opened this issue · comments

CGO_ENABLE=1 go build
image

CGO_CFLAGS="-I/opt/homebrew/Cellar/libolm/3.2.15/include" CGO_LDFLAGS="/opt/homebrew/Cellar/libolm/3.2.15/lib" CGO_ENABLE=1 go build
image
image

image
macos : libolm is already installed.

I don't see a compilation option on how to disable olm.
But how do I use it if I want to use olm? Or is macos not compatible.

export LIBRARY_PATH=/opt/homebrew/lib
export CPATH=/opt/homebrew/include
export PATH=/opt/homebrew/bin:$PATH