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
After commit bdecdd0,
I got the error messages while trying to build openroad locally.
Before commit, I successfully built openroad but i got a problem with the latest version.
[ 91%] Building CXX object src/dst/CMakeFiles/dst.dir/src/Worker.cc.o
In file included from /home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.h:33,
from /home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:29:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/WorkerConnection.h:46:36: error: expected ‘)’ before ‘&’ token
46 | WorkerConnection(asio::io_service& io_service,
| ~ ^
| )
In file included from /home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:29:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.h:53:9: error: ‘io_service’ in namespace ‘asio’ does not name a type; did you mean ‘has_service’?
53 | asio::io_service service_;
| ^~~~~~~~~~
| has_service
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc: In member function ‘void dst::Worker::start_accept()’:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:43:46: error: ‘service_’ was not declared in this scope
43 | = boost::make_shared(service_, dist_, logger_, this);
| ^~~~~~~~
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc: In constructor ‘dst::Worker::Worker(dst::Distributed*, utl::Logger*, const char*, short unsigned int)’:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:54:17: error: ‘service_’ was not declared in this scope
54 | : acceptor_(service_, tcp::endpoint(ip::address::from_string(ip), port)),
| ^~~~~~~~
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:54:54: error: ‘from_string’ is not a member of ‘boost::asio::ip::address’
54 | : acceptor_(service_, tcp::endpoint(ip::address::from_string(ip), port)),
| ^~~~~~~~~~~
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc: In destructor ‘dst::Worker::~Worker()’:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:63:3: error: ‘service_’ was not declared in this scope
63 | service_.stop();
| ^~~~~~~~
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc: In member function ‘void dst::Worker::run()’:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:67:3: error: ‘service_’ was not declared in this scope
67 | service_.run();
| ^~~~~~~~
make[2]: *** [src/dst/CMakeFiles/dst.dir/build.make:128: src/dst/CMakeFiles/dst.dir/src/Worker.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6518: src/dst/CMakeFiles/dst.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Expected Behavior
Build openroad successfully
Environment
[WARNING] Your current OpenROAD version is outdated.
It is recommened to pull the latest changes.
If problem persists, file a github issue with the re-producible test case.
kernel: Linux 5.15.167.4-microsoft-standard-WSL2
os: Ubuntu 20.04.6 LTS (Focal Fossa)
cmake version 3.30.2
-- The CXX compiler identification is GNU 9.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- OpenROAD version: v2.0-17941-g7fb347f37
-- System name: Linux
-- Compiler: GNU 9.4.0
-- Build type: RELEASE
-- Install prefix: /usr/local
-- C++ Standard: 17
-- C++ Standard Required: ON
-- C++ Extensions: OFF
-- The C compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test C_COMPILER_SUPPORTS__-Wall
-- Performing Test C_COMPILER_SUPPORTS__-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wall
-- Performing Test CXX_COMPILER_SUPPORTS__-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-array-bounds
-- Performing Test C_COMPILER_SUPPORTS__-Wno-array-bounds - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-array-bounds
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-array-bounds - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-nonnull
-- Performing Test C_COMPILER_SUPPORTS__-Wno-nonnull - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-nonnull
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-nonnull - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS__-Wno-maybe-uninitialized - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-maybe-uninitialized - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format-overflow
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format-overflow - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format-overflow
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format-overflow - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-variable
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-variable - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-variable
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-variable - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-function
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-function - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-function
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-function - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-write-strings
-- Performing Test C_COMPILER_SUPPORTS__-Wno-write-strings - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-write-strings
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-write-strings - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-sign-compare
-- Performing Test C_COMPILER_SUPPORTS__-Wno-sign-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-sign-compare
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-sign-compare - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-deprecated
-- Performing Test C_COMPILER_SUPPORTS__-Wno-deprecated - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-deprecated
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-deprecated - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-c++11-narrowing
-- Performing Test C_COMPILER_SUPPORTS__-Wno-c++11-narrowing - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-c++11-narrowing
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-c++11-narrowing - Failed
-- Performing Test C_COMPILER_SUPPORTS__-Wno-register
-- Performing Test C_COMPILER_SUPPORTS__-Wno-register - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-register
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-register - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal
-- Performing TeCMake Warning (dev) at src/CMakeLists.txt:175 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167"for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at src/dpl/CMakeLists.txt:41 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167"for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at src/cts/CMakeLists.txt:36 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167"for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at src/drt/CMakeLists.txt:49 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167"for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
st C_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal - Failed
-- Performing Test C_COMPILER_SUPPORTS__-fpermissive
-- Performing Test C_COMPILER_SUPPORTS__-fpermissive - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-fpermissive
-- Performing Test CXX_COMPILER_SUPPORTS__-fpermissive - Success
-- Performing Test C_COMPILER_SUPPORTS__-x
-- Performing Test C_COMPILER_SUPPORTS__-x - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-x
-- Performing Test CXX_COMPILER_SUPPORTS__-x - Failed
-- Performing Test C_COMPILER_SUPPORTS__c++
-- Performing Test C_COMPILER_SUPPORTS__c++ - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__c++
-- Performing Test CXX_COMPILER_SUPPORTS__c++ - Failed
-- Performing Test C_COMPILER_SUPPORTS__-std=c++17
-- Performing Test C_COMPILER_SUPPORTS__-std=c++17 - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-std=c++17
-- Performing Test CXX_COMPILER_SUPPORTS__-std=c++17 - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-but-set-variable
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-but-set-variable - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-but-set-variable
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-but-set-variable - Success
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- TCL readline library: /usr/lib/x86_64-linux-gnu/libtclreadline.so
-- TCL readline header: /usr/include/x86_64-linux-gnu
-- Found SWIG: /usr/local/bin/swig (found suitable version "4.1.0", minimum required is "4.0")
-- Using SWIG >= 4.1.0 -flatstaticmethod flag for python
-- Found Boost: /usr/local/lib/cmake/Boost-1.87.0/BoostConfig.cmake (found version "1.87.0")
-- boost: 1.87.0
-- Found GTest: /usr/local/lib/cmake/GTest/GTestConfig.cmake (found version "1.13.0")
-- GTest: 1.13.0
-- Found Python3: /usr/include/python3.8 (found version "3.8.10") found components: Development Development.Module Development.Embed
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found Threads: TRUE
-- spdlog: 1.15.0
-- Found BISON: /usr/bin/bison (found version "3.5.1")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- STA version: 2.6.0
-- STA git sha: aa598a2f14c5c142e90391a69988523505e7db3d
-- System name: Linux
-- Compiler: GNU 9.4.0
-- Build type: RELEASE
-- Build CXX_FLAGS: -O3 -DNDEBUG
-- Install prefix: /usr/local
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- TCL readline library: /usr/lib/x86_64-linux-gnu/libtclreadline.so
-- TCL readline header: /usr/include/x86_64-linux-gnu/tclreadline.h
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- CUDD library: /usr/local/lib/libcudd.a
-- CUDD header: /usr/local/include/cudd.h
-- SSTA: 0
-- Found SWIG: /usr/local/bin/swig (found suitable version "4.1.0", minimum required is "3.0")
-- STA executable: /home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/sta/app/sta
-- Found re2: /opt/or-tools/lib/cmake/re2/re2Config.cmake (found version "11.0.0")
-- Found Clp: /opt/or-tools/lib/cmake/Clp/ClpConfig.cmake (found version "1.17.7")
-- Found Cbc: /opt/or-tools/lib/cmake/Cbc/CbcConfig.cmake (found version "2.10.7")
-- Found SCIP: /opt/or-tools/lib/cmake/scip/scip-config.cmake (found version "9.0.0")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found OR-Tools: /opt/or-tools/lib/cmake/ortools (version: 9.11.4210)
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- GUI is enabled
-- Found Boost: /usr/local/lib/cmake/Boost-1.87.0/BoostConfig.cmake (found version "1.87.0") found components: serialization
-- Could NOT find VTune (missing: VTune_LIBRCMake Warning (dev) at src/utl/CMakeLists.txt:38 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167"for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at src/dst/CMakeLists.txt:42 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167"for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at src/dft/test/CMakeLists.txt:20 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167"for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
ARIES VTune_INCLUDE_DIRS)
-- Found Boost: /usr/local/lib/cmake/Boost-1.87.0/BoostConfig.cmake (found suitable version "1.87.0", minimum required is "1.78")
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- Found Boost: /usr/local/lib/cmake/Boost-1.87.0/BoostConfig.cmake (found version "1.87.0") found components: serialization system thread
-- Found Boost: /usr/local/lib/cmake/Boost-1.87.0/BoostConfig.cmake (found version "1.87.0")
-- Found Eigen3: /usr/local/share/eigen3/cmake/Eigen3Config.cmake (found version "3.4.1")
-- TCL readline enabled
-- Tcl Extended disabled
-- Python3 enabled
-- Configuring done (2.5s)
-- Generating done (0.7s)
-- Build files have been written to: /tmp/tmp.2eaBv1DD85
To Reproduce
sudo ./build_openroad.sh --local --threads 1
Relevant log output
No response
Screenshots
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Subject
[Build] for compilation-related issues.
Describe the bug
After commit bdecdd0,
I got the error messages while trying to build openroad locally.
Before commit, I successfully built openroad but i got a problem with the latest version.
[ 91%] Building CXX object src/dst/CMakeFiles/dst.dir/src/Worker.cc.o
In file included from /home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.h:33,
from /home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:29:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/WorkerConnection.h:46:36: error: expected ‘)’ before ‘&’ token
46 | WorkerConnection(asio::io_service& io_service,
| ~ ^
| )
In file included from /home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:29:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.h:53:9: error: ‘io_service’ in namespace ‘asio’ does not name a type; did you mean ‘has_service’?
53 | asio::io_service service_;
| ^~~~~~~~~~
| has_service
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc: In member function ‘void dst::Worker::start_accept()’:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:43:46: error: ‘service_’ was not declared in this scope
43 | = boost::make_shared(service_, dist_, logger_, this);
| ^~~~~~~~
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc: In constructor ‘dst::Worker::Worker(dst::Distributed*, utl::Logger*, const char*, short unsigned int)’:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:54:17: error: ‘service_’ was not declared in this scope
54 | : acceptor_(service_, tcp::endpoint(ip::address::from_string(ip), port)),
| ^~~~~~~~
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:54:54: error: ‘from_string’ is not a member of ‘boost::asio::ip::address’
54 | : acceptor_(service_, tcp::endpoint(ip::address::from_string(ip), port)),
| ^~~~~~~~~~~
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc: In destructor ‘dst::Worker::~Worker()’:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:63:3: error: ‘service_’ was not declared in this scope
63 | service_.stop();
| ^~~~~~~~
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc: In member function ‘void dst::Worker::run()’:
/home/jhyun1shim/GIT/OpenROAD-flow-scripts/tools/OpenROAD/src/dst/src/Worker.cc:67:3: error: ‘service_’ was not declared in this scope
67 | service_.run();
| ^~~~~~~~
make[2]: *** [src/dst/CMakeFiles/dst.dir/build.make:128: src/dst/CMakeFiles/dst.dir/src/Worker.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6518: src/dst/CMakeFiles/dst.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Expected Behavior
Build openroad successfully
Environment
To Reproduce
sudo ./build_openroad.sh --local --threads 1
Relevant log output
No response
Screenshots
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: