accelergy-timeloop-infrastructure icon indicating copy to clipboard operation
accelergy-timeloop-infrastructure copied to clipboard

error when I do "make install_timeloop"

Open negishubham opened this issue 1 year ago • 2 comments

Hi,

I am following the native install steps from this link: https://timeloop.csail.mit.edu/v4/installation#to-do-need-an-install-script-for-pytimeloop . But when I do "make install_timeloop" I am getting below error:

/usr/bin/ld: cannot find -lboost_log_setup: No such file or directory /usr/bin/ld: cannot find -lboost_filesystem: No such file or directory /usr/bin/ld: cannot find -lboost_log: No such file or directory /usr/bin/ld: cannot find -lboost_thread: No such file or directory collect2: error: ld returned 1 exit status scons: *** [build/timeloop-compound-config-test] Error 1 scons: building terminated because of errors. make: *** [Makefile:121: install_timeloop] Error 2

Thanks!

negishubham avatar May 17 '24 21:05 negishubham

I am not an expert here, but I was able to build Timeloop from source. You need to have certain libraries preinstalled before installing Timeloop. Below is the list from my notes. Hope this helps.

apt-get update apt-get install -y vim apt-get install python3-pip apt-get install -y libconfig++-dev apt-get install -y libboost-dev apt-get install -y libboost-iostreams-dev apt-get install -y libboost-serialization-dev apt-get install -y libyaml-cpp-dev apt-get install -y libncurses-dev apt-get install -y libtinfo-dev apt-get install -y libgpm-dev pip3 install scons --break-system-packages

sgodey avatar May 23 '24 04:05 sgodey

Thanks for the reply. I do have all these packages. Looks like there is some issue with setting some path to lboost.

negishubham avatar May 23 '24 22:05 negishubham