Re: [opsmodelling-general] Re: Joining Opsmodelling team
Status: Inactive
Brought to you by:
lyakhov
From: Fedor L. <ly...@li...> - 2005-10-26 12:37:54
|
----- Original Message ----- From: "Daryl Lee" <dl...@al...> To: Opsmodelling <ops...@li...> Subject: Re: [opsmodelling-general] Re: Joining Opsmodelling team Date: Tue, 25 Oct 2005 09:00:59 -0600 >=20 > On Tue, 2005-10-25 at 07:00, Fedor Lyakhov wrote: > > Hi > > > > > > I have compiled gui in Linux -- my gcc has found just one error=20 > > in it: line 54: > > > > static const GtkActionEntry entries[] =3D { > > > > After deleting 'const' everything was built nicely. > > First version doesn't work, but the last one works almost perfectly. > > I don't know GTK well, but I can add a handler for delete_event=20 > > so it will be quitting normally. >=20 > That's a curious thing. The "const" isn't important; it's just good > coding practice to mark everything "const" that you don't intend to > change. I'd be interested to know what version of gcc you're using. > I'm using 3.4.4 on Cygwin. I'm upgrading my Linux computer later today; > perhaps I will get the same result as you. I'm using old Fedora Core 3 now, with gcc 3.4.x I'll send gcc' error messag= e. > > > > I cannot compile it in windows, bacuse my cygwin is too old I think. > > > > > > About making logics: I want binaries go to $(BASE)bin/, libraries -- li= b etc. > > Shared includes are in $(BASE)include/ ... > > I don't know why my makefiles don't work at your comp, please describe = it. > First, the directories that I have (skipping documentation, etc.): > +--include (contains some *.h files) > +--src > +--battle > +--gauss > +--grapher > +--ode1 > +--qlo > +--tst > +--tst-lb >=20 > Note that there is no "lib" directory. I see. CVS deletes empty directories (or my client was set to delete them).= But there is lib directory when I look thru ViewCVS at SF. Maybe your clie= nt is set to delet empty folders > 1. When I enter the battle directory and type "make" at the command > prompt, I get an error finding the "../../lib" directory. If I "mkdir > ../../lib" and re-run it, it's okay. I think the best solution is to > add a lib folder to CVS so it's created when someone updates from CVS. > It may be necessary to have a readme.txt file in the folder just to make > sure it's created for the user. I'm not sure how CVS treats empty > folders. This same error occurs in any of the folders that have an "ar" > command: battle, grapher, ode1, and tst. >=20 > 2. When I enter the gauss1 directory and type "make" I get an error > trying to include "glut.h". I'm not sure how your computer is set up, > but all my OpenGL files have "#include <GL/glut.h>". So there seems to > be an include path discrepancy. My glut.h file is at > /usr/include/GL/glut.h Yes, maybe there is a mistake because I used msvc to compile gauss1: my sci= entfic adviser has only MUST_DIE now (and has no free disk space for linux,= and also I have no free time to install linux there). I think about reorganizing directory structure: adding subdir 'examples' in= to 'src' and put all differential schemes and math examples(gauss1, ode1-no= t working now,qlo, and diffusive and pde-qlo which i haven't upload yet bec= ause they seem not working) to there. > > ----- Original Message ----- > > From: "Daryl Lee" <dl...@al...> > > To: "Fedor Lyakhov" <ly...@li...> > > Subject: Re: Joining Opsmodelling team > > Date: Mon, 24 Oct 2005 16:35:03 -0600 > > > > > > I didn't think about compiling with MSVC--I like to not use that on= open > > > source projects, since I use it all day at work! Neither do I!=20 > > But some people from the team use it (maybe). > > > > > I've downloaded a > > > class "ParamContainer" at http://www.biorainbow.com/paramcontainer th= at > > > should work nicely. I'll replace getopt_long with it, add the copyri= ght > > > stuff, post to CVS, and announce it on the forum. > > Again: What about splitting main.cpp into main.cpp, gui.hpp, gui.cpp,=20 and even maybe cui.cpp(&.hpp)? I've tried to do so, but have got linking errors... Best regards, Fedor --=20 _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze |