Closed Ownasaurus closed 4 months ago
This is because it's trying to load a version of libtrellis that was built against an older version of boost.
Make sure nextpnr is pointed to the right trellis path, and libtrellis is cleanly built and reinstalled.
Thank you so much for your reply! I deleted my local git prjtrellis repo, re-cloned, and followed the instructions. nextpnr gave the same error on compiling though :(
So, I deleted my local git nextpnr repo, re-cloned, and followed the instructions. Now it is successfully building!
I wish I knew what I was doing wrong and why it was looking for an old version, but alas, all is well now. Is it possibly because some of the old cmake settings were saved? I'm not very experienced with cmake. If I pulled the latest version, but I had some files left over from 3+ years ago, could that have interfered? Is one expected to do a 'make clean' equivalent with cmake?
Thanks again!
Yeah, my guess is there was an older install of trellis installed at a different path (say /usr
instead of /use/local
) that CMake had cached the path to.
Thanks again!
Hello! Thank you for your time in advance. I last used nextpnr-ecp5 about 3 years ago and wanted to update the whole toolchain and resume development.
But I'm having issues with nextpnr! From the root, I'm running
cmake . -DARCH=ecp5 -DTRELLIS_INSTALL_PREFIX=/usr/local
It detects boost:But then when I try to make, I get the following error:
ImportError: libboost_thread.so.1.71.0: cannot open shared object file: No such file or directory
Why is it looking for 1.71 if version 1.74 was found earlier? I am sorry if I am simply being a newbie, and I am grateful for any assistance. Thanks again!
EDIT: Here is the whole traceback: