kometbomb / klystrack

A chiptune tracker
http://kometbomb.github.io/klystrack/
Other
482 stars 29 forks source link

Failed to compile (rev 1106) on GNU/Linux #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I build the source code from revision 1106 on a GNU/Linux operating system :
$ svn checkout http://klystrack.googlecode.com/svn/trunk/ klystrack-read-only
$ cd klystrack-read-only/
$ make

I would like it builds the klystrack binary.

Instead I got a lot of errors :
$ make
Generating dependencies for wavetableview.c...
In file included from src/view/wavetableview.c:27:
src/view/../mused.h:29:23: error: snd/music.h: No such file or directory
src/view/../mused.h:30:22: error: gfx/font.h: No such file or directory
src/view/../mused.h:32:24: error: gui/slider.h: No such file or directory
src/view/../mused.h:56:22: error: gui/menu.h: No such file or directory
In file included from src/view/wavetableview.c:28:
src/view/../view.h:29:22: error: gui/view.h: No such file or directory
src/view/wavetableview.c:30:23: error: gui/mouse.h: No such file or directory
src/view/wavetableview.c:31:24: error: gui/dialog.h: No such file or directory
src/view/wavetableview.c:32:23: error: gui/bevel.h: No such file or directory
In file included from src/view/wavetableview.c:34:
src/mybevdefs.h:29:25: error: gui/bevdefs.h: No such file or directory
Generating dependencies for visu.c...
In file included from src/view/visu.h:26,
                 from src/view/visu.c:26:
src/view/../view.h:29:22: error: gui/view.h: No such file or directory
src/view/visu.c:27:23: error: gui/bevel.h: No such file or directory
In file included from src/view/visu.c:28:
src/mybevdefs.h:29:25: error: gui/bevdefs.h: No such file or directory
In file included from src/view/visu.c:29:
src/mused.h:29:23: error: snd/music.h: No such file or directory
src/mused.h:30:22: error: gfx/font.h: No such file or directory
src/mused.h:32:24: error: gui/slider.h: No such file or directory
src/mused.h:56:22: error: gui/menu.h: No such file or directory
src/view/visu.c:30:23: error: snd/freqs.h: No such file or directory
[...]
make: *** ../klystron: No such file or directory.  Stop.
make: *** [build] Error 2

I suggest you to use the GNU autotools.
In this way, I just type the well known command lines :
$ ./configure
$ make

But for the moment, what can I do to avoid these errors on the 1106 revision?

Thank you.

Original issue reported on code.google.com by yugioh...@1s.fr on 28 Dec 2011 at 5:29

GoogleCodeExporter commented 9 years ago
Don't forget to also checkout klystron (the actual engine that provides the 
sound):

$ svn checkout http://klystron.googlecode.com/svn/trunk/ klystron
$ svn checkout http://klystrack.googlecode.com/svn/trunk/ klystrack
$ cd klystrack/
$ make

See also: http://code.google.com/p/klystrack/wiki/HowToCompile

Take note that the latest source might not be 100 % compatible with the stable 
versions.

Original comment by kometb...@gmail.com on 28 Dec 2011 at 6:33