OpenROAD
OpenROAD copied to clipboard
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
I found this CMake error after I built (without #1922 (although I don't think they are relevant...))
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
TCL_LIBRARY
linked by target "openroad" in directory /home/Github/OpenROAD/OpenROAD/src
linked by target "odb" in directory /home/Github/OpenROAD/OpenROAD/src/odb/src/db
linked by target "TestCallBacks" in directory /home/Github/OpenROAD/OpenROAD/src/odb/test/cpp
linked by target "TestGeom" in directory /home/Github/OpenROAD/OpenROAD/src/odb/test/cpp
linked by target "TestModule" in directory /home/Github/OpenROAD/OpenROAD/src/odb/test/cpp
linked by target "TestLef58Properties" in directory /home/Github/OpenROAD/OpenROAD/src/odb/test/cpp
linked by target "TestGuide" in directory /home/Github/OpenROAD/OpenROAD/src/odb/test/cpp
linked by target "TestJournal" in directory /home/Github/OpenROAD/OpenROAD/src/odb/test/cpp
linked by target "TestGroup" in directory /home/Github/OpenROAD/OpenROAD/src/odb/test/cpp
linked by target "TestGCellGrid" in directory /home/Github/OpenROAD/OpenROAD/src/odb/test/cpp
linked by target "TestAccessPoint" in directory /home/Github/OpenROAD/OpenROAD/src/odb/test/cpp
linked by target "odbpy" in directory /home/Github/OpenROAD/OpenROAD/src/odb/src/swig/python
linked by target "odbtcl" in directory /home/Github/OpenROAD/OpenROAD/src/odb/src/swig/tcl
linked by target "sta" in directory /home/Github/OpenROAD/OpenROAD/src/sta
linked by target "TestDistributed" in directory /home/Github/OpenROAD/OpenROAD/src/dst/test/cpp
linked by target "TestBalancer" in directory /home/Github/OpenROAD/OpenROAD/src/dst/test/cpp
linked by target "TestWorker" in directory /home/Github/OpenROAD/OpenROAD/src/dst/test/cpp
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
@wjrforcyber I don't understand your issue? Please provide following:
- What command you're tried and facing this issue or instruction followed?
- OpenROAD version currently using?
- OS related
@wjrforcyber I don't understand your issue? Please provide following:
- What command you're tried and facing this issue or instruction followed?
- OpenROAD version currently using?
- OS related
Sorry, I haven't written issue for a long time, here is the information:
- I was following the readme and cloned master, in Build by hand section I tried
cmake
, and the error showed up. - May I ask how could I get the version of OpenROAD?
- MacOs
Is https://github.com/The-OpenROAD-Project/OpenROAD#install-dependencies installed?
you've tried cmake ..
right?
https://github.com/The-OpenROAD-Project/OpenROAD#install-dependencies
- Yes, dependencies are installed except the qt issue #1922 as I mentioned above.
- Yes, tried
cmake ..
.
Its a fresh installation or updating existing repo?
Its a fresh installation or updating existing repo?
Cloned last Friday.
Try the following:
git checkout master
git pull
git submodule init
git submodule update
git submodule sync
git clean -xdi
mkdir build
cd build
cmake ..
make
@wjrforcyber I don't understand your issue? Please provide following:
- What command you're tried and facing this issue or instruction followed?
- OpenROAD version currently using?
- OS related
Sorry, I haven't written issue for a long time, here is the information:
- I was following the readme and cloned master, in Build by hand section I tried
cmake
, and the error showed up.- May I ask how could I get the version of OpenROAD?
- MacOs
Sorry, about 3, I used it on ubuntu in docker. @vijayank88
Try the following:
git checkout master git pull git submodule init git submodule update git submodule sync git clean -xdi mkdir build cd build cmake .. make
Tried, still the same error. I found that there a similar one in the issue history, don't know how they dealt with it.
May i know the reason for OpenROAD developement branch installation? If that ok, you can install https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts as stable flow.
https://github.com/The-OpenROAD-Project/OpenROAD#install-dependencies
1. Yes, dependencies are installed except the qt issue [qt5-default package from DependencyInstaller.sh is deprecated #1922](https://github.com/The-OpenROAD-Project/OpenROAD/issues/1922) as I mentioned above. 2. Yes, tried `cmake ..`.
have you ran both?
./etc/DependencyInstaller.sh -run
./etc/DependencyInstaller.sh -dev
https://github.com/The-OpenROAD-Project/OpenROAD#install-dependencies
1. Yes, dependencies are installed except the qt issue [qt5-default package from DependencyInstaller.sh is deprecated #1922](https://github.com/The-OpenROAD-Project/OpenROAD/issues/1922) as I mentioned above. 2. Yes, tried `cmake ..`.
have you ran both?
./etc/DependencyInstaller.sh -run ./etc/DependencyInstaller.sh -dev
Yes, the first one and the second one both showed the qt error, others are fine, I can even apt search tcllib
and apt search tcl-dev
and find them.
Just for study, I may try OpenROAD-flow-scripts later.
@wjrforcyber if you are using docker you can use openroad/ubuntu20-dev
image which is validated to have all the dependencies to build/run the app.
If you are on macOS, which version of Cmake do you have? Also, setting the Tcl path can be tricky, did you install Tcl with brew? You can take a look at how we do for our CI here
@wjrforcyber Are you able to resolve it now?
Closing as stale. Please re-open or file a new issue in case this is still relevant.