Skip to content

fatal error: '../graal/dxfg_api.h' file not found #16

@princefishthrower

Description

@princefishthrower

Hi all interested in getting some dxfeed examples running in Go. I just created an empty project with a main.go and the library installed via go get github.com/dxfeed/dxfeed-graal-go-api

As the title states, when I try the QD Endpoint or DxLink example code snippets, I get the following:

go run main.go 
# github.com/dxfeed/dxfeed-graal-go-api/internal/native/mappers
../../../go/pkg/mod/github.com/dxfeed/[email protected]/internal/native/mappers/analytic_order_mapper.go:4:10: fatal error: '../graal/dxfg_api.h' file not found
    4 | #include "../graal/dxfg_api.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.

I am on mac OS, apple silicon (M3). I have clang installed:

clang --version

Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Did I miss a prerequisite or additional install step? Thanks a lot!

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