ethz-asl / tensorflow_catkin

Catkin wrapper for a Bazel-free build of Tensorflow
19 stars 10 forks source link

error: downloading #5

Open jngechong opened 3 years ago

jngechong commented 3 years ago

hello! when I run 'catkin build tensorflow_ros_cpp' and when the program runs to 'Starting >>> tensorflow_catkin" ,there is an error:'

CMake Error at eigen-stamp/download-eigen.cmake:21 (message):
error: downloading
'https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz' failed

status_code: 7
status_string: "Couldn't connect to server"
log:   Trying 104.192.141.1...
Trying 2406:da00:ff00::22e9:9f55...

I open the link and it only shows "Repository eigen/eigen not found". It seems that the website is unavailable. Could you please tell me how to solve this problem? Thanks a lot and looking forward to your apply!

sarlinpe commented 3 years ago

Eigen has moves from Bitbucket to GitLab: http://eigen.tuxfamily.org/index.php?title=News:Migration_to_GitLab.com_scheduled_on_the_December_4th I don't think that the old commit hashes have been migrated and don't know how to translate them.

Alex-Beh commented 3 years ago

Hello, have you managed to compile this package?

jngechong commented 3 years ago

Hello, have you managed to compile this package?

I didn't solve this problem, but I chosed to compile tensorflow through source code. So I didn't need to download it anymore

seifEddy commented 2 years ago

@Alex-Beh I know that it was a long time since you asked the question, but maybe this will help. Try navigating to ~/catkin_ws/build/tensorflow_catkin/tensorflow_build/eigen/src/eigen_stamp/download-eigen.cmake file and then change this : foreach(url https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz) message(STATUS "Using src='${url}'") to this : foreach(url https://gitlab.com/libeigen/eigen/-/archive/master/eigen-master.tar.gz) message(STATUS "Using src='${url}'")

Tian0906 commented 1 year ago

@Alex-Beh I know that it was a long time since you asked the question, but maybe this will help. Try navigating to ~/catkin_ws/build/tensorflow_catkin/tensorflow_build/eigen/src/eigen_stamp/download-eigen.cmake file and then change this : foreach(url https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz) message(STATUS "Using src='${url}'") to this : foreach(url https://gitlab.com/libeigen/eigen/-/archive/master/eigen-master.tar.gz) message(STATUS "Using src='${url}'")

Thank you very much for your reply! this problem has been bothering me for a long time and finally solved it by seeing your answer !

Tian0906 commented 1 year ago

@Alex-Beh I know that it was a long time since you asked the question, but maybe this will help. Try navigating to ~/catkin_ws/build/tensorflow_catkin/tensorflow_build/eigen/src/eigen_stamp/download-eigen.cmake file and then change this : foreach(url https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz) message(STATUS "Using src='${url}'") to this : foreach(url https://gitlab.com/libeigen/eigen/-/archive/master/eigen-master.tar.gz) message(STATUS "Using src='${url}'")

Although I successfully downloaded eigen, I got a lot of errors...For example:

error: 'scalar_sigmoid_op' is not a member of 'Eigen::internal'. {"Sigmoid", EIGEN_COST(scalar_sigmoid_op)}, error: 'scalar_sigmoid_op' is not a member of 'Eigen::internal'. {"Sigmoid",EIGEN_COST(scalar_sigmoid_op)}. Error: template parameter 1 is invalid {"Sigmoid",EIGEN_COST(scalar_sigmoid_op)}, error: '::Cost' has not been declared

define EIGEN_COST(X) Eigen::internal::functor_traits::Cost

Error: type/value mismatch at parameter 1 in template parameter list for 'template struct Eigen::internal::functor_traits'.

define EIGEN_COST(X) Eigen::internal::functor_traits::Cost

Error: type/value mismatch at parameter 1 in template parameter list for 'template struct Eigen::internal::functor_traits'.

define EIGEN_COST(X) Eigen::internal::functor_traits::Cost

error: no match for 'operator=' (operator types are 'std::map<std::__cxx11::basic_string, int>' and '') {"TruncateMod",EIGEN_COST(scalar_mod_op)}};

I guess it's because the version of eigen is not correct,please do you know https://bitbucket.org/eigen/eigen/get/e5e305a158a0.tar.gz Is the version of eigen that I was going to download?