Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER
- Date: Thu, 2 Apr 2020 10:26:26 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:31u27R1mCkhiUyyFsmDT+DRfVm0co7zxezQtwd8ZseseLvad9pjvdHbS+e9qxAeQG96Eu7QZ06L/iOPJZy8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tLw6annrn5jEbHlDzNBF+O//uMo/UlcW+ke6oqLPJZAAdzgGwa7ppMBS7q031sdMXhpcqaok8zR7EvmFZVe1d2WRyNBPZ10Ln4sCq/Zl/tSFUk/0k/s9EF679evJrHvRjED06PjVtt4XQvh7ZQF7XvyZOYiAtihNNRjP9wlT6U5P26Haos+N83GyFOJSzQ+xpHzul6KhvRVnjjyJVb2dlolGSsdR5iedgmDzkvwZ2mteGb4ScNf44daTYL4tDFDhxG/1JXikEObuSKo4GDu4PJ+Fd9tCvqF4HrB/4Dg6pVrri
Side remark:
It seems you are not using a package manager. Why not using the latest version of CGAL then? It might be that you are falling into bugs that have been fixed already.
Sebastien.
On 4/2/20 10:21 AM, AliiAsgharii wrote:
Hi Guillaume,
I had seen this instruction before, maybe I need guidance from a step before
when I am running this program.
Here are the steps that I have done so far:
I introduced the source and build folder file to Cmake as follow:
Where is the source code: C:/dev/CGAL-4.13
Where to build the binaries: C:/dev/CGAL-4.13/build
And then after configuration (using visual studio 2019 as a generator), I
generated the project. What I got from this step has been attached for your
review.
Then, I opened the CGAL.sln with Visual studio 2019 and built all 10
projects in the solution file successfully (6 success out of 10).
Then I created a project and a CPP file to run my code. At this step, I
added some paths to Additional Include Directories in C++ General
{C:\dev\CGAL-4.13\auxiliary\gmp\include
C:\dev\boost_1_69_0
C:\dev\boost_1_69_0\lib64-msvc-12.0
C:\dev\boost_1_69_0\libs
C:\dev\CGAL-4.13\build\include
C:\dev\CGAL-4.13\include}
and to Additional Library Directories in Linker, General {
C:\dev\CGAL-4.13\auxiliary\gmp\lib
C:\dev\boost_1_69_0\lib64-msvc-12.0
C:\dev\boost_1_69_0\libs
C:\dev\CGAL-4.13\build\lib}
and to Input {libgmp-10.lib
libmpfr-4.lib
kernel32.lib
user32.lib
CGAL_Core-vc120-mt-gd-4.13.lib
CGAL_ImageIO-vc120-mt-gd-4.13.lib
CGAL-vc120-mt-gd-4.13.lib}
I also added some DLL (CGAL_Core-vc120-mt-gd-4.13.dll,
CGAL_ImageIO-vc120-mt-gd-4.13.dll, CGAL_Qt5-vc120-mt-gd-4.13.dll,
CGAL-vc120-mt-gd-4.13.dll, libgmp-10, libmpfr-4.dll, QGLViewer2.dll,
QGLViewerd2.dll} to the folder of the project hello_world_001.
Then I tried to run the code draw_triangulation_2.
Have I set everything correct so far?
Do I need to change anything?
Regarding your solution, I change the Cmakelist inside the example folder
relevant to draw_triangulation.
Could you please kindly clarify if I need to do anything else? I do not
familiar with this environment so many thanks if you explain from scratch.
Best regards,
Ali
<http://cgal-discuss.949826.n4.nabble.com/file/t376202/Cmake.jpg>
<http://cgal-discuss.949826.n4.nabble.com/file/t376202/VS_Build_process.jpg>
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, AliiAsgharii, 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Guillaume Damiand, 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Maxime Gimeno, 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, AliiAsgharii, 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, AliiAsgharii, 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Sebastien Loriot (GeometryFactory), 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, AliiAsgharii, 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Sebastien Loriot (GeometryFactory), 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Maxime Gimeno, 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, AliiAsgharii, 04/03/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Maxime Gimeno, 04/03/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, AliiAsgharii, 04/03/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Maxime Gimeno, 04/03/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, AliiAsgharii, 04/03/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, AliiAsgharii, 04/03/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Maxime Gimeno, 04/03/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Sebastien Loriot (GeometryFactory), 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, AliiAsgharii, 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Sebastien Loriot (GeometryFactory), 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Maxime Gimeno, 04/02/2020
- Re: [cgal-discuss] How to define CGAL_USE_BASIC_VIEWER, Guillaume Damiand, 04/02/2020
Archive powered by MHonArc 2.6.18.