Some time ago I wrote a program and compiled it successfully (on a machine running FC4).
Now I have Fedora 9 and I want to recompile the program - but I can't remember all that I did. Here is the result of my attempt.
Code:
[Ian@localhost sourceETR]$ gcc *.cc
In file included from ElTimeBody.cc:15:
ElTimeBody.h:14:19: error: gtkmm.h: No such file or directory
In file included from ElTimeBody.cc:15:
ElTimeBody.h:17: error: ‘Gtk’ has not been declared
ElTimeBody.h:17: error: expected `{' before ‘Window’
ElTimeBody.h:17: error: function definition does not declare parameters
ElTimeBody.cc:20: error: invalid use of incomplete type ‘class ElapsedTime’
ElTimeBody.h:17: error: forward declaration of ‘class ElapsedTime’
ElTimeBody.cc:42: error: invalid use of incomplete type ‘class ElapsedTime’
ElTimeBody.h:17: error: forward declaration of ‘class ElapsedTime’
ElTimeBody.cc:48: error: invalid use of incomplete type ‘class ElapsedTime’
ElTimeBody.h:17: error: forward declaration of ‘class ElapsedTime’
ElTimemain.cc:11:24: error: gtkmm/main.h: No such file or directory
In file included from ElTimemain.cc:12:
ElTimeBody.h:14:19: error: gtkmm.h: No such file or directory
In file included from ElTimemain.cc:12:
ElTimeBody.h:17: error: ‘Gtk’ has not been declared
ElTimeBody.h:17: error: expected `{' before ‘Window’
ElTimeBody.h:17: error: function definition does not declare parameters
ElTimemain.cc: In function ‘int main(int, char**)’:
ElTimemain.cc:19: error: ‘Gtk’ has not been declared
ElTimemain.cc:19: error: expected `;' before ‘kit’
ElTimemain.cc:23: error: aggregate ‘ElapsedTime ElapsedTime’ has incomplete type and cannot be defined
ElTimemain.cc:30: error: ‘Gtk’ has not been declared
[Ian@localhost sourceETR]$
I remember that gtk came into the process previously. Is there someone who could jog my memory - I have installed gtk-devel.
TIA