Hi Loïc,
When you want to re-run cmake you need to do it in the corresponding
folder. For instance from what you said you tried to run |cmake
/home/loic/OTB/otb| in the folder where you build the SuperBuild
project. So cmake is telling you that you cannot run two different
project in the same place. If you want to re-run the otb cmake
(different from the superbuild one) you need to go under the following
folder |/home/loic/OTB/superbuild_build/OTB/build/| (with
superbuild_build the folder where you build the superbuild project).
You can add the lsgrm.remote.cmake before building the superbuild if you
want to avoid re-running OTB build.
I hope it helps,
Antoine
PS: this is a copy past from the forum
https://forum.orfeo-toolbox.org/t/remote-module-installation-cmake-error/277/2
On 03/06/2019 19:29, loïc DUTRIEUX wrote:
Hi everyone,
I tried to follow the remote modules installation instructions to
install lsgrm.
Superbuild went fine, I then added the lsgrm.remote.cmake to
otb/Modules/Remote and re-ran cmake but got the following error.
cmake /home/loic/OTB/otb/
CMake Error: The source "/home/loic/OTB/otb/CMakeLists.txt" does not
match the source "/home/loic/OTB/otb/SuperBuild/CMakeLists.txt" used
to generate cache. Re-run cmake with a different source directory.
Thanks for any help,
Loïc
--
This mailing will be abandoned soon in favor of a more friendly forum:
https://forum.orfeo-toolbox.org
Thanks to visit it for any question related to Orfeo Toolbox (OTB)
usage, or to check the OTB FAQ:
http://www.orfeo-toolbox.org/FAQ.html
---
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/otb-users/724c77d7-0678-4e70-9e4a-a478d29d281b%40googlegroups.com
<https://groups.google.com/d/msgid/otb-users/724c77d7-0678-4e70-9e4a-a478d29d281b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
This mailing will be abandoned soon in favor of a more friendly forum:
https://forum.orfeo-toolbox.org
Thanks to visit it for any question related to Orfeo Toolbox (OTB) usage, or to
check the OTB FAQ:
http://www.orfeo-toolbox.org/FAQ.html
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/otb-users/bf05ee79-c662-640c-db01-766b68b33e67%40c-s.fr.
For more options, visit https://groups.google.com/d/optout.