[Date Prev][Date Next]
[CTSim-Users] Fedora Core 4.
- Subject: [CTSim-Users] Fedora Core 4.
- From: ummar143 at cc.umanitoba.ca (Dan Martin)
- Date: Wed Jan 18 14:06:06 2006
I'm new to using Linux as a development platform - in fact I recently
installed Fedora Core 4 with the idea of having a fresh platform,
dependencies controlled by yum, to install ctsim and get it running.
Autoconf is something completely new to me, so I hope there is not too
much tweaking involved of the files used to create the makefiles.
How did you get ctsim running on FC4?
I used yum to install / update the following packages
wxGTK.i386 2.4.2-12 (GTK2)
I downloaded ctsim-4.4.2 and ran configure, no options. I ran make from
the root folder in the source tree, and setup.h could not be found. I
discovered setup.h in
and copied it to
Then there was an error because __WXGTK__ was undefined.
setup.h contained the statements
#define __WXGTK12__ 1
#define __WXGTK20__ 1
so I added
#define __WXGTK__ 1
This allowed compilation to ctsim.o and docs.o, but there were errors
views.cpp: In member function ?virtual void PhantomFileView::OnDraw(wxDC*)?:
views.cpp:2432: error: variable ?SGPDriver driver? has initializer but
views.cpp:2433: error: variable ?SGP sgp? has initializer but incomplete
views.cpp:2435: error: ?C_RED? was not declared in this scope
views.cpp:2436: error: ?const class Phantom? has no member named ?show?
I have a feeling that this has to do with a missing header file or a
fussy GCC 4 compiler not seeing part of the header.
Has anyone encountered similar problems?
>I haven't been keeping up recently but I just updated my system to
>wxGTK 2.6 and built ctsim-4.4.2 just fine on my fc4 box. I did need to
> use the --without-lam configure option but I'll take that for now. Is
>that something others have working?
Dr. Dan Martin
GP Hospital Practitioner
Computer Science grad student