-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when I do "make install_timeloop" #265
Comments
Would you be able to check the makefile commands and run those apt-get install commands from before the failed scons command? Do they execute successfully? |
Yep, those apt-get commands run successfully. I think the Makefile is looking for a specific path and I need to maybe modify the Makefile to point to a specific path. I will see how to set those paths, somehow it is not able to find lboost. |
Hi I met the same issue. g++ -o build/timeloop-compound-config-test -std=c++17 -pthread -static-libgcc -static-libstdc++ -Wl,--whole-archive -static -lpthread -Wl,--no-whole-archive build/unit-tests/compound-config/test-compound-config.o -Lbuild -Lsrc -ltimeloop-mapper -lconfig++ -lyaml-cpp -lncurses -ltinfo -lbarvinok -lisl -lntl -lpthread -lpolylibgmp -lgmp -ltinfo -lgpm -lboost_iostreams -lboost_serialization -lboost_log_setup -lboost_filesystem -lboost_log -lboost_thread #And with below command to fix the above issues. Paste here for a reference. |
I recommend checking that this command was executed correctly git clone --recurse-submodules https://github.com/Accelergy-Project/accelergy-timeloop-infrastructure.git I had the same problem as you and realized that some of the repositories were incomplete, so I re-downloaded them and finished the installation. |
@tanner-andrulis have you ever encountered this? Can we incorporate some error checking in the install script? |
I think I have encountered this. Would you be able to check the Docker file in the same directory and copy the lines that install the boost libraries? Those should work. Long term, I think this issue is due to divergence between the Makefile and Dockerfile over time. We should change the Dockerfile to use the Makefile, such that there's only one copy of the install code. |
I fix this issue by running the following command. Hope it helps. |
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!
The text was updated successfully, but these errors were encountered: