problems building fakenes from source
running ubuntu 10.4 x86_64
downloaded source tarball of fakenes-0.5.9-beta3
tried to compile with ./cbuild as per instructions and it gets to the following and provides quite a few errors
what am i missing?
or is there a bug in the file audio.cpp
Hmm, I don't know what hawknl is but the build script should have bailed out if it was essential.
I checked the fakenes sourceforge site and it seems that the code you are trying to compile is more than two years old. I suspect the problem is that the source code is missing some "#include <cstdio>"s that older g++ did not explicitly need. That would probably explain the putc, fseek, fwrite and fclose errors, but I don't know about the wavFile errors.
What g++ version are you using?
Downloading HawkNL1.68 : http://hawksoft.com/download/ : HawkNL168src.zip
Please edit HawkNL1.68/src/makefile.linux , line 8-9 to :
LIBDIR = /usr/lib
INCDIR = /usr/include
cd HawkNL1.68/ && make -f makefile.linux && sudo make install -f makefile.linux
Required : alleggl ..
cd alleggl/ && ./configure --prefix=/usr && sudo make install
Reason for "prefix=usr/" , HawkNL1.68 and alleggl :
The executable 'fakenes' is hard coded to look in /usr/lib* only.
Also : '/usr/bin/openal-config' is required : sudo cp openal-config /usr/bin/
HawkNL is not causing your errors. 'g++' is : Already suggested by @evo2.
( The *.cpp files are dated 2007.)
This will do : sudo apt-get install g++-4.1
Please start from scratch with fakenes in a new directory :
cd fakenes-0.5.9-beta3/ && export CXX=g++-4.1 && make
The command ./fakenes will display the GUI.
|All times are GMT -5. The time now is 05:44 AM.|