Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code doesn't compile #2

Open
kobi2187 opened this issue Nov 14, 2021 · 0 comments
Open

code doesn't compile #2

kobi2187 opened this issue Nov 14, 2021 · 0 comments

Comments

@kobi2187
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant