I wish to compile LAMES MP3x Frame Analyser so that I can amend a few things in the source code for project reasons.
However, following the instructions (README.WINGTK) provided and including all the .lib file etc leads to the first of the following errors:
--------------------Configuration: MP3x - Win32 Release GTK--------------------
Compiling...
gtkanal.c
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(303) : warning C4013: 'gtk_text_freeze' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(303) : warning C4013: 'GTK_TEXT' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(304) : warning C4013: 'gtk_text_backward_delete' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(305) : warning C4013: 'gtk_text_get_length' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(306) : warning C4013: 'gtk_text_set_point' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(307) : warning C4013: 'gtk_text_insert' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(336) : warning C4013: 'gtk_text_thaw' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(1083) : warning C4013: 'gtk_text_new' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(1083) : warning C4047: '=' : 'struct _GtkWidget *' differs in levels of indirection from 'int '
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(1084) : warning C4013: 'gtk_text_set_editable' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(1085) : error C2223: left of '->vadj' must point to struct/union
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(1085) : error C2198: 'gtk_vscrollbar_new' : too few actual parameters
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(1092) : warning C4013: 'gtk_text_set_word_wrap' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(1327) : warning C4013: 'gtk_accel_group_attach' undefined; assuming extern returning int
C:\MATLAB7\work\lame-3.96\lame-3.96\frontend\gtkanal.c(1437) : warning C4047: '=' : 'struct _GtkWidget *' differs in levels of indirection from 'int '
Error executing cl.exe.
mp3x.exe - 2 error(s), 24 warning(s)
Then it you can comment out the lines causing the problems(because they only create the help window), you eventually end up with more errors, requesting access to files not provided in the downloaded libraries.
--------------------Configuration: MP3x - Win32 Release GTK--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "gdk.lib"
Error executing link.exe.
mp3x.exe - 1 error(s), 0 warning(s)
I have mentioned this to Gabriel Bouvigne and he says that these libraries must have changed since mp3x was written therefore creating incompatibility problems.
If anyone has compiled MP3x recently, could you please tell me how you did it...
Thanks