OK - that worked until I hit this brick wall: ./gtk_project.h:84: error: expected `)' before '&' token ./gtk_dialog.cpp: In member function 'virtual bool file_open_dialog::OkEvent(const char*)': ./gtk_dialog.cpp:259: error: no matching function for call to 'gtk_project::gtk_project(gtk_class_factory&)' ./gtk_project.h:46: note: candidates are: gtk_project::gtk_project() ./gtk_project.h:46: note: gtk_project::gtk_project(const gtk_project&) ./gtk_dialog.cpp: In static member function 'static void command_dialog::CancelButtonHandler(GtkWidget*, void*)': ./gtk_dialog.cpp:533: warning: unused variable 'ref' make[1]: *** [gtk_dialog.o] Error 1 Tried to fix it, but i get the same error. Please give me a hint. Thanks. On 9/17/05, Erik Gregg <hardware.hank at gmail.com> wrote: > Hi. I recently tried to compile libGhemical 1.90 on a Fedora Core 4 > system with GCC 4.0.1. Here's where it died: > > g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -g -O2 > -Wp,-MD,.deps/search.pp -c search.cpp -fPIC -DPIC -o .libs/search.o > In file included from > /usr/lib/gcc/i386-redhat-linux/4.0.1/../../../../include/c++/4.0.1/backward/strstream:51, > from search.cpp:15: > /usr/lib/gcc/i386-redhat-linux/4.0.1/../../../../include/c++/4.0.1/backward/backward_warning.h:32:2: > warning: #warning This file includes at least one deprecated or > antiquated header. Please consider using one of the 32 headers found > in section 17.4.1.2 of the C++ standard. Examples include substituting > the <X> header for the <X.h> header for C++ includes, or <iostream> > instead of the deprecated header <iostream.h>. To disable this warning > use -Wno-deprecated. > search.h:46: error: ISO C++ forbids declaration of 'geomopt' with no type > search.h:46: error: expected ';' before '*' token > search.h:88: error: ISO C++ forbids declaration of 'geomopt' with no type > search.h:88: error: expected ';' before '*' token > search.h:129: error: ISO C++ forbids declaration of 'geomopt' with no type > search.h:129: error: expected ';' before '*' token > search.cpp: In constructor 'random_search::random_search(model*, i32s, > i32s, i32s, i32s, i32s)': > search.cpp:36: error: 'go' was not declared in this scope > search.cpp: In destructor 'random_search::~random_search()': > search.cpp:56: error: 'go' was not declared in this scope > search.cpp:56: error: type '<type error>' argument given to 'delete', > expected pointer > search.cpp: In member function 'i32s random_search::TakeStep()': > search.cpp:90: error: 'go' was not declared in this scope > search.cpp:90: error: type '<type error>' argument given to 'delete', > expected pointer > search.cpp:91: error: 'go' was not declared in this scope > search.cpp:97: error: 'go' was not declared in this scope > search.cpp: In constructor > 'systematic_search::systematic_search(model*, i32s, i32s, i32s, i32s, > i32s)': > search.cpp:145: error: 'go' was not declared in this scope > search.cpp: In destructor 'systematic_search::~systematic_search()': > search.cpp:172: error: 'go' was not declared in this scope > search.cpp:172: error: type '<type error>' argument given to 'delete', > expected pointer > search.cpp: In member function 'i32s systematic_search::TakeStep()': > search.cpp:215: error: 'go' was not declared in this scope > search.cpp:215: error: type '<type error>' argument given to 'delete', > expected pointer > search.cpp:216: error: 'go' was not declared in this scope > search.cpp:222: error: 'go' was not declared in this scope > search.cpp: In constructor > 'monte_carlo_search::monte_carlo_search(model*, i32s, i32s, i32s, > i32s, i32s, i32s)': > search.cpp:276: error: 'go' was not declared in this scope > search.cpp: In destructor 'monte_carlo_search::~monte_carlo_search()': > search.cpp:303: error: 'go' was not declared in this scope > search.cpp:303: error: type '<type error>' argument given to 'delete', > expected pointer > search.cpp: In member function 'i32s monte_carlo_search::TakeStep()': > search.cpp:342: error: 'go' was not declared in this scope > search.cpp:342: error: type '<type error>' argument given to 'delete', > expected pointer > search.cpp:343: error: 'go' was not declared in this scope > search.cpp:349: error: 'go' was not declared in this scope > make[1]: *** [search.lo] Error 1 > > Any ideas would be greatly appreciated! Thanks. > -- > > - Erik (Hank) Gregg > GINA Project > 111A WRRB > Phone: x1567 > Fax: x7160 > -- - Erik (Hank) Gregg GINA Project 111A WRRB Phone: x1567 Fax: x7160