Code::Blocks Forums
User forums => Help => Topic started by: Lalpekhlua on November 11, 2015, 07:30:13 am
-
I haven't encountered a problem No such file or directory until recently my codeblock 13.12 showed me it.I've searched on many forums etc but could not found any solutions.Here what it looks like http://imgur.com/OuYQAkf (http://imgur.com/OuYQAkf).Pls help me and thanks in advanced
-
Not really helpful.
A text-copy of a fullk rebuild from "Build log" is better in almostz all cases.
But my guess:
put the file(s)/project(s) in a folder without any special characters and spaces in the path and try again.
-
Dosent fix it.
-
Not really helpful.
A text-copy of a full rebuild from "Build log" is better in almost all cases.
-
This is the build log:
Build: Debug in kk (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -o bin\Debug\kk.exe obj\Debug\main.o [highlight color=”yellow”]-lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32[/highlight] "C:\Program Files (x86)\CodeBlocks\MinGW\lib\libbgi.a"
mingw32-g++.exe: error: [highlight: No such file or directory
mingw32-g++.exe: error: color=”yellow”]-lbgi: No such file or directory
mingw32-g++.exe: error: C:\Program Files (x86)\CodeBlocks\MinGW\lib\libbgi.a: No such file or directory
Process terminated with status 1 (0 minute(s), 0 second(s))
3 error(s), 0 warning(s) (0 minute(s), 0 second(s))
-
My guess as to what the problem is:
http://www.mingw.org/node/24/revisions/278/view
The default installation directory, as pre-configured within the installer, is C:\MinGW. Unless you are very sure you know what you are doing, you should not change this; in particular: never install MinGW into any directory which includes spaces in its absolute path name.
-
mingw32-g++.exe -o bin\Debug\kk.exe obj\Debug\main.o [highlight color=”yellow”]-lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32[/highlight] "C:\Program Files (x86)\CodeBlocks\MinGW\lib\libbgi.a"
mingw32-g++.exe: error: [highlight: No such file or directory
mingw32-g++.exe: error: color=”yellow”]-lbgi: No such file or directory
mingw32-g++.exe: error: C:\Program Files (x86)\CodeBlocks\MinGW\lib\libbgi.a: No such file or directory
Process terminated with status 1 (0 minute(s), 0 second(s))
3 error(s), 0 warning(s) (0 minute(s), 0 second(s))
It looks like you copied the commandline from a web-side.
I suggest remove at least the part in the squre-brackets, as it is obviously some kind of side-description and make sure all used files exist in the correct places.