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: sergio campo <>
  • To:
  • Subject: Re: [cgal-discuss] How to test a CGAL Demo (Case Repair_polyhedron_plugin.cpp)
  • Date: Thu, 31 May 2018 10:56:35 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:BPw/mh09A8LAt/resmDT+DRfVm0co7zxezQtwd8Zse0eI/ad9pjvdHbS+e9qxAeQG9mDtrQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYwhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLniikHOT43/m/Ul8J+kr5UrQm7qBBj2YPZep2ZOOZ8c67bYNgURXBBXsFUVyFZGYOzcZEPD+UAPeZfsoLyu0EBrR6mBQmrGejizSFIiWXq0q071eQhHg/G3As6H9IJq3nUo9D1O70TUeCx1qXH0TLDb/ZP1Dr79YPGfBchofSWUrJxd8rc0VAvFx/fglWRrozpJzWV2f4WvGeA6+pvS/ijhHIgqwF0ujSg2sgshZPNho4PzVDE7yp5zJ46Jd25VE57YcOkH4BKuy6GMIt2R8UvSHxrtiYi0rALu5G2cDIXxJg5xxPTcf+Kf5aS7h/sVeucJypzimh/d7KlnRmy9FCtyu3iWcmw11ZHti9FncPNtnAJzhDS5M2HRudk8kev1juC1hrf6u5DIUAzmqrbL4AuzqQsmZoUtETPBi72mEPog6+Kbkgp+Oel5/76brn4ppKQLYx5hh/kPqkhm8GzGeE4PRIPX2if9+S8zrrj/UjhTbVUlPI5jqjZsJbVJcQVoa65GQhV350s6xa6FTim0dAYkWMbI1JCfRKLl5LpNE3WIPDkEfe/hEyhnytkx//cOr3tG4jCLnnYkLj9YLZ98FVcxREozdFf4pJUEqsOLOjyWk/3rtzYDwU2Pxa6w+b9W51B0dYVVmuLR6OYK6jPqkSg5+Q1IuDKapVGliz6Lq0+6uThjHhxklYYZa7hiYUeY3G+EfphOUKxbn/lg9NHGmAP6FltBNf2gUGPBGYAL025WLgxs2liWdCWSLzbT4Xou4SvmSKyH5lYfGdDUwneHnLhdoHCUPAJOnvLfp1R1wccXL3kcLcPkAm0vVajmbViJ+vQvCYfsMC7jYUn16jojRg3sAdMIYGd3mWKFTwmm2oJQ3op2fg6rxAjjFiE1qd8jrpTEtkBv/4=

Hello Andreas,

Ok it seems that it is included as separate module:

http://doc.qt.io/qt-5/topics-scripting.html

I'll try it and let you know the results.

Thanks you!

Sergio

On Thu, May 31, 2018 at 10:05 AM, Andreas Fabri <> wrote:

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