Can not build sopr

akira noda
2010-07-23
2013-05-20
  • akira  noda
    akira noda
    2010-07-23

    I can not build "sopr" in STPK3.3
    Because FreeBSD have no log2 function.

    May be…. Following workaround runs well

    #ifdef __FreeBSD__
    #define log2(x) (log(x)/0.693147180559945)
    #else
    double log2(double);
    #endif

    FreeBSD8.0にはlog2関数がないため、ビルドできませんでした。
    とりあえず、上のようにして回避してみました。

     
  • Akira Tamamori
    Akira Tamamori
    2010-08-23

    Hi, akira_you

    I'm the one of the maintainer of SPTK.
    Thank you for your report.

    Your log2 function problem have already been fixed.
    This fix will be reflected in the next release.

    Regards,
    Akira