User forums > Help
Weird "CreateProcess: No such file or directory" error
oBFusCATed:
ToApolytoXaos: A path inside "c:\Documents and settings\blabla" or the modern "c:\user\blabla"
ToApolytoXaos:
@oBFusCATed: It seems you are not paying attention of what i'm saying. I have mentioned permissions apart from spaces within path (actually, i did not mention anything about spaces). Indeed it's a common issue, at least on Windows 7; it has though happened to me once with Windows XP, but i'm afraid I don't remember what exactly I did and caused such issue. Anyway, let's hope this guy solves his problems.
PooyaM:
I use Windows 7/64bit.
Actually, I've used C::B vesion 10 since 2 days ago. I compiled and successfully runned about 20 codes in C in the past(even with a use of GMP library). When I got some strange error, I removed the previous file and added the new file to the project(I think the error was a result of using two "main()"s)
But yesterday, this STRANGE error popped up. I uninstalled C::B 10 and downloaded and installed the 12.11 version with minGW(32bit if matters). The error still existed...
Note:After installing the 12.11 version, A window popped up asking about my default compiler and it marked some other compilers(like Visual C++ and FORTRAN) with the color red(And I have MS Visual studio 2008 installed if it matters). What is this red mark story? ???
--- Quote from: ToApolytoXaos on June 29, 2013, 09:53:45 pm ---Avoid creating projects inside Program Files for many reasons. Move it to C:\ and try again. If it fails, try to reinstall your C::B and
...
--- End quote ---
Moved to C:/ ... Error still exists:
-------------- Build: Debug in C (compiler: GNU GCC Compiler)---------------
mingw32-gcc.exe -Wall -g -c C:\CodesindriveC\C\main.c -o obj\Debug\main.o
mingw32-gcc.exe: error: CreateProcess: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings (0 minutes, 0 seconds)
--- Quote from: thomas on June 29, 2013, 11:12:11 pm ---Apart from the known issue (which is not related to Code::Blocks but to MinGW) with pathnames that contain spaces such as "Program Files",
...
--- End quote ---
Both gcc.exe and mingw32-gcc.exe and couples like gcc-ar.exe and ar.exe exist in MinGW folder in CodeBlocks directory
thomas:
If you have ruled out all the "well-known" issues, you can use ProcessMonitor to see what is actually going wrong.
In addition to "no such file", this will also tell you exactly what file (and path) it was looking for. That may help narrow down the problem.
PooyaM:
--- Quote from: thomas on June 30, 2013, 01:33:54 pm ---If you have ruled out all the "well-known" issues, you can use ProcessMonitor to see what is actually going wrong.
In addition to "no such file", this will also tell you exactly what file (and path) it was looking for. That may help narrow down the problem.
--- End quote ---
How can I use this program?
When I compile, Process Monitor won't update
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version