Skip to content

code doesn't compile #2

Description

@kobi2187

Hi!
i want to use imagemagick with your binding but the code doesn't compile:

Hint: used config file '/home/kobi/.choosenim/toolchains/nim-#devel/config/nim.cfg' [Conf]
Hint: used config file '/home/kobi/.choosenim/toolchains/nim-#devel/config/config.nims' [Conf]
Hint: used config file '/home/kobi/nim.cfg' [Conf]
.........................................................................................................................
# Importing /usr/include/ImageMagick-7/MagickWand/MagickWand.h
# Saved to /home/kobi/.cache/nim/nimterop/toastCache/nimterop_2972849238.nim
..
/home/kobi/apps/nimagemagick/src/nimagemagick.nim(26, 8) template/generic instantiation of `cImport` from here
/home/kobi/.nimble/pkgs/nimterop-0.6.13/nimterop/cimport.nim(704, 10) template/generic instantiation of `cImport` from here
/home/kobi/.cache/nim/nimterop/toastCache/nimterop_2972849238.nim(478, 47) Error: VM does not support 'cast' from tyFloat to tyFloat

Is this known?
Thanks!

[kobi@noble-life-calm-heart src]$ nim -v
Nim Compiler Version 1.7.1 [Linux: amd64]
Compiled at 2021-11-14
Copyright (c) 2006-2021 by Andreas Rumpf

git hash: 270a5a372ddcb8fa97eacdf926dd90bfe189298f
active boot switches: -d:release

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