RozDavid / LOL

LOL: Lidar-only Odometry and Localization in 3D point cloud maps
353 stars 95 forks source link

eigen-download error #16

Closed HaisenbergPeng closed 2 years ago

HaisenbergPeng commented 2 years ago

Hi David, thanks for sharing your wonderful work! Unfortunately I was not able to compile it. When I try "catkin build tensorflow_ros_cpp --cmake-args -DFORCE_TF_PIP_SEARCH="ON" ", the error below always pops out:


         --- LOG END ---
         error: downloading 'https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
           Trying 104.192.141.1...

  TCP_NODELAY set

  Connected to bitbucket.org (104.192.141.1) port 443 (#0)

  ALPN, offering http/1.1

  successfully set certificate verify locations:

    CAfile: /etc/ssl/certs/ca-certificates.crt
    CApath: /etc/ssl/certs

  [5 bytes data]

  TLSv1.3 (OUT), TLS handshake, Client hello (1):

  [512 bytes data]

  [5 bytes data]

  TLSv1.3 (IN), TLS handshake, Server hello (2):

  [88 bytes data]

  [5 bytes data]

  TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):

  [1 bytes data]

  [5 bytes data]

  TLSv1.3 (OUT), TLS handshake, Client hello (1):

  [512 bytes data]

  [5 bytes data]

  [5 bytes data]

  TLSv1.3 (IN), TLS handshake, Server hello (2):

  [155 bytes data]

  [5 bytes data]

  TLSv1.3 (IN), TLS handshake, [no content] (0):

  [1 bytes data]

  TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):

  [21 bytes data]

  [5 bytes data]

  TLSv1.3 (IN), TLS handshake, [no content] (0):

  [1 bytes data]

  TLSv1.3 (IN), TLS handshake, Certificate (11):

  [2900 bytes data]

  [5 bytes data]

  TLSv1.3 (IN), TLS handshake, [no content] (0):

  [1 bytes data]

  TLSv1.3 (IN), TLS handshake, CERT verify (15):

  [78 bytes data]

  [5 bytes data]

  TLSv1.3 (IN), TLS handshake, [no content] (0):

  [1 bytes data]

  TLSv1.3 (IN), TLS handshake, Finished (20):

  [36 bytes data]

  [5 bytes data]

  TLSv1.3 (OUT), TLS handshake, [no content] (0):

  [1 bytes data]

  TLSv1.3 (OUT), TLS handshake, Finished (20):

  [36 bytes data]

  SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256

  ALPN, server accepted to use http/1.1

  Server certificate:

   subject: businessCategory=Private Organization; jurisdictionC=US; jurisdictionST=Delaware; serialNumber=3928449; C=US; ST=California; L=San Francisco; O=Atlassian, Inc.; OU=Bitbucket; CN=bitbucket.org
   start date: Mar 27 00:00:00 2020 GMT
   expire date: May 23 12:00:00 2022 GMT
   subjectAltName: host "bitbucket.org" matched cert's "bitbucket.org"
   issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 Extended Validation Server CA
   SSL certificate verify ok.

  [5 bytes data]

  TLSv1.3 (OUT), TLS app data, [no content] (0):

  [1 bytes data]

  GET /eigen/eigen/get/e5e305a158a0.tar.gz HTTP/1.1

  Host: bitbucket.org

  User-Agent: curl/7.62.0

  Accept: */*

  [5 bytes data]

  TLSv1.3 (IN), TLS handshake, [no content] (0):

  [1 bytes data]

  TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):

  [202 bytes data]

  [5 bytes data]

  TLSv1.3 (IN), TLS app data, [no content] (0):

  [1 bytes data]

  The requested URL returned error: 404 Not Found

  Closing connection 0

  [5 bytes data]

  TLSv1.3 (OUT), TLS alert, [no content] (0):

  [1 bytes data]

  TLSv1.3 (OUT), TLS alert, close notify (256):

  [2 bytes data]

         --- LOG END ---

make[5]: *** [eigen/src/eigen-stamp/eigen-download] Error 1
make[4]: *** [CMakeFiles/eigen.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [tensorflow_src-prefix/src/tensorflow_src-stamp/tensorflow_src-build] Error 2
make[1]: *** [CMakeFiles/tensorflow_src.dir/all] Error 2
make: *** [all] Error 2
cd /home/binpeng/Documents/LOL/build/tensorflow_catkin; catkin build --get-env tensorflow_catkin | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
HaisenbergPeng commented 2 years ago

Although it is still not clear to me why eigen is required for tensorflow-ros-cpp building, I circumvent this problem by commenting line 23 of the file

RozDavid commented 2 years ago

Hey @HaisenbergPeng,

Glad you solved the problem and thanks for the solution. Closing the issue now.