Hi Everyone Hope this email finds you well. I can generate GRASS addon executable by commands in the following sections. But when I load it in GRASS, it reports the following error. at the sametime I can successfully load other GRASS executable like r.what "dyld: Library not loaded: @rpath/libgrass_gis.dylib
Referenced from: /Applications/QGIS3.14.app/Contents/MacOS/grass/bin/r.stream.basins Reason: image not found Abort trap: 6" Thanks Ming ---------------------------------------------- gcc -g -O2 -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -I/Library/Frameworks/GDAL.framework/Versions/3.1/Headers -I/Library/Frameworks/GEOS.framework/Versions/3C/unix/include -DPACKAGE=\""grassmods"\" -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -DRELDIR=\"grass_addon/raster/r.stream.basins\" -o basins_fill.o -c basins_fill.c gcc -g -O2 -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -I/Library/Frameworks/GDAL.framework/Versions/3.1/Headers -I/Library/Frameworks/GEOS.framework/Versions/3C/unix/include -DPACKAGE=\""grassmods"\" -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -DRELDIR=\"grass_addon/raster/r.stream.basins\" -o basins_inputs.o -c basins_inputs.c gcc -g -O2 -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -I/Library/Frameworks/GDAL.framework/Versions/3.1/Headers -I/Library/Frameworks/GEOS.framework/Versions/3C/unix/include -DPACKAGE=\""grassmods"\" -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -DRELDIR=\"grass_addon/raster/r.stream.basins\" -o io.o -c io.c gcc -g -O2 -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -I/Library/Frameworks/GDAL.framework/Versions/3.1/Headers -I/Library/Frameworks/GEOS.framework/Versions/3C/unix/include -DPACKAGE=\""grassmods"\" -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -I/Applications/QGIS3.14.app/Contents/MacOS/grass/include -DRELDIR=\"grass_addon/raster/r.stream.basins\" -o main.o -c main.c gcc -L/Applications/QGIS3.14.app/Contents/MacOS/grass/lib -o /Applications/QGIS3.14.app/Contents/MacOS/grass/bin/r.stream.basins ./basins_fill.o ./basins_inputs.o ./io.o ./main.o -lgrass_gis.7.8 -lgrass_raster.7.8 -lgrass_segment.7.8 -lgrass_vector.7.8 -lgrass_dbmiclient.7.8 -lgrass_dbmibase.7.8 ------------------------------------------------
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user