mkdir -p /home/neteler/.grass8/addons/r.houghtransform/bin mkdir -p /home/neteler/.grass8/addons/r.houghtransform/etc mkdir -p /home/neteler/.grass8/addons/r.houghtransform/docs/html mkdir -p /home/neteler/.grass8/addons/r.houghtransform/docs/man mkdir -p /home/neteler/.grass8/addons/r.houghtransform/docs/man/man1 test -d OBJ.x86_64-pc-linux-gnu || mkdir -p OBJ.x86_64-pc-linux-gnu g++ -g -O2 -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/usr/include/gdal -I/usr/include -Wno-sign-compare -Wall -Wextra -O0 -Wconversion -DPACKAGE=\""grassmods"\" -I/usr/include/postgresql -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"/home/neteler/src/grass8-addons/src/raster/r.houghtransform\" -o OBJ.x86_64-pc-linux-gnu/hough.o -c hough.cpp g++ -g -O2 -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/usr/include/gdal -I/usr/include -Wno-sign-compare -Wall -Wextra -O0 -Wconversion -DPACKAGE=\""grassmods"\" -I/usr/include/postgresql -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"/home/neteler/src/grass8-addons/src/raster/r.houghtransform\" -o OBJ.x86_64-pc-linux-gnu/houghtransform.o -c houghtransform.cpp In file included from hough.cpp:1: houghtransform.h: In constructor ‘HoughTransform::Peak::Peak(HoughTransform::Coordinates, HoughTransform::value_type, HoughTransform::Coordinates, HoughTransform::Coordinates)’: houghtransform.h:55:47: warning: conversion from ‘HoughTransform::value_type’ {aka ‘double’} to ‘int’ may change value [-Wfloat-conversion] 55 | : coordinates(coordinates), value(value), beginLine(begin), | ^~~~~ In file included from houghtransform.cpp:1: houghtransform.h: In constructor ‘HoughTransform::Peak::Peak(HoughTransform::Coordinates, HoughTransform::value_type, HoughTransform::Coordinates, HoughTransform::Coordinates)’: houghtransform.h:55:47: warning: conversion from ‘HoughTransform::value_type’ {aka ‘double’} to ‘int’ may change value [-Wfloat-conversion] 55 | : coordinates(coordinates), value(value), beginLine(begin), | ^~~~~ houghtransform.cpp: In constructor ‘HoughTransform::HoughTransform(const Matrix&, const HoughParametres&)’: houghtransform.cpp:29:33: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 29 | mNumR = mOriginalMatrix.rows(); | ~~~~~~~~~~~~~~~~~~~~^~ houghtransform.cpp:30:36: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 30 | mNumC = mOriginalMatrix.columns(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ houghtransform.cpp:35:40: warning: conversion from ‘__gnu_cxx::__enable_if::__type’ {aka ‘double’} to ‘float’ may change value [-Wfloat-conversion] 35 | const float diag_length = std::sqrt(mNumR * mNumR + mNumC * mNumC); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ houghtransform.cpp:36:34: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 36 | mNumBins = ceil(diag_length) - 1; | ~~~~~~~~~~~~~~~~~~^~~ houghtransform.cpp:40:15: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 40 | c_2 = ceil(mNumC / 2.); | ~~~~^~~~~~~~~~~~ houghtransform.cpp:41:15: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 41 | r_2 = ceil(mNumR / 2.); | ~~~~^~~~~~~~~~~~ houghtransform.cpp:43:20: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 43 | first_bins = 1 - ceil(mNumBins / 2.0); | ~~^~~~~~~~~~~~~~~~~~~~~~ houghtransform.cpp: In member function ‘void HoughTransform::computeHoughForXY(int, int, size_t, size_t)’: houghtransform.cpp:66:30: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 66 | const int rho = floor(rho_d + 0.5); | ~~~~~^~~~~~~~~~~~~ houghtransform.cpp: In member function ‘void HoughTransform::compute(const Matrix&, double)’: houghtransform.cpp:99:34: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 99 | int angleIndex = angle; | ^~~~~ houghtransform.cpp:100:48: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 100 | int angleShift = angleWith / 2 + 0.5; | ~~~~~~~~~~~~~~^~~~~ houghtransform.cpp: In member function ‘void HoughTransform::findPeaks(int, int, int)’: houghtransform.cpp:127:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 127 | int maxIt = mHoughMatrix.rows() * mHoughMatrix.columns(); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ houghtransform.cpp: In member function ‘int HoughTransform::findMax(const Matrix&, HoughTransform::Coordinates&)’: houghtransform.cpp:226:27: warning: conversion from ‘__gnu_cxx::__alloc_traits, double>::value_type’ {aka ‘double’} to ‘int’ may change value [-Wfloat-conversion] 226 | int tmp = rowMax[i]; | ^ houghtransform.cpp:234:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 234 | coordinates.first = rowIndex; | ^~~~~~~~ houghtransform.cpp:235:26: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 235 | coordinates.second = colIndex; | ^~~~~~~~ In file included from houghtransform.h:5, from houghtransform.cpp:1: matrix.h: In instantiation of ‘matrix::Matrix matrix::Range::matrix_value() const [with T = double]’: houghtransform.cpp:33:67: required from here matrix.h:114:31: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion] 114 | cache(0, i) = b + i * increment; | ^ hough.cpp: In function ‘void create_vector_map(const char*, const SegmentList&, const Cell_head*)’: hough.cpp:149:24: warning: conversion from ‘std::size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 149 | i + 1); // cat is segment number (counting from one) | ~~^~~ hough.cpp: In function ‘void hough_peaks(HoughParametres, ExtractParametres, const char*, const char*, std::size_t, std::size_t, const char*, const char*, const char*)’: hough.cpp:201:35: warning: conversion from ‘std::size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 201 | read_raster_map(name, mapset, nrows, ncols, I); | ^~~~~ hough.cpp:201:42: warning: conversion from ‘std::size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 201 | read_raster_map(name, mapset, nrows, ncols, I); | ^~~~~ hough.cpp:207:48: warning: conversion from ‘std::size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 207 | read_raster_map(anglesMapName, mapset, nrows, ncols, angles); | ^~~~~ hough.cpp:207:55: warning: conversion from ‘std::size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 207 | read_raster_map(anglesMapName, mapset, nrows, ncols, angles); | ^~~~~ hough.cpp: In instantiation of ‘void create_raster_map(const char*, Cell_head*, const Matrix&) [with Matrix = matrix::Matrix]’: hough.cpp:219:74: required from here hough.cpp:85:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 85 | rows = mat.rows(); | ~~~~~~~~^~ hough.cpp:86:23: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 86 | cols = mat.columns(); | ~~~~~~~~~~~^~ hough.cpp:113:26: warning: conversion from ‘matrix::Matrix::value_type’ {aka ‘double’} to ‘CELL’ {aka ‘int’} may change value [-Wfloat-conversion] 113 | cell_real[j] = mat(i, j); | ~~~~~~~~~~~~~^~~~~~~~~~~ hough.cpp:80:10: warning: variable ‘totsize’ set but not used [-Wunused-but-set-variable] 80 | long totsize; | ^~~~~~~ g++ -g -O2 -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/usr/include/gdal -I/usr/include -Wno-sign-compare -Wall -Wextra -O0 -Wconversion -DPACKAGE=\""grassmods"\" -I/usr/include/postgresql -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"/home/neteler/src/grass8-addons/src/raster/r.houghtransform\" -o OBJ.x86_64-pc-linux-gnu/linesegmentsextractor.o -c linesegmentsextractor.cpp g++ -g -O2 -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/usr/include/gdal -I/usr/include -Wno-sign-compare -Wall -Wextra -O0 -Wconversion -DPACKAGE=\""grassmods"\" -I/usr/include/postgresql -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/main/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"/home/neteler/src/grass8-addons/src/raster/r.houghtransform\" -o OBJ.x86_64-pc-linux-gnu/main.o -c main.cpp linesegmentsextractor.cpp: In member function ‘void LineSegmentsExtractor::extract(LineCoordinates, double, SegmentList&)’: linesegmentsextractor.cpp:123:33: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 123 | const int rows = mImage.rows(); | ~~~~~~~~~~~^~ linesegmentsextractor.cpp:124:36: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 124 | const int cols = mImage.columns(); | ~~~~~~~~~~~~~~^~ linesegmentsextractor.cpp:127:21: warning: conversion from ‘double’ to ‘float’ may change value [-Wfloat-conversion] 127 | float irho = 1. / rho; | ~~~^~~~~ : && g++ -L/home/neteler/src/main/dist.x86_64-pc-linux-gnu/lib -L/home/neteler/src/main/dist.x86_64-pc-linux-gnu/lib -s -Wl,--export-dynamic -Wl,-rpath-link,/home/neteler/src/main/dist.x86_64-pc-linux-gnu/lib -Wl,-rpath,/usr/local/grass85/lib -o /home/neteler/.grass8/addons/r.houghtransform/bin/r.houghtransform OBJ.x86_64-pc-linux-gnu/hough.o OBJ.x86_64-pc-linux-gnu/houghtransform.o OBJ.x86_64-pc-linux-gnu/linesegmentsextractor.o OBJ.x86_64-pc-linux-gnu/main.o -lgrass_vector.8.5 -lgrass_gis.8.5 -lgrass_raster.8.5 -lgrass_gmath.8.5 -lm if [ "/home/neteler/.grass8/addons/r.houghtransform/bin/r.houghtransform" != "" ] ; then GISRC=/home/neteler/src/main/dist.x86_64-pc-linux-gnu/demolocation/.grassrc85 GISBASE=/home/neteler/src/main/dist.x86_64-pc-linux-gnu PATH="/home/neteler/src/main/dist.x86_64-pc-linux-gnu/bin:/home/neteler/src/main/dist.x86_64-pc-linux-gnu/bin:/home/neteler/src/main/dist.x86_64-pc-linux-gnu/scripts:$PATH" PYTHONPATH="/home/neteler/src/main/dist.x86_64-pc-linux-gnu/etc/python:/home/neteler/src/main/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/home/neteler/.grass8/addons/r.houghtransform/bin:/home/neteler/src/main/dist.x86_64-pc-linux-gnu/bin:/home/neteler/src/main/dist.x86_64-pc-linux-gnu/scripts:/home/neteler/src/main/dist.x86_64-pc-linux-gnu/lib:/home/neteler/src/main/dist.x86_64-pc-linux-gnu/lib:" LC_ALL=C LANG=C LANGUAGE=C /home/neteler/.grass8/addons/r.houghtransform/bin/r.houghtransform --html-description < /dev/null | grep -v '\|\| ' > r.houghtransform.tmp.html ; fi VERSION_NUMBER=8.5.0dev VERSION_DATE=2025 MODULE_TOPDIR=/home/neteler/src//main/dist.x86_64-pc-linux-gnu/ \ python3 /home/neteler/src/main/dist.x86_64-pc-linux-gnu/utils/mkhtml.py r.houghtransform > /home/neteler/.grass8/addons/r.houghtransform/docs/html/r.houghtransform.html VERSION_NUMBER=8.5.0dev /home/neteler/src/main/dist.x86_64-pc-linux-gnu/utils/g.html2man.py "/home/neteler/.grass8/addons/r.houghtransform/docs/html/r.houghtransform.html" "/home/neteler/.grass8/addons/r.houghtransform/docs/man/man1/r.houghtransform.1" rm r.houghtransform.tmp.html