<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Everyone<div><br></div><div> Hope this email finds you well. </div><div> I can generate GRASS addon executable by commands in the following sections. </div><div> 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</div><div> "<span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">dyld: Library not loaded: @rpath/libgrass_gis.dylib</span></div>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> Referenced from: /Applications/QGIS3.14.app/Contents/MacOS/grass/bin/r.stream.basins</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> Reason: image not found</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Abort trap: 6"</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> Thanks</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Ming</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">----------------------------------------------</p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">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</p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">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</p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">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</p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">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</p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">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 </p><div><br></div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">------------------------------------------------</p></div></div></div>