Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1221 closed defect (fixed)

i.atcorr does not compile

Reported by: cmbarton Owned by: grass-dev@…
Priority: normal Milestone: 6.5.0
Component: Imagery Version: svn-develbranch6
Keywords: i.atcorr Cc:
CPU: OSX/Intel Platform: MacOSX

Description

I just updated from SVN after a make distclean. i.atcorr does not compile but gives the following error (Mac OS X 10.6):

make: * [default] Error 1 cmb-MBP-3:grass65_dev cmbarton$ cd /Users/cmbarton/grass_dev/grass65_dev/imagery/i.atcorr cmb-MBP-3:i.atcorr cmbarton$ make ../../include/Make/Module.make:25: warning: overriding commands for target `install' ../../include/Make/Rules.make:90: warning: ignoring old commands for target `install' Makefile:15: warning: overriding commands for target `/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.5.0/bin/i.atcorr' ../../include/Make/Module.make:15: warning: ignoring old commands for target `/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.5.0/bin/i.atcorr' c++ -I/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.5.0/include -arch i386 -arch x86_64 -DPACKAGE=\""grassmods"\" -I/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.5.0/include -o OBJ.i386-apple-darwin10.5.0/GeomCond.o -c GeomCond.cpp GeomCond.cpp: In member function ‘void GeomCond::parse()’: GeomCond.cpp:380: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ GeomCond.cpp: In member function ‘void GeomCond::print()’: GeomCond.cpp:430: error: too many initializers for ‘const std::string [13]GeomCond.cpp: In member function ‘void GeomCond::parse()’: GeomCond.cpp:380: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ GeomCond.cpp: In member function ‘void GeomCond::print()’: GeomCond.cpp:430: error: too many initializers for ‘const std::string [13]’ lipo: can't figure out the architecture type of: /var/folders/AK/AKpYwDw1EoWI+fFF02nvRk+++TI/-Tmp-ccy2ixBd.out make: * [OBJ.i386-apple-darwin10.5.0/GeomCond.o] Error 1

Change History (2)

comment:1 by aghisla, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r44379, sorry for noise.

comment:2 by cmbarton, 13 years ago

Thanks for the quick response. Tested this morning and problem solved.

Michael

Note: See TracTickets for help on using tickets.