[GRASS-dev] Error while compiling i.pr Windows GRASS6.4

António Rocha antonio.rocha at deimos.com.pt
Wed Dec 2 06:31:16 EST 2009


Greetings all
I'm trying to compile i.pr in WinGRASS 6.4. I have succeed while 
compiling i.* , r.* and v.* modules/addons but I'm getting some errors 
in this one.

I'm using the followin command:
make C:/grass6/tests/i.pr MODULE_TOPDIR=C:/grass6

and I get multiple times the following error while compiling:
:\osgeo4w\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
cannot find -lgrass_pr
collect2: ld returned 1 exit status
make[1]: *** [/c/grass6/bin/i.pr.sites_aggregate.exe] Error 1
make[1]: Leaving directory `/c/grass6/tests/i.pr/i.pr_sites_aggregate'
make: Leaving directory `/c/grass6/tests/i.pr'

It seems that he is not finding a lgrass_pr library. I have already 
searched for some dll named "libgrass_pr" but nothing appeared.

Has anyone have an idea of how to fix this?

Thanks


My i.pr makefile is:
MODULE_TOPDIR = ../..

include $(MODULE_TOPDIR)/include/Make/Dir.make

SUBDIRS = \
        PRLIB \
    i.pr_blob \
    i.pr_classify \
    i.pr_features \
    i.pr_features_additional \
    i.pr_features_extract \
    i.pr_features_selection \
    i.pr_model \
    i.pr_statistics \
    i.pr_subsets \
    i.pr_training \
    i.pr_uxb \
    i.pr_sites_aggregate

default: subdirs

clean: cleansubdirs

install: installsubdirs



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4654 (20091202) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the grass-dev mailing list