Public bug reported:
helloworld.cpp: In function ‘int main(int, char**)’:
helloworld.cpp:63:34: error: ‘AF_BINARY_MUL’ was not declared in this scope
63 | af::array S = scan(r, 0, AF_BINARY_MUL);
| ^~~~~~~~~~~~~
helloworld.cpp:63:23: error: ‘scan’ was not declared in this scope; did you
mean ‘scanf’?
63 | af::array S = scan(r, 0, AF_BINARY_MUL);
| ^~~~
| scanf
Arrayfire 3.3.2 is too old, so it doesn't have AF_BINARY_MUL. Since
version 3.4, it has enum for some arithmetic operation. Please upgrade
the package to latest version, 3.9.0.
Ref:
https://arrayfire.org/docs/defines_8h_source.htm#l00432&gsc.tab=0
** Affects: arrayfire (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065190
Title:
‘AF_BINARY_MUL’ was not declared in this scope
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/arrayfire/+bug/2065190/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs