Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Trouble compiling surface_mesh example using cmake-gui (Ubuntu)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Trouble compiling surface_mesh example using cmake-gui (Ubuntu)


Chronological Thread 
  • From: Maxime Gimeno <>
  • To:
  • Subject: Re: [cgal-discuss] Trouble compiling surface_mesh example using cmake-gui (Ubuntu)
  • Date: Wed, 29 Apr 2020 15:16:40 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:N6pjNxYy+mm9iHb4j9n6lZX/LSx+4OfEezUN459isYplN5qZpsy+bR7h7PlgxGXEQZ/co6odzbaP7ua+Aideud6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vLBi6twTcu8cZjYZjNqo61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzoBOjUk8m/Yl9ZwgbpUrxKvpRNxw4DaboKIOvRgYqzQZskVSXZbU8tLSyBNHoGxYo0SBOQBJ+ZYqIz9qkMJoxSkCgisBebvxSFVjXH33K061vouEQfB3Ac9GN8OtW7brdr0NKcXT++51qbIzTTGb/xI3zf975PFch8kof6WXLJwddDdxlUoFwPAl1idr5HuMDyJ2OoXqWeb8/ZgWvy1i24hswx/oiWjy8kuh4XUm44Z1E7I+CFkzYooJtC2SEp2bcCqHpZRtyyXM5Z7TMMiTWxstyg3xb4LtJq7cSYKxpkqxh3SZvqaeIaG5RLjUfyeITZ+hH99frKwnQ29/lOkyuLiTMW7zFFKri9dntnNsHANzR3T5dKdRvtz5Ees3yuE2QPL6uxcP0w4ia7WJ4Qiz7MwjJYfrEXOEy3slEnrjqKbd0Mp8fWy5ev9eLXpvJqcOpd0ig7gNqQundSyAeEiPQgPW2iX4OO81Lz+8UHgTrVGk/87n6jDvJDVIsQboaG5AwtL3Yo59xm/CDKm3MwZnXkBMl1FZAqKg5b1N1zKOvz1Dveyj06xnDpqxf3KJKDtD5fMI3TblbfuZ7d960pSyAopytBf4opZCrQbL/P8W0/xscLXAgU2Mwy1xuboFtN91oQFVGKAB6+WKqLSsVuS6u0zJOmMYZcZuCzhJPg9+/7ukXg5lEcBcqmmx5QXbGm0EelnI0WCfXXsn8wBEXwRswolTO3qjUWCXiRJa3azWaI8/DA7B5i8AYfNXID+yIGHxzqxS51KenhdWBfLCmbtb4zCWvEWaSvULNUmiS0BTbHmSokv0laluwb+jrZmNeHJ4TZLiJT4ydJV++jXwBEu6SRvXYPayHCIV2gyn2USRjZw0ro4ul140l7E0K52hLtTGtVXov9ISQwnLoWP8uphFtrOVxLdK9eVVE69EJLhGiA0Vtt3wtkUYk87Fc/llQHGxyPtArkbkPuAC5Uwt67dxHPsPN0u93GT36YoixwqQ9BEKHa9rq957QnaQYDTwGuDkKP/UK0M3SvAvEiCyGeIuwkMVQdgUKDIG38eY0bQqvz240rDS/mlDrFxYVgJ8tKLNqYfMo6htl5BXvq2YI2PMVL0oH+5AFOz/p3JaYPrf2sH2yCEURoLlgkS+TCNMg1sX3798VKbNyRnEBfUW22p6fN38SrpQUo9zgXMZEpkheLsp0wlwMeEQvZW5Yoq/ScsrzIuQgS41tPSTt2B/k9vJfoCJ9w651hD2CTSsAkvZpE=

I see it depends on libcgal-dev, so it must be just an extension.

Le mer. 29 avr. 2020 à 14:57, Trần Anh <> a écrit :
Thanks Maxime,
Will I need to uninstall libcgal-dev before doing so? Is this like an extension to libcgal-dev or is this libcgal-dev + qt5 component?

I think you should install libcgal-qt5-dev then. 

Le mer. 29 avr. 2020 à 14:33, Trần Anh <> a écrit :
Hi,

I just followed the CGAL's getting started guide: sudo apt-get install libcgal-dev

I have compiled and run CGAL program in the past but for some reason I decided to not use Qt5 or create_single_source_cgal_program. I used add_executable and it has always worked fine. But now I would like to ultilise CGAL's integrated graphic library to speed up my work.

Thanks & Regards
Anh Tran


Hi,

Can you tell us  the name of the package you installed ?

Le mer. 29 avr. 2020 à 14:21, anh.tran <> a écrit :
Hi,
I have this problem when compiling surface_mesh example using cmake-gui:

The C compiler identification is GNU 7.5.0
The CXX compiler identification is GNU 7.5.0
Check for working C compiler: /usr/bin/cc
Check for working C compiler: /usr/bin/cc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
NOTICE: The CGAL_Qt5 library was not configured. CGAL was configured with
WITH_CGAL_Qt5=ON, but one of the dependencies of CGAL_Qt5 was not configured
properly.
CMake Error at CMakeLists.txt:29 (create_single_source_cgal_program):
  Unknown CMake command "create_single_source_cgal_program".


Configuring incomplete, errors occurred!
See also
"/home/anhtran/Desktop/Programming/CGAL-5.0.2_example/examples/Surface_mesh/build/CMakeFiles/CMakeOutput.log".

I installed CGAL through apt-get so everything is in the default folder
(/usr/lib/x86_64-linux-gnu/cmake/CGAL). My main concern here is the command
"create_single_source_cgal_program" is not recognised, but you can also see
that I also having trouble getting Qt5 to work probably (NOTICE: The
CGAL_Qt5 library was not configured. CGAL was configured with
WITH_CGAL_Qt5=ON, but one of the dependencies of CGAL_Qt5 was not configured
properly).

I have not modified the CMakeLists.txt file.

Help a learner out? Thank you.



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

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


--
Thanks & Regards
Anh Tran



Archive powered by MHonArc 2.6.18.

Top of Page