Problem with URL in CMake ExternalProject_AddDebug vs Release in CMakeLooking for a 'cmake clean' command to clear up CMake outputhello to boost multi indexBoost 1.50 CMake 2.8 and Ogre 1.8 - win64 - dynamic linkingCMake doesn't find boostHow to compile Boost with MPICH2 on MinGWBuilding Boost dynamically linkable gives linking error?Whats the proper way to link Boost with CMake and Visual Studio in Windows?Cmake could not find boostCMake and Boost error on Centos 7- Could not find the following Boost libraries

Program for finding longest run of zeros from a list of 100 random integers which are either 0 or 1

Names of the Six Tastes

Why is PerfectForwardSecrecy considered OK, when it has same defects as salt-less password hashing?

We are two immediate neighbors who forged our own powers to form concatenated relationship. Who are we?

What can cause an unfrozen indoor copper drain pipe to crack?

Passport stamps art, can it be done?

Does the 500 feet falling cap apply per fall, or per turn?

Is ‘despite that’ right?

spatiotemporal regression

Is there a need for better software for writers?

Why is it wrong to *implement* myself a known, published, widely believed to be secure crypto algorithm?

Why was the ancient one so hesitant to teach Dr Strange the art of sorcery

Visual representation code coverage in VSCode

Which other programming languages apart from Python and predecessor are out there using indentation to define code blocks?

Why does increasing the sampling rate make implementing an anti-aliasing filter easier?

Electric kick drum pedal starts oscillating in such a way that it does not register hits

Is there some sort of formula to determine how many bricks I would need to build a completely new structure?

Getting a error after using setState with a promise

Why do unstable nuclei form?

Is there an application which does HTTP PUT?

Hexagonal Grid Filling

How is CoreiX like Corei5, i7 is related to Haswell, Ivy Bridge?

Is it nonsense to say B > [A > B]?

My perfect evil overlord plan... or is it?



Problem with URL in CMake ExternalProject_Add


Debug vs Release in CMakeLooking for a 'cmake clean' command to clear up CMake outputhello to boost multi indexBoost 1.50 CMake 2.8 and Ogre 1.8 - win64 - dynamic linkingCMake doesn't find boostHow to compile Boost with MPICH2 on MinGWBuilding Boost dynamically linkable gives linking error?Whats the proper way to link Boost with CMake and Visual Studio in Windows?Cmake could not find boostCMake and Boost error on Centos 7- Could not find the following Boost libraries






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have a problem with executing ExternalProject_Add command in CMake. It says: At least one entry of URL is a path (invalid in a list).



I know that this error occurs when in the URL there is any semicolon, but I don't have any in my URL.



SET (Boost_Bootstrap_Command ./bootstrap.sh)
SET (Boost_b2_Command ./b2)
SET (Boost_URL https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz)
ExternalProject_Add(boost
URL $Boost_URL
URL_HASH_SHA256=9a2c2819310839ea373f42d69e733c339b4e9a19deab6bfec448281554aa4dbb
BUILD_IN_SOURCE 1
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND $Boost_Bootstrap_Command
BUILD_COMMAND $Boost_b2_Command install
--with-thread
--without-python
--without-mpi
--disable-icu
--prefix=$CMAKE_BINARY_DIR/INSTALL
--threading=single,multi
--link=shared
--variant=release
-j8
INSTALL_COMMAND ""
INSTALL_DIR $CMAKE_BINARY_DIR/INSTALL
)


Does anybody know what is the problem with my URL?










share|improve this question






















  • Please try placing this line: BUILD_IN_SOURCE 1 between your URL $Boost_URL line and your URL_HASH_SHA256 line and advise what happens.

    – Gardener
    Mar 23 at 10:04











  • @MatthieuBrucher that did the trick :) Thank you.

    – Sielan
    Mar 23 at 10:08

















0















I have a problem with executing ExternalProject_Add command in CMake. It says: At least one entry of URL is a path (invalid in a list).



I know that this error occurs when in the URL there is any semicolon, but I don't have any in my URL.



SET (Boost_Bootstrap_Command ./bootstrap.sh)
SET (Boost_b2_Command ./b2)
SET (Boost_URL https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz)
ExternalProject_Add(boost
URL $Boost_URL
URL_HASH_SHA256=9a2c2819310839ea373f42d69e733c339b4e9a19deab6bfec448281554aa4dbb
BUILD_IN_SOURCE 1
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND $Boost_Bootstrap_Command
BUILD_COMMAND $Boost_b2_Command install
--with-thread
--without-python
--without-mpi
--disable-icu
--prefix=$CMAKE_BINARY_DIR/INSTALL
--threading=single,multi
--link=shared
--variant=release
-j8
INSTALL_COMMAND ""
INSTALL_DIR $CMAKE_BINARY_DIR/INSTALL
)


Does anybody know what is the problem with my URL?










