i am trying to use canopus but i got the following error:
# github.com/zubairhamed/canopus
In file included from src/github.com/zubairhamed/canopus/openssl/include/openssl/err.h:13,
from src/github.com/zubairhamed/canopus/dtls.go:9:
src/github.com/zubairhamed/canopus/openssl/include/openssl/e_os2.h:13:11: fatal error: openssl/opensslconf.h: No such file or directory
# include <openssl/opensslconf.h>
^~~~~~~
compilation terminated.
make: *** [Makefile:20: deps] Error 2
on my project i am using this makefile to consume the library:
export GOPATH := $(PWD)
export GOBIN := $(GOPATH)/bin
export PATH := $(PATH):$(GOBIN)
export CGO_ENABLED := 1
export PRG := edge-node-simulator
all: bin src pkg build
bin:
mkdir bin
src:
mkdir src
pkg:
mkdir pkg
deps:
go get -v github.com/zubairhamed/canopus
build: deps
go install src/main/$(PRG).go
.PHONY: build
clean:
rm -rf bin
rm -rf pkg
rm -rf src/github.com
run:
go run src/main/$(PRG).go
Hello all,
i am trying to use canopus but i got the following error:
on my project i am using this makefile to consume the library:
any guidance on how do i get canopus working?
many thanks in advance