Subject: CGAL users discussion list
List archive
- From: Maxime Gimeno <>
- To:
- Subject: Re: [cgal-discuss] Building with cmake on Windows.
- Date: Wed, 19 Aug 2020 08:19:33 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:PyX6YRRiXCTFGCHcLvc+UkBAENpsv+yvbD5Q0YIujvd0So/mwa67ZBeHt8tkgFKBZ4jH8fUM07OQ7/m+HzVYvt3c7TgrS99lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBoKevrB4Xck9q41/yo+53Ufg5EmCexbal9IRmrrAjdrNQajZdgJ6o+yhbEomZDdvhLy29vOV+dhQv36N2q/J5k/SRQuvYh+NBFXK7nYak2TqFWASo/PWwt68LlqRfMTQ2U5nsBSWoWiQZHAxLE7B7hQJj8tDbxu/dn1ymbOc32Sq00WSin4qx2RhLklDsLOjgk+2zRl8d+jr9UoAi5qhNwzY7bYoGbOvR9cK3AY90VWXFMUdxNWyFbGI6wc5cDAugHMO1Fr4f9vVwOrR6mCAerHuzuxT5Ihnro0qYn0uohEATG0xImH9IJrX/Zq9D1O70dUOC0yanH0y/Pb/xX2Tf49ofIdBchrOqDXbJ1a8XRyE0vGxnZgVWXrIzoJjWY3fkCvGaH9eRvT/6vi3I5pAFrpDii3sQhh4bLi48JyF3I6Cp0zZsrKNGmSkN2fMCpHIdOui2GNYZ6XN0vTn1qtSs51rELpIK2cScFxZonyRDSauCLfpWO7xn+WuiRJjJ4i2hkeLK5nxuy8E6gyvf9VsauylpKoDBFn9/RvX4Ozxze8taLRud580u72juC1xrf5vxFLE02j6bXNpwsz7w2m5EOq0rMBDX2l1/zjKKOdkUr5Oyo6+P/b7XjvJCcNot0hhj5MqQvh8CzGOo4PhUMUmWZ4+i827rj/Ur2QLVOkPI6iLXWsJffJcgDp665BRFa0po75hqhEzur1M4UkHoHIV5fZR6KjorkN0vTLP36D/qzm1Gsny1qx/DCML3hGJLNLn3bnbfkZ7l85E9cyA8twtxF6JJUC7QBL+z1Wk/2r9HYARo5PBa1w+bjEtlyyoQeWWeXDq+DLKzSqUOI5v4oI+SUeIAVtyzyK/w86/HzjH85gkMSfbSy3ZsMc324BfRnI0CBYXX2mNsBEGEKvhA/TOPwklGCXyRTND6PWbkh7GQ7FJ6+FtWEAZu8haSImia9BJxfIG5cTUudFG/hMISCVfBLYy2bJoptkycPSKO6GLInzgyklBP/z+9nMvbM4X9f8ony0cB8oezVjxA7szJuSN+M1nmECGBykGRPTDA/2OVzoFd210yYgpV+mOFSKdFD+6ZJThsiLsybiPdrDsj7HAPHZNaADli8Bc63BCk4CdM3zdhJaEl0H5CujwvIwjGxUIMSwreEDZhx/qPH1GXqPO58zWzH3e8vlQoIWMxKYEivlq96+kD8BovElULRw6OjZaUZ0WjC9WKOy22ms0RRUQo2WqLACyNMLnDKpMj0sxuRB4SlDq4qZ1MYlJyyb5BSY9istm1oAffuPNOEPTC0kma0QBGJn/aCNdW1PWoa2yrZBQ4PlAVBpS/aZzh7PT+opiflNBIrDUjmOhq+/ux3qXf9RUgxnVnTPh9RkoGt8xtQvsSyDvYa37YKoiAk8mwmE1O03taQAN2F9VNs
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
- [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+.