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;
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
add a comment |
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
Please try placing this line:BUILD_IN_SOURCE 1between yourURL $Boost_URLline and yourURL_HASH_SHA256line and advise what happens.
– Gardener
Mar 23 at 10:04
@MatthieuBrucher that did the trick :) Thank you.
– Sielan
Mar 23 at 10:08
add a comment |
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
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
c++ boost cmake
asked Mar 23 at 9:35
SielanSielan
81
81
Please try placing this line:BUILD_IN_SOURCE 1between yourURL $Boost_URLline and yourURL_HASH_SHA256line and advise what happens.
– Gardener
Mar 23 at 10:04
@MatthieuBrucher that did the trick :) Thank you.
– Sielan
Mar 23 at 10:08
add a comment |
Please try placing this line:BUILD_IN_SOURCE 1between yourURL $Boost_URLline and yourURL_HASH_SHA256line 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
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Mar 23 at 12:17
Matthieu BrucherMatthieu Brucher
17.8k52445
17.8k52445
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Please try placing this line:
BUILD_IN_SOURCE 1between yourURL $Boost_URLline and yourURL_HASH_SHA256line and advise what happens.– Gardener
Mar 23 at 10:04
@MatthieuBrucher that did the trick :) Thank you.
– Sielan
Mar 23 at 10:08