I have installed gtsam 4 library from : https://bitbucket.org/gtborg/gtsam.git and since I am facing troubles with compilation I want to uninstall it and link to a local version. The problem is that make uninstall
does not exist. Is there a way to remove it or at least make the local version be used instead of it. In CmakeLists.txt I have include_directories
and link_directories
pointing to the local version but still the gtsam which is installed is the one that is used.
I tried make -n install
but the make prints about 700 lines which is difficult to follow and reverse what happened.
I found install_manifest.txt
file in build directory. As I read here it contains all the files to be installed. However. I noticed that most of the files are .h
and some are .cmake
I do not know if just deleting those files will fix the problem or is going to mess it up.
This answer which is not the top one did the trick, it suggested to remove the files specified in the install_manifest.txt file using the following command :
cat install_manifest.txt | xargs echo sudo rm | sh
However, it has to be noted that in the comments, it is said it can be dangerous if the install_manifest had important files, so it is essential to have a look what is written there.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.