share|improve this question






















  • Please try placing this line: BUILD_IN_SOURCE 1 between your URL $Boost_URL line and your URL_HASH_SHA256 line and advise what happens.

    – Gardener
    Mar 23 at 10:04











  • @MatthieuBrucher that did the trick :) Thank you.

    – Sielan
    Mar 23 at 10:08













0












0








0








I have a problem with executing ExternalProject_Add command in CMake. It says: At least one entry of URL is a path (invalid in a list).



I know that this error occurs when in the URL there is any semicolon, but I don't have any in my URL.



SET (Boost_Bootstrap_Command ./bootstrap.sh)
SET (Boost_b2_Command ./b2)
SET (Boost_URL https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz)
ExternalProject_Add(boost
URL $Boost_URL
URL_HASH_SHA256=9a2c2819310839ea373f42d69e733c339b4e9a19deab6bfec448281554aa4dbb
BUILD_IN_SOURCE 1
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND $Boost_Bootstrap_Command
BUILD_COMMAND $Boost_b2_Command install
--with-thread
--without-python
--without-mpi
--disable-icu
--prefix=$CMAKE_BINARY_DIR/INSTALL
--threading=single,multi
--link=shared
--variant=release
-j8
INSTALL_COMMAND ""
INSTALL_DIR $CMAKE_BINARY_DIR/INSTALL
)


Does anybody know what is the problem with my URL?










share|improve this question














I have a problem with executing ExternalProject_Add command in CMake. It says: At least one entry of URL is a path (invalid in a list).



I know that this error occurs when in the URL there is any semicolon, but I don't have any in my URL.



SET (Boost_Bootstrap_Command ./bootstrap.sh)
SET (Boost_b2_Command ./b2)
SET (Boost_URL https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz)
ExternalProject_Add(boost
URL $Boost_URL
URL_HASH_SHA256=9a2c2819310839ea373f42d69e733c339b4e9a19deab6bfec448281554aa4dbb
BUILD_IN_SOURCE 1
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND $Boost_Bootstrap_Command
BUILD_COMMAND $Boost_b2_Command install
--with-thread
--without-python
--without-mpi
--disable-icu
--prefix=$CMAKE_BINARY_DIR/INSTALL
--threading=single,multi
--link=shared
--variant=release
-j8
INSTALL_COMMAND ""
INSTALL_DIR $CMAKE_BINARY_DIR/INSTALL
)


Does anybody know what is the problem with my URL?







c++ boost cmake






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 23 at 9:35









SielanSielan

81




81












  • Please try placing this line: BUILD_IN_SOURCE 1 between your URL $Boost_URL line and your URL_HASH_SHA256 line and advise what happens.

    – Gardener
    Mar 23 at 10:04











  • @MatthieuBrucher that did the trick :) Thank you.

    – Sielan
    Mar 23 at 10:08

















  • Please try placing this line: BUILD_IN_SOURCE 1 between your URL $Boost_URL line and your URL_HASH_SHA256 line and advise what happens.

    – Gardener
    Mar 23 at 10:04











  • @MatthieuBrucher that did the trick :) Thank you.

    – Sielan
    Mar 23 at 10:08
















Please try placing this line: BUILD_IN_SOURCE 1 between your URL $Boost_URL line and your URL_HASH_SHA256 line and advise what happens.

– Gardener
Mar 23 at 10:04





Please try placing this line: BUILD_IN_SOURCE 1 between your URL $Boost_URL line and your URL_HASH_SHA256 line and advise what happens.

– Gardener
Mar 23 at 10:04













@MatthieuBrucher that did the trick :) Thank you.

– Sielan
Mar 23 at 10:08





@MatthieuBrucher that did the trick :) Thank you.

– Sielan
Mar 23 at 10:08












1 Answer
1






active

oldest

votes


















0














AS the documentation says, you need a download location for CMake to build the external project. When you don't download the package, the location is already there, but if you ask it from URL or git or something else, you have to provide DOWNLOAD_DIR.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55312406%2fproblem-with-url-in-cmake-externalproject-add%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    AS the documentation says, you need a download location for CMake to build the external project. When you don't download the package, the location is already there, but if you ask it from URL or git or something else, you have to provide DOWNLOAD_DIR.






    share|improve this answer



























      0














      AS the documentation says, you need a download location for CMake to build the external project. When you don't download the package, the location is already there, but if you ask it from URL or git or something else, you have to provide DOWNLOAD_DIR.






      share|improve this answer

























        0












        0








        0







        AS the documentation says, you need a download location for CMake to build the external project. When you don't download the package, the location is already there, but if you ask it from URL or git or something else, you have to provide DOWNLOAD_DIR.






        share|improve this answer













        AS the documentation says, you need a download location for CMake to build the external project. When you don't download the package, the location is already there, but if you ask it from URL or git or something else, you have to provide DOWNLOAD_DIR.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 23 at 12:17









        Matthieu BrucherMatthieu Brucher

        17.8k52445




        17.8k52445





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55312406%2fproblem-with-url-in-cmake-externalproject-add%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해