-
Notifications
You must be signed in to change notification settings - Fork 41
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
Cannot run kcc script due to a current profile missing #656
Comments
I would try building the semantics in docker: ./scripts/docker-build |
Looks like the build failed because it rejected your installation of llvm for having the wrong version. I have no idea why though... It is the right version. LLVM shouldn't care about the patch version when comparing compatibility, but maybe llvm 6 is so old that it does? You could try installing llvm 6.0.0 from source and see what happens. I don't really know what else to suggest if @h0nzZik 's suggestion doesn't work. |
Hi @h0nzZik , when I try to run the docker command:
|
The Dockerfile assumes the user is not root; try running it without sudo. (The current user will need permission to run Docker containers). |
I tried to install the c-semantic in my ubuntu Ubuntu 20.04.2 LTS. I followed the INSTALL.md instructions. I got a
dist
folder with the different compiled semantics in theprofiles
folder,clang-tools
andscripts
.But when I tried to run the command:
./dist/scripts/kcc tests/unitTests/helloworld.c
, I got the error:Couldn't find current profile: please fix /home/alessio/Project/c-semantics/dist/scripts/current-profile.
I put the logs of my build in this gist.
Thank you
The text was updated successfully, but these errors were encountered: