Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to test a CGAL Demo (Case Repair_polyhedron_plugin.cpp)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to test a CGAL Demo (Case Repair_polyhedron_plugin.cpp)


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] How to test a CGAL Demo (Case Repair_polyhedron_plugin.cpp)
  • Date: Thu, 31 May 2018 10:05:53 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:slvPqRG/COInw4+1UfzlkZ1GYnF86YWxBRYc798ds5kLTJ7ypM2wAkXT6L1XgUPTWs2DsrQY07eQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDqwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KOSMn/mHZisJ+j6xVrxyuqBN934HZe5uaOOZkc67HYd8XS2hMU8BMXCJBGIO8aI4PAvIdMOZesob9vUUBogGlBQKxBO3g0CRHhmX33aYn1OkuCwfG0xE6H90QqnvUt8/5NKkIXu+u1qnIzC7Ob/xI1jf67YjHbAwhoeuMXLJ+a8Xe1VUvFwTfjlSQs4DqIzSV1uEUvmWd8uFuW+Wvi2s9pAFwpDii3t4sipXTioIUzVDI7SN5z5wuKtKjTE50f8SoH4dXtyGfL4d5XswiTHtsuCogzb0Go5G7cDAFyJQm2x7fa+GHfJOS7h3/U+aRJC90hH17d7K4gha971Sgyvf8V8m6yllFsjZFkt7WtnENzRDc9s+HSv5780y82jiPzxje5+5FLEwuiKbXN54szqQwm5YOq0jPACD7lUHugKKSakko4Oul5uX9brjiuJOQLYB5hwX4P68zgMKwG/44PRILX2WD+eSzyrnj/UrhTbhLlPE2l67ZvI3YKMkZvKK5BhVa0ocn6xqmCDemzcgYkWMALFJbeBKLlY7pNE/SIPzgDPe/hUqjkCtzyv3JP7DtGIjBImTDnbv7fbtx9lRQxBQ8wN1b/55UD6sOIPP3Wk//rtzYCRo5PhSuzObhFdp9zJ0RVniUAqODPqPdq0SH5vguI+SXa48apjH9K/076P7yl384mVEdcrO10psLb3C4BPRnL1+Fbnrrh9cNCX0KsRYmTOz2lF2CViZeaGq9X60m4jE3EZ+pDYbYRo+xnbyBxzy7E4ZNZmFGD1CMCW3ne5+FW/cKciKSI9VuniYKVbi7GMcd0kSluwb+jrZmNeHJ4TYwtJT51dEz6feAuws18GldCciH3miWB099lHkJD2s/2qxlrEVmjFmK27J5q/NVEtle++lYXA4xKZnG3qpxDNWkCVGJRcuAVFvzGobuOjo2VN9km4ZfMXY4IM2ri1X45wTvBrYUk7KRA5luq/DT0n/0Ktpn2njP37UmlUhgScxKZzX/2vxPsjPLDouMqH230r6wfP5FjiHA82KO0XCfskhTTAlqQOPOWnVNPhKL/+S83VvLSvqVMZpiMgZFzpTcePUMb9qw0goAQf7iPJHZfn73nHmwQxCF2uHUYQ==

I have installed Qt  with qt-opensource-windows-x86-5.11.0.exe and I enabled  QtScript during installation

Andreas


On 5/30/2018 6:15 PM, sergio campo wrote:
Hello Andreas,
You right. After setting the right configuration:
WITH_QGLViewer:BOOL=ON
WITH_DEMOS:BOOL= ON
WITH_CGAL_Qt5:BOOL=ON

          
The result of configuring demo/Polyhedron
"NOTICE: This demo requires Qt5, and will not be compiled." See the results:


-- Configuring demo in demo/Polyhedron

Multi-configuration CMake generator: cannot display flags

Requested component: Qt5

Requested component: ImageIO

Requested component: MPFR

Requested component: GMP

Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR) (Required is at least version "3.2.0")

ERROR: Intel TBB NOT found! Please define the TBBROOT (or TBB_INSTALL_DIR) and/or TBB_ARCH_PLATFORM environment variables.

Looked for Threading Building Blocks in C:/Program Files/Intel/TBB;C:/Program Files (x86)/Intel/TBB

NOTICE: Intel TBB was not found. Bilateral smoothing and WLOP plugins are faster if TBB is linked.

ERROR: Intel TBB NOT found! Please define the TBBROOT (or TBB_INSTALL_DIR) and/or TBB_ARCH_PLATFORM environment variables.

Looked for Threading Building Blocks in C:/Program Files/Intel/TBB;C:/Program Files (x86)/Intel/TBB

NOTICE: This demo requires Qt5, and will not be compiled.


          The problem is that in qt5 is deprecated QtScrip (see https://doc.qt.io/archives/qt-5.10/qtmodules.html)and
          cmake does not found it.
          

          
//The directory containing a CMake configuration file for Qt5ScriptTools.
Qt5ScriptTools_DIR:PATH=Qt5ScriptTools_DIR-NOTFOUND

//The directory containing a CMake configuration file for Qt5Script.
Qt5Script_DIR:PATH=Qt5Script_DIR-NOTFOUND
The other modules are successful linked:

          

          

          
//The directory containing a CMake configuration file for Qt5Core.
Qt5Core_DIR:PATH=C:/dev/Qt/5.11.0/msvc2015/lib/cmake/Qt5Core

//The directory containing a CMake configuration file for Qt5Gui.
Qt5Gui_DIR:PATH=C:/dev/Qt/5.11.0/msvc2015/lib/cmake/Qt5Gui

//The directory containing a CMake configuration file for Qt5Help.
Qt5Help_DIR:PATH=C:/dev/Qt/5.11.0/msvc2015/lib/cmake/Qt5Help

//The directory containing a CMake configuration file for Qt5OpenGL.
Qt5OpenGL_DIR:PATH=C:/dev/Qt/5.11.0/msvc2015/lib/cmake/Qt5OpenGL

//The directory containing a CMake configuration file for Qt5ScriptTools.
Qt5ScriptTools_DIR:PATH=Qt5ScriptTools_DIR-NOTFOUND

//The directory containing a CMake configuration file for Qt5Script.
Qt5Script_DIR:PATH=Qt5Script_DIR-NOTFOUND
//The directory containing a CMake configuration file for Qt5Sql.
Qt5Sql_DIR:PATH=C:/dev/Qt/5.11.0/msvc2015/lib/cmake/Qt5Sql

//The directory containing a CMake configuration file for Qt5Svg.
Qt5Svg_DIR:PATH=C:/dev/Qt/5.11.0/msvc2015/lib/cmake/Qt5Svg

//The directory containing a CMake configuration file for Qt5Widgets.
Qt5Widgets_DIR:PATH=C:/dev/Qt/5.11.0/msvc2015/lib/cmake/Qt5Widgets

//The directory containing a CMake configuration file for Qt5Xml.
Qt5Xml_DIR:PATH=C:/dev/Qt/5.11.0/msvc2015/lib/cmake/Qt5Xml

//The directory containing a CMake configuration file for Qt5.
Qt5_DIR:PATH=C:/dev/Qt/5.11.0/msvc2015/lib/cmake/Qt5

          


          
I added again the MakeFiles with correct values. Any suggestion?
          


          
Best regards,
          


          
Sergio
          

          

          

          


On Wed, May 30, 2018 at 2:55 PM, sergio campo <> wrote:
Hello Andreas,
Thanks for your answer. Added cmake log file and I don't see anything. I have qt and QGLViewer.
Best regards,
Ruben

On Wed, May 30, 2018 at 2:07 PM, Andreas Fabri <> wrote:

My guess is that there is no executable because you do not have Qt or Qglviewer installed.

You should see that in the log of cmake.

andreas


On 5/30/2018 2:01 PM, sergio wrote:
Hi 
After follow the manual CGAL installation:

https://www.cgal.org/download/windows.html#Boost

and compile everything ok I see the following files

C:\dev\CGAL-4.12\build\demo\Polyhedron>dir

30/05/2018  13:42    <DIR>          .
30/05/2018  13:42    <DIR>          ..
30/05/2018  13:29            32.323 ALL_BUILD.vcxproj
30/05/2018  13:29               287 ALL_BUILD.vcxproj.filters
30/05/2018  13:40               165 ALL_BUILD.vcxproj.user
30/05/2018  13:42    <DIR>          CMakeFiles
30/05/2018  13:29             1.041 cmake_install.cmake
30/05/2018  13:42    <DIR>          Debug
30/05/2018  13:29            12.583 INSTALL.vcxproj
30/05/2018  13:29               513 INSTALL.vcxproj.filters
30/05/2018  13:29             3.204 Polyhedron_Demo.sln
30/05/2018  13:40    <DIR>          Release
30/05/2018  13:42    <DIR>          Win32
30/05/2018  13:25    <DIR>          __
               7 archivos         50.116 bytes
               7 dirs  102.536.847.360 bytes libres
			   
so I open visual studio and open Polyhedron_Demo.sln in order to generate
the exe of 

https://github.com/CGAL/cgal/blob/master/Polyhedron/demo/Polyhedron/Plugins/PMP/Repair_polyhedron_plugin.cpp

The problem is that the build is ok without any error but I don't see any
executable.

So how i can test this demo?



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/


-- 
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912    skype: andreas.fabri



-- 
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912    skype: andreas.fabri



Archive powered by MHonArc 2.6.18.

Top of Page