[CMake] Problems with EnternalProjectAdd

Workbench@gmx.at workbench at gmx.at
Tue Feb 19 00:28:33 EST 2019


I forgot the error message:

CMake Error at 
/usr/local/share/cmake-3.13/Modules/ExternalProject.cmake:1659 (file):
   file problem creating directory: /freetype/src/freetype-stamp
Call Stack (most recent call first):
   /usr/local/share/cmake-3.13/Modules/ExternalProject.cmake:3057 
(_ep_set_directories)
   bin/tools/cmake/modules/BSBasicTests.cmake:24 (ExternalProject_Add)
   CMakeLists.txt:33 (bs_install_dependencies)


CMake Error at 
/usr/local/share/cmake-3.13/Modules/ExternalProject.cmake:1661 (message):
   dir '/freetype/src/freetype-stamp' does not exist after
   file(MAKE_DIRECTORY)
Call Stack (most recent call first):
   /usr/local/share/cmake-3.13/Modules/ExternalProject.cmake:3057 
(_ep_set_directories)
   bin/tools/cmake/modules/BSBasicTests.cmake:24 (ExternalProject_Add)
   CMakeLists.txt:33 (bs_install_dependencies)


-- Configuring incomplete, errors occurred!
See also 
"/home/stuv/data/projects/programming/bsUltimate/build/CMakeFiles/CMakeOutput.log".


On 19.02.19 05:58, Workbench at gmx.at wrote:
> Hi again,
>
> i try to install my dependencies with ExternalProjectAdd but it gives 
> me troubles... what's wrong with
>
>
>     ExternalProject_Add(
>         freetype
>         PREFIX "${CMAKE_BUILD_DIR}/freetype"
>         GIT_REPOSITORY "https://github.com/brooklynpacket/freetype2.git"
>         GIT_TAG 64bit
>         BUILD_COMMAND "cd ${CMAKE_BUILD_DIR}/freetype/src/freetype && 
> ./autgen.sh && ./configure && make"
>         LOG_DOWNLOAD ON
>         LOG_INSTALL ON
>         LOG_CONFIGURE ON
>         LOG_BUILD ON
>         LOG_TEST ON
>         LOG_INSTALL ON
>         )
>
> best regards!
>


More information about the CMake mailing list