mkdir -p /home/neteler/.grass7/addons/r.houghtransform/bin mkdir -p /home/neteler/.grass7/addons/r.houghtransform/etc mkdir -p /home/neteler/.grass7/addons/r.houghtransform/docs/html mkdir -p /home/neteler/.grass7/addons/r.houghtransform/docs/man mkdir -p /home/neteler/.grass7/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/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/releasebranch_7_8/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/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"/home/neteler/src/grass7-addons/src/raster/r.houghtransform\" -o OBJ.x86_64-pc-linux-gnu/hough.o -c hough.cpp g++ -g -O2 -I/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/releasebranch_7_8/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/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"/home/neteler/src/grass7-addons/src/raster/r.houghtransform\" -o OBJ.x86_64-pc-linux-gnu/houghtransform.o -c houghtransform.cpp 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:57:47: warning: conversion from ‘HoughTransform::value_type’ {aka ‘double’} to ‘int’ may change value [-Wfloat-conversion] 57 | : coordinates(coordinates), value(value), beginLine(begin), endLine(end) | ^~~~~ 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:34:40: warning: conversion from ‘__gnu_cxx::__enable_if::__type’ {aka ‘double’} to ‘float’ may change value [-Wfloat-conversion] 34 | const float diag_length = std::sqrt(mNumR*mNumR + mNumC*mNumC); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ houghtransform.cpp:35:34: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 35 | mNumBins = ceil(diag_length) - 1; | ~~~~~~~~~~~~~~~~~~^~~ houghtransform.cpp:39:15: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 39 | c_2 = ceil(mNumC/2.); | ~~~~^~~~~~~~~~ houghtransform.cpp:40:15: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 40 | r_2 = ceil(mNumR/2.); | ~~~~^~~~~~~~~~ houghtransform.cpp:42:20: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 42 | first_bins = 1 - ceil(mNumBins/2.0); | ~~^~~~~~~~~~~~~~~~~~~~ houghtransform.cpp: In member function ‘void HoughTransform::computeHoughForXY(int, int, size_t, size_t)’: houghtransform.cpp:68:30: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 68 | const int rho = floor(rho_d + 0.5); | ~~~~~^~~~~~~~~~~~~ houghtransform.cpp: In member function ‘void HoughTransform::compute(const Matrix&, double)’: houghtransform.cpp:105:34: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 105 | int angleIndex = angle; | ^~~~~ houghtransform.cpp:106:46: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion] 106 | int angleShift = angleWith/2 + 0.5; | ~~~~~~~~~~~~^~~~~ houghtransform.cpp: In member function ‘void HoughTransform::findPeaks(int, int, int)’: houghtransform.cpp:134:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 134 | int maxIt = mHoughMatrix.rows() * mHoughMatrix.columns(); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ houghtransform.cpp: In member function ‘int HoughTransform::findMax(const Matrix&, HoughTransform::Coordinates&)’: houghtransform.cpp:230:27: warning: conversion from ‘__gnu_cxx::__alloc_traits, double>::value_type’ {aka ‘double’} to ‘int’ may change value [-Wfloat-conversion] 230 | int tmp = rowMax[i]; | ^ houghtransform.cpp:239:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 239 | coordinates.first = rowIndex; | ^~~~~~~~ houghtransform.cpp:240:26: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 240 | 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:32:81: required from here matrix.h:129:33: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion] 129 | cache(0, i) = b + i * increment; | ^ 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:57:47: warning: conversion from ‘HoughTransform::value_type’ {aka ‘double’} to ‘int’ may change value [-Wfloat-conversion] 57 | : coordinates(coordinates), value(value), beginLine(begin), endLine(end) | ^~~~~ hough.cpp: In function ‘void create_vector_map(const char*, const SegmentList&, const Cell_head*)’: hough.cpp:147:32: warning: conversion from ‘std::size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 147 | Vect_cat_set(Cats, 1, 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:208:48: warning: conversion from ‘std::size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 208 | read_raster_map(anglesMapName, mapset, nrows, ncols, angles); | ^~~~~ hough.cpp:208:55: warning: conversion from ‘std::size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 208 | 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:222:74: required from here hough.cpp:83:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 83 | rows = mat.rows(); | ~~~~~~~~^~ hough.cpp:84:23: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 84 | cols = mat.columns(); | ~~~~~~~~~~~^~ hough.cpp:111:26: warning: conversion from ‘matrix::Matrix::value_type’ {aka ‘double’} to ‘CELL’ {aka ‘int’} may change value [-Wfloat-conversion] 111 | cell_real[j] = mat(i, j); | ~~~~~~~~~~~~~^~~~~~~~~~~ hough.cpp:79:10: warning: variable ‘totsize’ set but not used [-Wunused-but-set-variable] 79 | long totsize; /* total number of data points */ // FIXME: make clear the size_t usage | ^~~~~~~ g++ -g -O2 -I/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/releasebranch_7_8/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/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"/home/neteler/src/grass7-addons/src/raster/r.houghtransform\" -o OBJ.x86_64-pc-linux-gnu/linesegmentsextractor.o -c linesegmentsextractor.cpp linesegmentsextractor.cpp: In member function ‘void LineSegmentsExtractor::extract(LineCoordinates, double, SegmentList&)’: linesegmentsextractor.cpp:132:33: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 132 | const int rows = mImage.rows(); | ~~~~~~~~~~~^~ linesegmentsextractor.cpp:133:36: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 133 | const int cols = mImage.columns(); | ~~~~~~~~~~~~~~^~ linesegmentsextractor.cpp:136:20: warning: conversion from ‘double’ to ‘float’ may change value [-Wfloat-conversion] 136 | float irho = 1./rho; | ~~^~~~ g++ -g -O2 -I/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/releasebranch_7_8/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/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -I/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"/home/neteler/src/grass7-addons/src/raster/r.houghtransform\" -o OBJ.x86_64-pc-linux-gnu/main.o -c main.cpp : && g++ -L/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/lib -L/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/lib -s -Wl,--export-dynamic -Wl,-rpath-link,/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/lib -Wl,-rpath,/usr/local/grass78/lib -o /home/neteler/.grass7/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.7.8 -lgrass_gis.7.8 -lgrass_raster.7.8 -lgrass_gmath.7.8 -lm if [ "/home/neteler/.grass7/addons/r.houghtransform/bin/r.houghtransform" != "" ] ; then GISRC=/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/demolocation/.grassrc78 GISBASE=/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu PATH="/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/bin:/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/bin:/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/scripts:$PATH" PYTHONPATH="/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/etc/python:/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/home/neteler/.grass7/addons/r.houghtransform/bin:/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/bin:/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/scripts:/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/lib:/home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/lib:" LC_ALL=C LANG=C LANGUAGE=C /home/neteler/.grass7/addons/r.houghtransform/bin/r.houghtransform --html-description < /dev/null | grep -v '\|' > r.houghtransform.tmp.html ; fi VERSION_NUMBER=7.8.9dev VERSION_DATE=2023 MODULE_TOPDIR=/home/neteler/src//releasebranch_7_8/dist.x86_64-pc-linux-gnu/ \ python3 /home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/tools/mkhtml.py r.houghtransform > /home/neteler/.grass7/addons/r.houghtransform/docs/html/r.houghtransform.html VERSION_NUMBER=7.8.9dev /home/neteler/src/releasebranch_7_8/dist.x86_64-pc-linux-gnu/tools/g.html2man.py "/home/neteler/.grass7/addons/r.houghtransform/docs/html/r.houghtransform.html" "/home/neteler/.grass7/addons/r.houghtransform/docs/man/man1/r.houghtransform.1" rm r.houghtransform.tmp.html