Giter Site home page Giter Site logo

高老師您好 我發現 github slambook2(也就是這個網址)上面下載的代碼的 3dparty裏面是空的 我自己下載的 lie group lib ———sophus I can camke and make ,but dont know how to write the CMakeList.txt about slambook2 HOT 8 CLOSED

gaoxiang12 avatar gaoxiang12 commented on July 21, 2024
高老師您好 我發現 github slambook2(也就是這個網址)上面下載的代碼的 3dparty裏面是空的 我自己下載的 lie group lib ———sophus I can camke and make ,but dont know how to write the CMakeList.txt

from slambook2.

Comments (8)

bene-yan avatar bene-yan commented on July 21, 2024

我下载后的3dparty也是空的,好像是里面那个google的库下载失败导致的。我把其它的库一个一个点进去下载的。

from slambook2.

gaoxiang12 avatar gaoxiang12 commented on July 21, 2024

这可能是由于git clone时没有同步子模块造成的。
请试试在代码根目录下,使用git submodule init,然后git submodule update,就会更新三方库。

from slambook2.

resplendent-star avatar resplendent-star commented on July 21, 2024

这可能是由于git clone时没有同步子模块造成的。
请试试在代码根目录下,使用git submodule init,然后git submodule update,就会更新三方库。

請問高老師 ,代碼根目錄是哪個呢 是包括所有的“ch3 ch4 ..."的那個大的根目錄嗎
還是說在 3rdparty/g2o下面就是代碼根目錄

我使用git submodule init 得到的結果就是

lzw@lzw:/learn_slam/bookcode2/3rdparty/g2o$ git submodule init
fatal: Not a git repository (or any of the parent directories): .git
lzw@lzw:
/learn_slam/bookcode2/3rdparty/g2o$

或者

lzw@lzw:/learn_slam/bookcode2$ git submodule init
fatal: Not a git repository (or any of the parent directories): .git
lzw@lzw:
/learn_slam/bookcode2$
都不太行,報錯

from slambook2.

resplendent-star avatar resplendent-star commented on July 21, 2024

我使用git submodule init 得到的結果就是
lzw@lzw:/learn_slam/bookcode2/3rdparty/g2o$ git submodule init
fatal: Not a git repository (or any of the parent directories): .git
lzw@lzw:/learn_slam/bookcode2/3rdparty/g2o$

或者
lzw@lzw:/learn_slam/bookcode2$ git submodule init
fatal: Not a git repository (or any of the parent directories): .git
lzw@lzw:/learn_slam/bookcode2$
都不太行,報錯

from slambook2.

gaoxiang12 avatar gaoxiang12 commented on July 21, 2024

Hello, 你应该在slambook2下进行这个操作。

from slambook2.

resplendent-star avatar resplendent-star commented on July 21, 2024

Hello, 你应该在slambook2下进行这个操作。

你好 高老師 我確實是在 slambook2下進行的這個操作 ,git submodule init 但是不行呀
lzw@lzw:/下载/slambook2-master$ git submodule init
fatal: Not a git repository (or any of the parent directories): .git
lzw@lzw:
/下载/slambook2-master$

2019-11-19 10-37-50屏幕截图

from slambook2.

gaoxiang12 avatar gaoxiang12 commented on July 21, 2024

ok,你应该使用git clone来下载代码。你现在是通过点github的下载按钮的,那只会下载代码文件本身,无法使用git的功能。而我们书里的三方库是通过git submodule功能管理的,所以你应该通过git clone来获取代码。

from slambook2.

resplendent-star avatar resplendent-star commented on July 21, 2024

ok,你应该使用git clone来下载代码。你现在是通过点github的下载按钮的,那只会下载代码文件本身,无法使用git的功能。而我们书里的三方库是通过git submodule功能管理的,所以你应该通过git clone来获取代码。

好的谢谢高老师

from slambook2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.