Skip to content

mupdf: Error: Unknown kind in findAlias #143

@mantielero

Description

@mantielero

I was trying to wrap mupdf in ArchLinux:

# nim --maxLoopIterationsVM:10000000000 c -d:futharkRebuild  create
# nim c -d:futharkRebuild -d:nodeclguards -d:noopaquetypes create

import futhark,os

importc:
  outputPath currentSourcePath.parentDir / "fitz.nim"
  path "/usr/include/"
  "mupdf/fitz.h"

and I get:

$ nim --maxLoopIterationsVM:10000000000 c -d:futharkRebuild -d:nodeclguards -d:noopaquetypes create
...
/home/jose/.nimble/pkgs2/futhark-0.15.0-50ab2e44c9d5cc99ba1c85032b63c1086c71371c/futhark.nim(779, 14) template/generic instantiation of `importcImpl` from here
/home/jose/.nimble/pkgs2/futhark-0.15.0-50ab2e44c9d5cc99ba1c85032b63c1086c71371c/futhark.nim(271, 14) Error: Unknown kind in findAlias: {"kind":"invalid","value":"???"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions