clion not running Follow
whenever I try to run c program(as simple as printing hello world) it doesnt run and says
Error running 'Build All': Cannot run program "C:\Users\dav\CLionProjects\ex0\CMakeLists.txt" (in directory "C:\Users\dav\CLionProjects\ex0"): CreateProcess error=193, %1 is not a valid Win32 application
what should I do
Please sign in to leave a comment.
Hi! Have you configured CLion on Windows according to this article: https://www.jetbrains.com/help/clion/quick-tutorial-on-configuring-clion-on-windows.html?
the link itself isnt working (the one you sent)
That is strange, on my side it works in every browser. In CLion please try Help | Help. Does it work?
Have you installed MinGW or Cygwin? Please attach the screenshot of File | Settings | Build, Execution, Deployment | Toolchains.
Hi there,i have the same issue....is not a valid Win32 application. What should i do now? i installed the MinGW set it as defualt but still not working.
@V Peter18, please close your project (
File | Close project
), on the "Welcome screen" chooseNew project
, then chooseC++ Executable
, clickCreate
. Try building and running this project (don't change anything in the project). Does this project work?Hi!
Same error code here, I've created the new project and it worked, changed to my project and it don't.
CMake build works, running it don't.
But in my case he points the problem to a static library autogenerated by CMake saying
738712 it's not possible to run libraries.