how to build

  • Anonymous - 2012-08-25

    I would like to build a 64bit version.. but I don't know how. I'm not a
    developer so the tools I'd need would need to be GPL'ed if possible. Could
    someone help me get pointed in the right direction ?

  • Robert Kausch

    Robert Kausch - 2012-08-27

    Hi, what system do you want to compile on and what version of fre:ac?

    The 20110524 snapshot is already available in a 64 bit version for Windows,
    but if you want to compile it yourself, you can do so using the fre:ac CDK.
    You'll need the 20110524 fre:ac sources and the 64 bit CDK plus the CVS
    version of the smooth Class Library (you'll need to check out a copy from CVS
    yourself, the project site is at Then you
    basically start cdk64.bat and run make for smooth, the CDK and fre:ac itself.

    On Linux or BSD systems you should be able to build a 64 bit version by
    running "export BUILD_X64=True" before running make/gmake. This is completely
    untested though. I will provide 64 bit versions of fre:ac for Linux/BSD once
    version 1.1 goes beta.

    Compiling fre:ac 1.0.20 for 64 bit would be a little more difficult, but would
    in general work the same as above (Windows only though). However, you'd need
    to make some adjustments to the code and would lose features like playback (as
    in fre:ac 1.0.x it depends on a Winamp output plugin only available in 32
    bit). Use smooth if you want to build that version.


  • nockdown

    nockdown - 2012-09-06

    Hi, sorry for my English.

    I decide to build a .deb package. Please, help me with this. I use Kubuntu
    12.04 64bit and try to build freac-20110524.

    You wrote "running "export BUILD_X64=True" before running make/gmake", so:

    cd ~/freac-20110524-linux/freac-20110524/source/freac-20110524/
    export BUILD_X64=True
    Compiling ./src/cddb/cddb.cpp...In file included from ./src/cddb/cddb.cpp:11:0:
    ./include/cddb/cddb.h:14:18:  fatal error: boca.h: No such file or directory
     compilation aborted.
    make: *** [objects/cddb.o] Error 1

    What's the reason? Where can I get boca.h?

  • Robert Kausch

    Robert Kausch - 2012-09-07

    Hi, boca.h is included in the CDK package available in the files section.
    You'll also need to build the smooth Class Library in order to run fre:ac (see
    my first message in this thread).

    You won't have much luck with 12.04 though. They changed the location of codec
    libraries to a place where fre:ac does not expect them. This will be fixed in
    the next snapshot release. In addition, there are probably more issus related
    to running on a 64 bit Linux. That combination is completely untested yet.

  • Robert Kausch

    Robert Kausch - 2012-10-01

    Hi nockdown, if you're still trying to build a .deb package, please try the
    20120930 snapshot. It's tested on Ubuntu 12.04 64 bit and should work without
    much problems.

    The only problem remaining should be the lack of FHS support in fre:ac and
    BoCA. So the package should install in /opt/freac instead of /usr. This will
    probably be fixed in the next snapshot making it possible to build fre:ac
    packages for various Linux and BSD distributions.

    Instructions for checking out the smooth Class Library source can be found at btw.

  • nockdown

    nockdown - 2012-10-02

    enzo, good news! Thank you! I'll try tomorrow


Log in to post a comment.