User forums > Help

"Can't read file's timestamp"

(1/2) > >>

atthewasteland:
When I try and run a console project that I have in CodeBlocks, I get the following error message:

-------------- Build: Release in exampleMower ---------------

WARNING: Can't read file's timestamp: /home/michael/Downloads/example/Class.cpp
Linking console executable: exampleMower
g++.real: ./Class.o: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
 
It may be a problem with the code I guess, but that message looks like a problem with the actual IDE. I'm running Ubuntu 10.10.

The project was running fine before I transferred some of the functions from the main file (exampleMower) to a new class file, then it started giving this.

Jenna:
Does the file exist and is it readable by you (or the user who uses C::B) ?

atthewasteland:

--- Quote from: jens on May 11, 2011, 09:17:29 pm ---Does the file exist and is it readable by you (or the user who uses C::B) ?

--- End quote ---

Not quite sure what you mean, I'm kinda new at coding. There's several files, all in the same project. When I was just using one main, 3 headers, and a .so file, my code was working perfectly. However, now that I've transferred the functions in my main to a class (which is spread into both a .cpp and a header file), it gives this error message. Both of the class files do exist and are part of the project; in fact, when I tried to run the project initially, it gave me several of the regular error messages (undeclared variables, etc.), which I fixed. Only once they were all fixed and the code was runnable did it start giving me this error message and refusing to build.

MortenMacFly:
Did you ensure the file is really named like that, meaning not with lowercase (e.g. class.cpp instead of Class.cpp)?

Jenna:

--- Quote from: MortenMacFly on May 12, 2011, 07:33:27 am ---Did you ensure the file is really named like that, meaning not with lowercase (e.g. class.cpp instead of Class.cpp)?

--- End quote ---
Also make sure the access-rights are set correctly.

Navigation

[0] Message Index

[#] Next page

Go to full version