Tensor: PECL Windows Build Fails (Missing Dependencies on Build Server)

All versions fail to compile

fatal error C1083: Cannot open include file: 'cblas.h': No such file or directory

See https://windows.php.net/downloads/pecl/releases/tensor/

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 32 (13 by maintainers)

Commits related to this issue

Most upvoted comments

It seems this extension requires several libraries, but these dependencies are not checked during configuration on Windows (in config.w32). These checks would fail for PECL builds, though, since these libs are not available at https://windows.php.net/downloads/pecl/deps/. I’ll see what I can do.

I’ve tried them on Windows 10, PHP 8.0.10, it seems to be OK. Thank you.

I’ve managed to build it for php 7.4 nts x64 for windows: https://github.com/federicoemartinez/Tensor/releases/tag/3.0.1 I don’t know if I can help you somehow so you can build it again.

Hey @takielias I’m not sure if you ever got it to build. It took me many tries and a few days, but I did get it to work.

https://github.com/jb-lopez/php-extensions-windows/releases/tag/Tensor

@federicoemartinez Thanks a lot. solved the issue by using nts version of PHP 7.4. Could you please make a ts version of the tensor build for windows please?

I’ll try, but I’m going on vacations right now so it will have to wait.

@federicoemartinez Thanks a lot. solved the issue by using nts version of PHP 7.4. Could you please make a ts version of the tensor build for windows please?

Oh sorry about that, I’ll have to find a way to allow comments on merged PRs. Thanks for the explanation, it really helps alot! We still need to figure a way to patch the config.w32 file after Zephir compiles it. It shoudn’t be too hard now that I have a better idea as to what’s going on.