Subject: CGAL users discussion list
List archive
- From: Himanshu Sharma <>
- To: "" <>
- Subject: Re: [cgal-discuss] Reading a las file.
- Date: Thu, 24 Sep 2020 20:02:43 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=northeastern.edu; dmarc=pass action=none header.from=northeastern.edu; dkim=pass header.d=northeastern.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vjealRmWXptw1pvb76AFPvxwdeWHQn6gRKBcEulWYL0=; b=BKChjkSE8kZ0p9THxBqn4GUwpqDV0rCGGoH5vObOT7jioczXJprtWetmWE3/XtAKR/U2qWZ8Rb8W3MsqQTcGYO/ZiEKf6Z7XRGJ6skP6qAeV+Na6PKrPDA8KqLUlnq6bl63Rp6OaT4AQpV55ucpAFLO2cJP3UiYEhDc+69qJ2TfpTRJgGPO9GDg2NFNg/tkzbGnXQnwSTa00FjX/1TwK6axw+YjKN4zZO+P8GFMVnLaX+YTCtfCM7Y401aqIMWUE6kukwFB7cu+Kq+ZU36RKRb73z5fq36VmGZhAGkedTY1Mw1sS1NM2ilZd+0DRlPTtU9tvl9fTfJKBKi07nouZLA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E0rvqQkx9l3RcT1nodaR/AQK5W8EGnRAPFjP27rFbGAjTzMZX2BJuPGKC6+1fs6ze/NvL74zyar10YNrun6uJrwWx4P836FUaWv34cqAIobwmhJa2eYTSHNQtgFWE52eTd3EmAozJRBBfOjUEBqPChIy60wVIZwTgBbdFJMkbLWFBhxGpLRGgGtea8TyBS/H/NzULlnpNUn80+eysqAUXBfR9F45RAN9DKuqBh55LwTQqiP9yragnRqf8Kp/YE2FJGzCKHD57p5NuAJNB4WYh/ogcjYjbnHrCs79vUAVxhtJa/dzHi1TuX8b5O3GiMF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OBq/bYvkDPkk1IiLCi2cbF1eVZA5tAXWR7JDTtsB3E1XUGRgd+bsTOqxK0Y3zdYm4NUzfFdqyq5+ZnWZWv2Hreip5jRsiwjdp4+uaptPIf/I8yA8pTDgjjYS5qWuQqAF3mnDf4PmsRMODkVG9AFw09oY+IdqI9Z4AwwUN0/LvpBEuR2iKu7bCJtQHQ8zCkXUM7a8jcNi+P517rBnQqLa9ouOQAN5c0YloNERzV2azkbremjVoCbyzeCTXIXIAoa9hhB/gRGm4Ntarnr6tHDEZZFljAHrq4oXHKQH5Nlrwv3Gj/OiAWlRfv+h+X50A9ZlqK129ASA0JzAEVUzLdcx0JzeeF9evNJ44OVpmecLVek5z22lrb4fQEPlpeEKQamU9OLrmb1TiRJ5GFFGIoX03HVOLVRughDRvYNgnN9Y52AIGDf2CEb3do5E7a5VJ2J2nMvgDtda2mwHsFMEf9rvAePCwBjeI2hlJj1J8BSXnNI48/a7ExIlV1kdS+/05tVbc9XpSUdWSBG5jSbstz1Q8JK3Yp6DoQHP8xk6Ev6TelPN5GV5nE3obfy0WTx+jYmsV78yi/5U/uzQOtdumEfAQ40PH+2q081DuJq/H2EoX7XtVUh3+ZeD76UjVg5mzZ0BJVHTmJS1Xm/Kl01THhDm+NdMrjVfsVHX/QoY1miNwFoRq1u5FCA4UwhxSSxWCd1rAYPo3mADTlxbjEch/LWoRNbqsyjPmNFGbRhSGx7Kg3je0ecky0RuwtDYUZ3XZxfGsxC57wQwYpT+IzFVFqoLiYGGhdlM1BhiKYNpQt4qEydPBvlI0+wb/+W4k9xet2NrMOgN+j05gEBh4/64rhhpvczAka+kAjoeujw6or1t9mErEyLLfeqNeqmfX/MRSPQgAq2w7ooEsuT8g==
Sent: Thursday, September 24, 2020 12:17 PM
To: <>
Subject: Re: [cgal-discuss] Reading a las file.
As Maxime wrote: Have a look here : https://doc.cgal.org/latest/Manual/thirdparty.html#thirdpartyLASlib
I am using a Mac, and even compinling read_las_example.cpp fails citing
CMake Error at CMakeLists.txt:63 (include):
include could not find load file:
CGAL_LASLIB_support
Are there dependencies I need to install ?
RegardsHimanshu
From: on behalf of Himanshu Sharma
Sent: Thursday, September 24, 2020 11:22 AM
To:
Subject: Re: [cgal-discuss] Reading a las file.Tried, didn't work.
Also, sorry for changing the track in between, but can you guide with the 5.1 version ?
Regards,
Himanshu
From: on behalf of Maxime Gimeno
Sent: Thursday, September 24, 2020 11:14 AM
To:
Subject: Re: [cgal-discuss] Reading a las file.Can you try with PUBLIC instead?
Le jeu. 24 sept. 2020 à 17:11, Himanshu Sharma <> a écrit :
No particular reason. I used cgal_create_CMakeLists to generate CMakeLists.txt and that was the default.
From: <> on behalf of Maxime Gimeno <>
Sent: Thursday, September 24, 2020 11:06 AM
To: <>
Subject: Re: [cgal-discuss] Reading a las file.Why do you link privately with CGAL ? Why not target_link_library(dsm PUBLIC CGAL) ?
Le jeu. 24 sept. 2020 à 17:00, Himanshu Sharma <> a écrit :
Yes, I did that.
I also tried with CGAL 5.1 just now. I am attaching the CMakeLists.txt for 5.1. For this, it is unable to find CGAL_LASLIB_support. Can you help with this as well
include could not find load file:
CGAL_LASLIB_support
From: <> on behalf of Maxime Gimeno <>
Sent: Thursday, September 24, 2020 10:50 AM
To: <>
Subject: Re: [cgal-discuss] Reading a las file.Did you include <CGAL/IO/read_las_points.h> ?
Le jeu. 24 sept. 2020 à 16:44, Himanshu Sharma <> a écrit :
Sorry, I am using 5.0 i meant.
From: Himanshu Sharma <>
Sent: Thursday, September 24, 2020 10:44 AM
To: <>
Subject: Re: [cgal-discuss] Reading a las file.I am using 5.1It is NOTICE : the LAS reader found.
Regards,
Himanshu
From: <> on behalf of Maxime Gimeno <>
Sent: Thursday, September 24, 2020 10:21 AM
To: <>
Subject: Re: [cgal-discuss] Reading a las file.Actually it depends on your version of CGAL. <5.1, your code is probably right, if LASLIB_FOUND is TRUE. What is your CMAKE output during configuration ?NOTICE : the LAS reader found.orNOTICE : the LAS reader test requires LASlib and will not be compiled.?
Le jeu. 24 sept. 2020 à 16:11, Himanshu Sharma <> a écrit :
I see. I have attached the CMakeLists.txt along.
I tried to follow CMakeLists.txt of read_las_example from Point_set_processing_3, but didnt get it right it seems.
RegardsHimanshu
From: <> on behalf of Maxime Gimeno <>
Sent: Thursday, September 24, 2020 2:13 AM
To: <>
Subject: Re: [cgal-discuss] Reading a las file.Hello,
It looks like you did not link with LAS. Can you provide your CMakeLists.txt ? You must have forgotten to link with the target CGAL::LASLIB_support. Have a look here : https://doc.cgal.org/latest/Manual/thirdparty.html#thirdpartyLASlib
Le jeu. 24 sept. 2020 à 05:27, Himanshu Sharma <> a écrit :
Hello,
I am trying to read a .las file into Point_set_3. Below is the code snippent. However this throws following error:
error: no matching function for call to 'make_las_point_reader.
I am not sure what goes wrong here. I understand that the argument to the make_las_point_reader is not of the right type.
std::ifstream ifile (argv[1], std::ios_base::binary);
CGAL::Point_set_3<Point_3> points;
if (!CGAL::read_las_points
(ifile,
points.index_back_inserter(),
CGAL::make_las_point_reader(points.point_map())))
{
std::cerr << "Error: cannot read file " << argv[1] << std::endl;
return EXIT_FAILURE;
}
RegardsHimanshu
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
-- Andreas Fabri, PhD Chief Officer, GeometryFactory Editor, The CGAL Project phone: +33.492.954.912 skype: andreas.fabri
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- Re: [cgal-discuss] Reading a las file., (continued)
- Re: [cgal-discuss] Reading a las file., Himanshu Sharma, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Himanshu Sharma, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Maxime Gimeno, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Himanshu Sharma, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Maxime Gimeno, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Himanshu Sharma, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Maxime Gimeno, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Himanshu Sharma, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Himanshu Sharma, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Andreas Fabri, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Himanshu Sharma, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Maxime Gimeno, 09/25/2020
- Re: [cgal-discuss] Reading a las file., Maxime Gimeno, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Himanshu Sharma, 09/24/2020
- Re: [cgal-discuss] Reading a las file., Himanshu Sharma, 09/24/2020
Archive powered by MHonArc 2.6.19+.