News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

No such file or directory

Started by Lalpekhlua, November 11, 2015, 07:30:13 AM

Previous topic - Next topic

Lalpekhlua

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.Pls help me and thanks in advanced

Jenna

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.

Lalpekhlua


scarphin

Quote from: jens on November 11, 2015, 07:43:27 AM
Not really helpful.
A text-copy of a full rebuild from "Build log" is better in almost all cases.

Lalpekhlua

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))


raynebc

My guess as to what the problem is:

http://www.mingw.org/node/24/revisions/278/view
Quote from: MinGW install instructions
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.

Jenna

Quote from: Lalpekhlua on November 13, 2015, 12:42:59 PM
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.