User forums > Help

Can't build static library

<< < (2/4) > >>

Radek:
"Nothing to be done" means that there is a built library (it should be in the project folder) which is "up to date". The makefile found out that all source files (or object files) are older than the library.

(1) Try "Rebuild" instead of "Build".
(2) Delete the library (or move it out of the project folder or its target folder where it should be built) and try "Build".

thecheeselover:

--- Quote from: Radek on November 20, 2012, 06:55:29 am ---"Nothing to be done" means that there is a built library (it should be in the project folder) which is "up to date". The makefile found out that all source files (or object files) are older than the library.

(1) Try "Rebuild" instead of "Build".
(2) Delete the library (or move it out of the project folder or its target folder where it should be built) and try "Build".

--- End quote ---

My problem was (I fixed it) that CB acted like if there were a built library, but there wasn't. I deleted the library because CB wasn't building it anymore, so it wasn't up to date.
1) I tried many times but it didn't work.
2) That's what I did, but CB didn't rebuild the library.

Anyway, it's not the first CB bug that I found under Windows.

dmoore:
So what did you do to fix the problem? If there's a bug it would be more helpful to share it than keep it to yourself.

thecheeselover:

--- Quote from: dmoore on November 21, 2012, 04:34:15 pm ---So what did you do to fix the problem? If there's a bug it would be more helpful to share it than keep it to yourself.

--- End quote ---

No I didn't. People stopped to help me and I still need to recreate a new project every time Code::Blocks fucks. I am extremely pissed off of this bug.

MortenMacFly:

--- Quote from: thecheeselover on December 16, 2012, 03:19:16 am ---No I didn't. People stopped to help me and I still need to recreate a new project every time Code::Blocks fucks. I am extremely pissed off of this bug.

--- End quote ---
Note that you should also check your date settings and compare it to those of the source and lib file. Is the file on a network share or its file date in the future?

C::B checks, if the library is newer than the source. If so, the build will be skipped. This can also happen, if you use a network share were the date differers from those of your computer - meaning if you create a file there its date will be in the past or vice versa.

Also, please post the full build log of a re-build.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version