-
Notifications
You must be signed in to change notification settings - Fork 40
CMake Error at CMakeLists.txt:28 (svc_target): Unknown CMake command "svc_target". #60
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
Comments
Looks like SVC package is not available. Please check 1) you are using bash terminal, 2) run setenv.sh in installation folder in this terminal, 3) version of cmake >= 3.13 and g++ >= 9.0.0. |
Hello mikhailmoiseev, Thanks for your reply. The problem is solved. In fact, i copy "icsc/cmake/CMakelists.top" to the installation folder and change the name to "CMakelists.txt", and then run cmake ../ and ctest -j8, all goes well! But now, the new problem is that only 40% test cases pass. For example, the test for all cases in "example", the following tests failed: And for example, the test of "counter_BUILD" passed, by nothing was generated in the folder "/examples/counter/sv_out". I really want to know why... |
If i run only ctest -R counter, the log file is as below where youcould find the error: |
That is done by The current problem from your log is:
Probably it needs to add path to STD library headers to $PATH. In my Ubuntu 22.04 it is |
Thanks for your advise, now it works for all examples! 100% tests passed, 0 tests failed out of 50
Just a feedback: I use WSL Ubuntu 22.04, install.sh doesn't work for me due to serveral problems (so i installed ICSC manually). I give some examples here:
|
Thank you for feedback. Will update the install.sh for WSL compatibility. |
Hello,
I have installed icsc, but failed to test the example "counter" with the error below:
CMake Error at CMakeLists.txt:28 (svc_target):
Unknown CMake command "svc_target".
Does anyone have some suggestions? Thanks.
The text was updated successfully, but these errors were encountered: