Skip to content

Unable to compile Go package #1

@guneemwelloeux

Description

@guneemwelloeux

After retrieving the package with go get github.com/keysight/clipsgo, I tried to build the whole package, and got the following error:

go build -o clipsgo ./cmd/clipsgo
# github.com/keysight/clipsgo/pkg/clips
pkg/clips/callback.go:5:11: fatal error: clips/clips.h: No such file or directory
    5 | // #include <clips/clips.h>
      |           ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:38: clipsgo] Error 2

The compilation of clips itself went fine, and the sources are available in go/src/github.com/keysight/clipsgo/clips_source

I'm using go version go1.13.8 linux/amd64 on Ubuntu 20.04 LTS.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions