Re: Help needed with new pcl: cloudcompare FTBFS
On 14. 08. 20 15:44, Orion Poplawski wrote: On 8/14/20 4:09 AM, Miro Hrončok wrote: Hello Rich, Orion. I see you've managed to build pcl that was updated to 1.11 2 months ago but only built recently for Fedora 33+: https://src.fedoraproject.org/rpms/pcl/commits/master cloudcompare now FTBFS: ... Any idea what needs to be changed and how? Note that my C++ skills are rusty at least. Thanks for help. Not really. The latter errors flow from the first, but I have no idea why boost::uint8_t isn't getting defined properly anymore. Solved elsewhere in the thread on devel, thanks. I think that some pcl header included the boost header in the past and no longer does. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed with new pcl: cloudcompare FTBFS
On 8/14/20 4:09 AM, Miro Hrončok wrote: Hello Rich, Orion. I see you've managed to build pcl that was updated to 1.11 2 months ago but only built recently for Fedora 33+: https://src.fedoraproject.org/rpms/pcl/commits/master cloudcompare now FTBFS: https://koschei.fedoraproject.org/package/cloudcompare?collection=f33 In file included from /usr/include/pcl-1.11/pcl/pcl_macros.h:77, from /usr/include/pcl-1.11/pcl/PCLPointCloud2.h:8, from /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/filters/../utils/PCLConv.h:30, from /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp:22: /usr/include/pcl-1.11/pcl/pcl_config.h:7:4: error: #error PCL requires C++14 or above 7 | #error PCL requires C++14 or above | ^ So I've attempted a trivial workaround: sed -i 's/-std=c++11/-std=c++14/' $(grep -rl -- '-std=c++11') or sed -i 's/-std=c++11/-std=gnu++14/' $(grep -rl -- '-std=c++11') However the error is now: https://koji.fedoraproject.org/koji/taskinfo?taskID=49241500 In file included from /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:21: /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/my_point_types.h:34:12: error: 'uint8_t' in namespace 'boost' does not name a type 34 | boost::uint8_t b; | ^~~ And: /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp: In member function 'pcl::PCLPointCloud2::Ptr cc2smReader::getColors() const': /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:275:21: error: 'struct OnlyRGB' has no member named 'r' 275 | pcl_cloud->at(i).r = static_cast(rgb[0]); | ^ /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:276:21: error: 'struct OnlyRGB' has no member named 'g' 276 | pcl_cloud->at(i).g = static_cast(rgb[1]); | ^ /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:277:21: error: 'struct OnlyRGB' has no member named 'b' 277 | pcl_cloud->at(i).b = static_cast(rgb[2]); | Any idea what needs to be changed and how? Note that my C++ skills are rusty at least. Thanks for help. Not really. The latter errors flow from the first, but I have no idea why boost::uint8_t isn't getting defined properly anymore. -- Orion Poplawski Manager of NWRA Technical Systems 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 https://www.nwra.com/ smime.p7s Description: S/MIME Cryptographic Signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed with new pcl: cloudcompare FTBFS
> Hello Rich, Orion. > > I see you've managed to build pcl that was updated to 1.11 2 months ago but > only > built recently for Fedora 33+: > > https://src.fedoraproject.org/rpms/pcl/commits/master > > > cloudcompare now FTBFS: > > > https://koschei.fedoraproject.org/package/cloudcompare?collection=f33 > > > In file included from /usr/include/pcl-1.11/pcl/pcl_macros.h:77, > from /usr/include/pcl-1.11/pcl/PCLPointCloud2.h:8, > from > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/filters/../utils/PCLConv.h:30, > from > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp:22: > /usr/include/pcl-1.11/pcl/pcl_config.h:7:4: error: #error PCL requires C++14 > or > above > 7 | #error PCL requires C++14 or above >|^ > > > So I've attempted a trivial workaround: > > sed -i 's/-std=c++11/-std=c++14/' $(grep -rl -- '-std=c++11') > > or > > sed -i 's/-std=c++11/-std=gnu++14/' $(grep -rl -- '-std=c++11') > > However the error is now: > > > https://koji.fedoraproject.org/koji/taskinfo?taskID=49241500 > > > In file included from > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:21: > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/my_point_types.h:34:12: > > error: 'uint8_t' in namespace 'boost' does not name a type > 34 | boost::uint8_t b; >|^~~ > > > And: > > > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp: > > In member function 'pcl::PCLPointCloud2::Ptr cc2smReader::getColors() const': > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:275:21: > > error: 'struct OnlyRGB' has no member named 'r' >275 |pcl_cloud->at(i).r = static_cast(rgb[0]); >| ^ > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:276:21: > > error: 'struct OnlyRGB' has no member named 'g' >276 |pcl_cloud->at(i).g = static_cast(rgb[1]); >| ^ > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:277:21: > > error: 'struct OnlyRGB' has no member named 'b' >277 |pcl_cloud->at(i).b = static_cast(rgb[2]); >| In this case, looking into the code itself is a must, check if the code correctly defined OnlyRGB before those lines (and with this error, seems upstream code didn't). I think this is due to an upstream coding issue. Try to find the definition and move it to a right place. > > > Any idea what needs to be changed and how? Note that my C++ skills are rusty > at > least. Thanks for help. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed with new pcl: cloudcompare FTBFS
On 14. 08. 20 12:39, Qiyu Yan wrote: Miro Hrončok 于2020年8月14日周五 下午6:09写道: Hello Rich, Orion. I see you've managed to build pcl that was updated to 1.11 2 months ago but only built recently for Fedora 33+: https://src.fedoraproject.org/rpms/pcl/commits/master cloudcompare now FTBFS: https://koschei.fedoraproject.org/package/cloudcompare?collection=f33 In file included from /usr/include/pcl-1.11/pcl/pcl_macros.h:77, from /usr/include/pcl-1.11/pcl/PCLPointCloud2.h:8, from /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/filters/../utils/PCLConv.h:30, from /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp:22: /usr/include/pcl-1.11/pcl/pcl_config.h:7:4: error: #error PCL requires C++14 or above 7 | #error PCL requires C++14 or above |^ So I've attempted a trivial workaround: sed -i 's/-std=c++11/-std=c++14/' $(grep -rl -- '-std=c++11') or sed -i 's/-std=c++11/-std=gnu++14/' $(grep -rl -- '-std=c++11') However the error is now: https://koji.fedoraproject.org/koji/taskinfo?taskID=49241500 In file included from /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:21: /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/my_point_types.h:34:12: error: 'uint8_t' in namespace 'boost' does not name a type 34 | boost::uint8_t b; |^~~ boost::uint8_t is defined in /usr/include/boost/cstdint.hpp, could you check if the source file have includes boost/stdint.hpp Thank You! Adding #include works. And: /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp: In member function 'pcl::PCLPointCloud2::Ptr cc2smReader::getColors() const': /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:275:21: error: 'struct OnlyRGB' has no member named 'r' 275 |pcl_cloud->at(i).r = static_cast(rgb[0]); | ^ /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:276:21: error: 'struct OnlyRGB' has no member named 'g' 276 |pcl_cloud->at(i).g = static_cast(rgb[1]); | ^ /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:277:21: error: 'struct OnlyRGB' has no member named 'b' 277 |pcl_cloud->at(i).b = static_cast(rgb[2]); | Don't know why, get error above fixed and see if this remains? It indeed doesn't. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed with new pcl: cloudcompare FTBFS
Miro Hrončok 于2020年8月14日周五 下午6:09写道: > > Hello Rich, Orion. > > I see you've managed to build pcl that was updated to 1.11 2 months ago but > only > built recently for Fedora 33+: > > https://src.fedoraproject.org/rpms/pcl/commits/master > > > cloudcompare now FTBFS: > > > https://koschei.fedoraproject.org/package/cloudcompare?collection=f33 > > > In file included from /usr/include/pcl-1.11/pcl/pcl_macros.h:77, > from /usr/include/pcl-1.11/pcl/PCLPointCloud2.h:8, > from > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/filters/../utils/PCLConv.h:30, > from > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp:22: > /usr/include/pcl-1.11/pcl/pcl_config.h:7:4: error: #error PCL requires C++14 > or > above > 7 | #error PCL requires C++14 or above >|^ > > > So I've attempted a trivial workaround: > > sed -i 's/-std=c++11/-std=c++14/' $(grep -rl -- '-std=c++11') > > or > > sed -i 's/-std=c++11/-std=gnu++14/' $(grep -rl -- '-std=c++11') > > However the error is now: > > > https://koji.fedoraproject.org/koji/taskinfo?taskID=49241500 > > > In file included from > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:21: > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/my_point_types.h:34:12: > error: 'uint8_t' in namespace 'boost' does not name a type > 34 | boost::uint8_t b; >|^~~ boost::uint8_t is defined in /usr/include/boost/cstdint.hpp, could you check if the source file have includes boost/stdint.hpp > > And: > > > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp: > In member function 'pcl::PCLPointCloud2::Ptr cc2smReader::getColors() const': > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:275:21: > error: 'struct OnlyRGB' has no member named 'r' >275 |pcl_cloud->at(i).r = static_cast(rgb[0]); >| ^ > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:276:21: > error: 'struct OnlyRGB' has no member named 'g' >276 |pcl_cloud->at(i).g = static_cast(rgb[1]); >| ^ > /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:277:21: > error: 'struct OnlyRGB' has no member named 'b' >277 |pcl_cloud->at(i).b = static_cast(rgb[2]); >| Don't know why, get error above fixed and see if this remains? > > > Any idea what needs to be changed and how? Note that my C++ skills are rusty > at > least. Thanks for help. > > -- > Miro Hrončok > -- > Phone: +420777974800 > IRC: mhroncok > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Help needed with new pcl: cloudcompare FTBFS
Hello Rich, Orion. I see you've managed to build pcl that was updated to 1.11 2 months ago but only built recently for Fedora 33+: https://src.fedoraproject.org/rpms/pcl/commits/master cloudcompare now FTBFS: https://koschei.fedoraproject.org/package/cloudcompare?collection=f33 In file included from /usr/include/pcl-1.11/pcl/pcl_macros.h:77, from /usr/include/pcl-1.11/pcl/PCLPointCloud2.h:8, from /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/filters/../utils/PCLConv.h:30, from /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp:22: /usr/include/pcl-1.11/pcl/pcl_config.h:7:4: error: #error PCL requires C++14 or above 7 | #error PCL requires C++14 or above |^ So I've attempted a trivial workaround: sed -i 's/-std=c++11/-std=c++14/' $(grep -rl -- '-std=c++11') or sed -i 's/-std=c++11/-std=gnu++14/' $(grep -rl -- '-std=c++11') However the error is now: https://koji.fedoraproject.org/koji/taskinfo?taskID=49241500 In file included from /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:21: /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/my_point_types.h:34:12: error: 'uint8_t' in namespace 'boost' does not name a type 34 | boost::uint8_t b; |^~~ And: /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp: In member function 'pcl::PCLPointCloud2::Ptr cc2smReader::getColors() const': /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:275:21: error: 'struct OnlyRGB' has no member named 'r' 275 |pcl_cloud->at(i).r = static_cast(rgb[0]); | ^ /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:276:21: error: 'struct OnlyRGB' has no member named 'g' 276 |pcl_cloud->at(i).g = static_cast(rgb[1]); | ^ /builddir/build/BUILD/CloudCompare-2.9.1/plugins/qPCL/PclUtils/utils/cc2sm.cpp:277:21: error: 'struct OnlyRGB' has no member named 'b' 277 |pcl_cloud->at(i).b = static_cast(rgb[2]); | Any idea what needs to be changed and how? Note that my C++ skills are rusty at least. Thanks for help. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org