C: Parameter is incorrect
Hi.
I want to execute C code, and have successfully installed Cling in WSL. I am having issues with the path / actually executing the code.
I get this error:

This is the actual location of Cling:
"\wsl.localhost\Ubuntu\root\cling_2020-11-05_ROOT-ubuntu2004\bin\cling"

I am unable to figure out what path to use in Obsidian for Cling. I have tried the WSL path and the ROOT path since i have enabled WSL.
How should this be configured?

Hi! I'm sorry for the late reply.
Could you try the following?
WSL Mode: on
Cling path: cling
Seperately, if you open a terminal in WSL, are you able to type in cling -v and see Cling's version information?
Hey @chlohal ! Thanks for the answer.
It seems that my installation is not properly configured. I am having a difficult time finding info on how to properly install Cling? Its very cryptic to me. It is not available globally, but i can execute it from the path shown in my first post.

This is what i was trying to figure out, to use this location as path, but no luck.
EDIT: I had added it as an alias following this guide: https://kaustubh13.medium.com/how-to-install-cling-on-linux-or-wsl-8125798ed9b9
Now i am able to call cling anywhere by typing "cling", but i still get the parameter is incorrect.
Interesting, thanks! Could you try using echo for the Cling path?
This will just echo back the configuration parameters. That'll help to know whether it's a WSL issue or a Cling issue.
If you still see "The parameter is incorrect", it will be a WSL problem.
I have same question like you. Did you solve that?
No i unfortunately never fixed the issue.