zubairhamed / canopus

CoAP Client/Server implementing RFC 7252 for the Go Language
Apache License 2.0
155 stars 41 forks source link

Build is broken #82

Open drasko opened 7 years ago

drasko commented 7 years ago
# github.com/zubairhamed/canopus
../../zubairhamed/canopus/dtls.go:12:26: fatal error: internal/bio.h: No such file or directory
compilation terminated.
drasko commented 7 years ago

@jvermillard is using openssl as a submodule: https://github.com/jvermillard/nativedtls. This way cgo can find correct headers.

You have probably installed on your system openssl 1.1, but it is pretty new and you can not expect it on any system.

I propose you to add correct openssl revision as a submodule (I tried adding by hand openssl dir, but it does not build)

zubairhamed commented 7 years ago

Hey Drasko,

Yes you're right. I've commited the submodule.

Thanks! Z