You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would guess you have conflicting versions of or_tools and abseil. Perhaps you already have abseil installed and cmake is finding the wrong version. Please check.
Subject
[Build] for compilation-related issues.
Describe the bug
[ 94%] Building CXX object src/CMakeFiles/openroad.dir/Design.cc.o
[ 94%] Building CXX object src/CMakeFiles/openroad.dir/Timing.cc.o
[ 94%] Building CXX object src/CMakeFiles/openroad.dir/Tech.cc.o
[ 94%] Building CXX object src/CMakeFiles/openroad.dir/OpenRoad.cc.o
[ 94%] Building CXX object src/CMakeFiles/openroad.dir/Main.cc.o
[ 94%] Linking CXX executable openroad
/usr/bin/ld: gpl/gpl.a(mbff.cpp.o): in function
gpl::MBFF::RunILP(std::vector<gpl::Flop, std::allocator<gpl::Flop> > const&, std::vector<gpl::Tray, std::allocator<gpl::Tray> > const&, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >&, float, float, std::vector<int, std::allocator<int> >)': mbff.cpp:(.text+0x1ac5c): undefined reference to
operations_research::sat::CpModelProto::CpModelProto(google::protobuf::Arena*)'/usr/bin/ld: mbff.cpp:(.text+0x1ac63): undefined reference to
absl::lts_20240116::container_internal::kEmptyGroup' /usr/bin/ld: mbff.cpp:(.text+0x1f379): undefined reference to
absl::lts_20240116::container_internal::kEmptyGroup'/usr/bin/ld: mbff.cpp:(.text+0x1f3c9): undefined reference to `operations_research::sat::SatParameters::SatParameters(google::protobuf::Arena*)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [src/CMakeFiles/openroad.dir/build.make:517: src/openroad] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:2262: src/CMakeFiles/openroad.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
this error comes out when i running the command "./build_openroad.sh --local --latest --clean --threads 1".
please let me know how to fix it. thanks.
Expected Behavior
build successfully
Environment
To Reproduce
git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
cd OpenROAD-flow-scripts
sudo ./setup.sh
./build_openroad.sh --local --latest --clean --threads 1
Relevant log output
No response
Screenshots
Additional Context
build_openroad.log
The text was updated successfully, but these errors were encountered: