Thanks. But i am developing a tool using GRASS source
codes. So i need to open the whole GRASS project (source
codes) and study the codes (functions etc). I am looking for
an IDE which i can open the whole project and debug(such as
Visual Studio in Microsoft).
I am curious to know if any of the current devels use an IDE
for grass? personally I just use nedit for normal stuff and vi
for minor|major tasks, and make from the command line. debug
using printf, gdb, and/or kdbg depending on how evil it is.
works well for me.
does emacs count as an IDE or would that be insulting its power?
I am curious to know if any of the current devels use an IDE
for grass? personally I just use nedit for normal stuff and vi
for minor|major tasks, and make from the command line. debug
using printf, gdb, and/or kdbg depending on how evil it is.
works well for me.
does emacs count as an IDE or would that be insulting its power?
I use XEmacs. I suppose it could count as an IDE, although it's more
of an IEE: "Integrated Everything Environment".
Apart from editing source files and Makefiles, it has facilities for
running the compiler, parsing the error messages, and locating an
error in the source code. It also has interfaces to GDB and to several
revision-control systems. Also, viewers for manual pages, Info files
and HTML files.
About the only feature of "typical" IDEs which is missing is a GUI
front-end for managing the file hierarchy.
I use XEmacs. I suppose it could count as an IDE, although it's more
of an IEE: "Integrated Everything Environment".
Apart from editing source files and Makefiles, it has facilities for
running the compiler, parsing the error messages, and locating an
error in the source code. It also has interfaces to GDB and to several
revision-control systems. Also, viewers for manual pages, Info files
and HTML files.
Yes, this is all well and good, but can it brew a cup of coffee? That
is a real consideration here ;^)
Although I do a lot of "prgramming" per se, I do a ton of script editing
with vim, and I know the editor has a ton of features for programmers;
it might be worth checking out.
P.S. Mostly, I only mentioned vim because Glynn brought up XEmacs. Zing!
Flame shields on, and have a good Easter weekend everyone ;^)
~ Eric.
About the only feature of "typical" IDEs which is missing is a GUI
front-end for managing the file hierarchy.
Yes, this is all well and good, but can it brew a cup of coffee? That
is a real consideration here ;^)
Although I do a lot of "prgramming" per se, I do a ton of script editing
with vim, and I know the editor has a ton of features for programmers;
it might be worth checking out.
Whoops - No I do NOT do a lot of programming - maybe I should be brewing a pot of coffee.
Thanks, I am using Eclipse now and i opened the grass codes (grass-6.4.0RC3) using eclipse. I could successfully compile it using console (make command). but when i try to build it using eclipse , it gives 21 errors from grass-6.4.0RC3/visualization/ximgview/main.c file. I cannot figure out how to solve these errors. i have attached a screenshot. please tell me how to solve these errors.
don't worry too much about ximgview/main.c. It is perhaps unlikely that you
ever use it... And GRASS is modular, so the rest isn't affected.
Markus
On Fri, Apr 10, 2009 at 7:52 AM, dasuni kannangara <dasuni7@gmail.com> wrote:
Thanks, I am using Eclipse now and i opened the grass codes (grass-6.4.0RC3)
using eclipse. I could successfully compile it using console (make command).
but when i try to build it using eclipse , it gives 21 errors from
grass-6.4.0RC3/visualization/ximgview/main.c file. I cannot figure out how
to solve these errors. i have attached a screenshot. please tell me how to
solve these errors.
________________________________
View this message in context: Re: Programming in GRASS
Sent from the Grass - Dev mailing list archive at Nabble.com.
I am using Eclipse now and i opened the grass codes (grass-6.4.0RC3)
using eclipse. I could successfully compile it using console (make
command). but when i try to build it using eclipse , it gives 21
errors from grass-6.4.0RC3/visualization/ximgview/main.c file. I
cannot figure out how to solve these errors. i have attached a
screenshot. please tell me how to solve these errors.
The errors all indicate that <grass/gis.h> wasn't included, or is
empty.
Why does the "ximgview" directory have a "grass" subdirectory? That
isn't present in the SVN repository.
thanx. but grass/gis.h is already there. i just added another grass folder to ximgview to check whether it solves.what is the location which i should search for grass/gis.h??
Glynn Clements wrote:
dasuni kannangara wrote: > I am using Eclipse now and i opened the grass codes (grass-6.4.0RC3) > using eclipse. I could successfully compile it using console (make > command). but when i try to build it using eclipse , it gives 21 > errors from grass-6.4.0RC3/visualization/ximgview/main.c file. I > cannot figure out how to solve these errors. i have attached a > screenshot. please tell me how to solve these errors. The errors all indicate that
thanx. but grass/gis.h is already there. i just added another grass
folder to ximgview to check whether it solves.what is the location
which i should search for grass/gis.h??
The "headers" target in lib/Makefile installs the headers from the
include directory into dist.<arch>/include/grass. This is done before
any source files are compiled.
The GRASS source tree has many ordering requirements, e.g. the lib
directory must be built before any modules, the libraries must be
built in a fixed order, the "headers" target must be made before
starting to build any of the libraries, etc.
If you want to use an IDE, you are going to have to replicate all of
these dependencies as part of the project.
thanx. can u send me that order.am trying to compile it using eclipse for many days now. if u can send me the steps it will be a great assistance.
Glynn Clements wrote:
dasuni kannangara wrote: > thanx. but grass/gis.h is already there. i just added another grass > folder to ximgview to check whether it solves.what is the location > which i should search for grass/gis.h?? The “headers” target in lib/Makefile installs the headers from the include directory into dist.