Subject: CGAL users discussion list
List archive
- From: Andrew Cunningham <>
- To:
- Subject: Re: [cgal-discuss] Building with cmake on Windows.
- Date: Wed, 19 Aug 2020 14:38:54 -0700
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:IMpPMxy3HaG6A3bXCy+O+j09IxM/srCxBDY+r6Qd0uoSI/ad9pjvdHbS+e9qxAeQG9mCtbQd07qd6vu+EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCe8bL9oMRm6sQbcusYLjYZsK6s61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzoBOjUk8m/Yl9ZwgbpUrxKvpRNxw4DaboKIOvRgYqzQZskVSXZbU8tLSyBNHoGxYo0SBOQBJ+ZYqIz9qkMSoBu4GAasHv3gyzFVjXLowK061eIhEQDA3AwvH9IBqnHUp8jyOagOXuC61q3IwC7ZYP9PxTj99Y7IchYgofGKUrJwcdDeyUw1GwzZiVWQrJXoMjWI3esCr2aV9fBvVf6zi2E5sQFxpCCiy8MxhoTViY8bylTJ+CVkzYs2IdC1S051b9G4HJdNtSyXOZZ7T90sTW9npCs217ILtJ64cSQX1ZgqyQPSZvOaf4WO/xntWuGRITJii3JkfrKynw+y8VS6xu39Ucm4yFdKrixfktnNrH8BzRLT6tKBR/Bg/UmhwS6C2x7P5uxAO0w5lqrWJ4Q8zrMxlJcfq1nPEy33lUjwkaSYbF8r+vKy5OTierjmpoGTN4tzigzmN6QhgM2/AeAhPggJXmiX5P2w1LP+8UD7QbhGlPI2kq7esJDVIcQUuLS1DBNS0oYm8xq/DjGm38oEnXQfMl5JZBaKg5LqNlzOOvz0EPayjla2nDt2xf3LP6XtApDXIXjClLfhc6x960lZyAcr199Q+pdUCrAHIP/oQED9rcDXDgI/MwyywubnDtp91oMEVmKKGKOWLKTSsVqQ6uI1P+aMfJMVuCr6K/U9+/HugmU2mVsEcaa03JsXc2y3Hul9I0WCenfsmdcAEWISvgUkVuDqiVuCUSRSZ3moRa486Cs7W8qbC5zeTNWtnKCZx3X8WYZHY3hPTFGKC3bhMYueHOwdbTqbZc5nnDtDXreoT8ot1AqlqRThmIdhNffe2jEdscfjyMRt/L+U0goj8CR9ScWbyWCECW9u2XgZQic/m6F5r0s6wViK1e10gudTCMdItM5PSRowCZPM07l6F8zqQVCGOcyYTU6vBNSgGzA4CNwrhMQfZl50XNSkgBeE1CWjB/oZlqeAGYcvoZ7binP+LsI4x3fd37Q6lHEnRNFOPCuonP1R7Q/WUqfPn1+UiO6BaKIa3SjC9G6GhT6Fs0hceAc1WrjDW3EZaUvfqJLy4UaUHOzmMqguLgYUkZ3KEaBNcNC81QwbFsemA8zXZieKo0n1BRuMwenSPo/jemFY2ySETUZdzF5V8nGBOgwzQCympjCGVW08JRfUe0rptNJGhja+R04wwRuNahQxhbPw8QMTg/2aRPMa2/QPvyJz82woTmb45MrfDp+7nyQkZL9VOINv6RJMyGTftgpyPpWlaatlgwxGfg==
Yes, absolutely. Completely cleaned the "build" directory.On Tue, Aug 18, 2020 at 11:19 PM Maxime Gimeno <> wrote:Did you clean your CMakeCache before trying ?Le mar. 18 août 2020 à 19:47, Andrew Cunningham <> a écrit :Sadly, removing the definition of QTDIR made no difference. CMake fails in the identical manner.On Tue, Aug 18, 2020 at 12:59 AM Maxime Gimeno <> wrote:Hi,I think your problem is due to QTDIR. You shouldn't have to specify that. Qt5_DIR is enough, and it is possible that both paths are somehow interfering.Le ven. 14 août 2020 à 21:21, Andrew Cunningham <> a écrit :Hi All,
I was trying to build demos using the latest 5.0.3 version on Windows using cmake . I have set up QT5_dir and QTDIR
Qt5_DIR=D:\Qt\5.12.7\msvc2017_64\lib\cmake\Qt5
QTDIR=D:\Qt\5.12.7\msvc2017_64
D:\CGAL-5.0.3\build\debug>cmake D:\CGAL-5.0.3 -DCMAKE_BUILD_TYPE=Debug
I get some very obscure cmake QT related messages – I am including the “Trace” from cmake
-- Configuring demo in demo/Triangulation_3
CMake Error at D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:211 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:281 (_QT5_PARSE_QRC_FILE)
demo/Triangulation_3/CMakeLists.txt:57 (qt5_add_resources)
Here is the trace from cmake.
/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(202): if(NOT IS_ABSOLUTE cgal_logo.xpm )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(203): set(RC_FILE D:/CGAL-5.0.3/demo/resources/cgal_logo.xpm )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(205): set(RC_DEPENDS D:/CGAL-5.0.3/demo/resources/about_CGAL.html;D:/CGAL-5.0.3/demo/resources/cgal_logo_ipe_2013.png;D:/CGAL-5.0.3/demo/resources/cgal_logo_ipe_2013.png D:/CGAL-5.0.3/demo/resources/cgal_logo.xpm )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(210): qt5_make_output_file(D:/CGAL-5.0.3/demo/resources/CGAL.qrc qrc.depends out_depends )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(43): string(LENGTH D:/CGAL-5.0.3/build/debug/src/CGAL_Qt5 _binlength )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(44): string(LENGTH D:/CGAL-5.0.3/demo/resources/CGAL.qrc _infileLength )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(45): set(_checkinfile D:/CGAL-5.0.3/src/CGAL_Qt5 )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(46): if(_infileLength GREATER _binlength )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(53): else()
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(54): file(RELATIVE_PATH rel D:/CGAL-5.0.3/src/CGAL_Qt5 D:/CGAL-5.0.3/demo/resources/CGAL.qrc )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(56): if(WIN32 AND rel MATCHES ^([a-zA-Z]):(.*)$ )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(59): set(_outfile D:/CGAL-5.0.3/build/debug/src/CGAL_Qt5/../../demo/resources/CGAL.qrc )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(60): string(REPLACE .. __ _outfile D:/CGAL-5.0.3/build/debug/src/CGAL_Qt5/../../demo/resources/CGAL.qrc )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(61): get_filename_component(outpath D:/CGAL-5.0.3/build/debug/src/CGAL_Qt5/__/__/demo/resources/CGAL.qrc PATH )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(62): string(REGEX REPLACE \.[^.]*$ _outfile D:/CGAL-5.0.3/build/debug/src/CGAL_Qt5/__/__/demo/resources/CGAL.qrc )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(63): file(MAKE_DIRECTORY D:/CGAL-5.0.3/build/debug/src/CGAL_Qt5/__/__/demo/resources )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(64): set(out_depends D:/CGAL-5.0.3/build/debug/src/CGAL_Qt5/__/__/demo/resources/D:/CGAL-5.0.3/build/debug/src/CGAL_Qt5/__/__/demo/resources/CGAL.qrc.depends )
D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake(211): configure_file(D:/CGAL-5.0.3/demo/resources/CGAL.qrc D:/CGAL-5.0.3/build/debug/src/CGAL_Qt5/__/__/demo/resources/D:/CGAL-5.0.3/build/debug/src/CGAL_Qt5/__/__/demo/resources/CGAL.qrc.depends COPYONLY )
CMake Error at D:/Qt/5.12.7/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:211 (configure_file):
configure_file Problem configuring file
--
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
- [cgal-discuss] Building with cmake on Windows., Andrew Cunningham, 08/14/2020
- Re: [cgal-discuss] Building with cmake on Windows., Maxime Gimeno, 08/18/2020
- Re: [cgal-discuss] Building with cmake on Windows., Andrew Cunningham, 08/18/2020
- Re: [cgal-discuss] Building with cmake on Windows., Maxime Gimeno, 08/19/2020
- Re: [cgal-discuss] Building with cmake on Windows., Andrew Cunningham, 08/19/2020
- Re: [cgal-discuss] Building with cmake on Windows., Andrew Cunningham, 08/19/2020
- Re: [cgal-discuss] Building with cmake on Windows., Andrew Cunningham, 08/19/2020
- Re: [cgal-discuss] Building with cmake on Windows., Maxime Gimeno, 08/19/2020
- Re: [cgal-discuss] Building with cmake on Windows., Andrew Cunningham, 08/18/2020
- Re: [cgal-discuss] Building with cmake on Windows., Maxime Gimeno, 08/18/2020
Archive powered by MHonArc 2.6.19+.