fospald / fibergen

A FFT-based homogenization tool.
https://fospald.github.io/fibergen/
GNU General Public License v3.0
14 stars 6 forks source link

I could not install boost-numeric-bindings #11

Closed Fengyixin-research closed 3 years ago

Fengyixin-research commented 3 years ago

I have followed this instruction in [https://mathema.tician.de/software/boost-numeric-bindings/], however, the configure file seems not right for it is an old version.

Traceback (most recent call last):
  File "./configure", line 62, in <module>
    file(fname, "w").write("".join(new_lines))
NameError: name 'file' is not defined

Would you mind showing the solutions? I will owe my gratitude.

fospald commented 3 years ago

I think you need to run the configure script with python2. You need only the headers for boost-numeric-bindings the Makefile will only copy the headers to the target directory.