But it does not compile with C++ i believe...
-------------------------
[root@aung-computer i.atcorr]# make
gcc -L/home/yann/tmp/grass/dist.i686-pc-linux-gnu/lib
-Wl,--export-dynamic
-Wl,-rpath-link,/home/yann/tmp/grass/dist.i686-pc-linux-gnu/lib
-L/usr/lib/pgsql -DPACKAGE=\""grassmods"\" -o
/home/yann/tmp/grass/dist.i686-pc-linux-gnu/bin/i.atcorr -lgrass_I
-lgrass_gmath -lfftw3 -lm -lgrass_gis -lgrass_datetime -lz -lm
-lz
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/../../../crt1.o: In
function `_start': undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [/home/yann/tmp/grass/dist.i686-pc-linux-gnu/bin/i.atcorr] Error 1
-----------------
Did some clean up in the directories, could get a clean compile and
install following the GRASS61cvs. It creates and loads the GUI Module
properly now (see attachement).
It also creates a help file, but Christo made an additional help file
to help choosing parameters' values, how to also copy it with the
i.atcorr help file? Any GRASS standard to follow for that? Or shall we
just include it inside the Help file directly?
On 19/07/06, Brad Douglas <rez@touchofmadness.com> wrote:
On Tue, 2006-07-18 at 22:48 +0700, Yann Chemin wrote:
> Hello,
> Anybody could direct me to ask C++ to compile by default in the
> standard Makefile of GRASS?
You can look at raster/r.terraflow/Makefile for examples.
--
Brad Douglas <rez touchofmadness com> KB8UYR
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785
It also creates a help file, but Christo made an additional help file
to help choosing parameters' values, how to also copy it with the
i.atcorr help file? Any GRASS standard to follow for that? Or shall we
just include it inside the Help file directly?
in the module's source dir create a file called description.html
(without headers, etc). See any module.
This gets combined with the "g.module --html-description" usage info to
create the help page.
Name any help page images like g_module_fig1.png and it will
automatically get copied into the correct place.
see doc/html_documentation.txt in the grass source code.
On 19/07/06, Yann Chemin <ychemin@gmail.com> wrote:
Thanks Brad,
Make file is clean/updated.
Did some clean up in the directories, could get a clean compile and
install following the GRASS61cvs. It creates and loads the GUI Module
properly now (see attachement).
It also creates a help file, but Christo made an additional help file
to help choosing parameters' values, how to also copy it with the
i.atcorr help file? Any GRASS standard to follow for that? Or shall we
just include it inside the Help file directly?
On 19/07/06, Brad Douglas <rez@touchofmadness.com> wrote:
> On Tue, 2006-07-18 at 22:48 +0700, Yann Chemin wrote:
> > Hello,
> > Anybody could direct me to ask C++ to compile by default in the
> > standard Makefile of GRASS?
>
> You can look at raster/r.terraflow/Makefile for examples.
>
> --
> Brad Douglas <rez touchofmadness com> KB8UYR
> Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785
>