Re: [opsmodelling-general] Re: Joining Opsmodelling team
Status: Inactive
Brought to you by:
lyakhov
From: Jochen R. <jo...@co...> - 2005-10-25 16:52:16
|
Hi Daryl. Daryl Lee schrieb: > On Tue, 2005-10-25 at 07:00, Fedor Lyakhov wrote: > > 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. CVS ignores empty directories, while checking out. This can be resolved by adding a README, log or other simple text file ;) Note, that you add the -p option while updating, so that CVS creates the new directory in your local copy. > > 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 > One could set the local /etc/ld.so.conf to point to the GL directory, or make it an option in the makefile and cpp / h files as #ifdefs. This had an advantage, as there exists at least 2 OpenGL implementations. I'd prefer to have one header file, where such unclear dependencies, or at choice all external "non-standard" libraries could be included and this one had to be included in the project files. This would reduce those changes, #ifdefs ,... to one place in one file. cheers, Jochen |