User forums > Help

10.05 rebuilds project every time

(1/2) > >>

rogster001:
Hi all,

Any advice here? I installed 10.05, however an FLTK project i am working on rebuilds every time, even if it is up to date
It did not do this in 8.05 and all i did was copy the folder over to the new installation codeblocks 10.05 folder.

I admit i have not yet checked this with other projects, i just wonder is it a known issue??

My build time is about 15minutes so its a major hassle and i am going to use makefiles if i can't fix it, or roll back the version.

The object files are generated and all project settings seem to be exactly as with other projects, i never really tinker there apart from linking libraries.

oBFusCATed:
Check if the modification times of .o file and .h/cpp files are correct.
.o files should be newer than the source, otherwise C::B/the compiler thinks that there are changes in the source and rebuilds them.

rogster001:
Ok thanks, i will have a look,  if that was the case how would i remedy it though? access the object files somehow before doing the next build so that they are sure to be ahead?

oBFusCATed:
Delete them or use the touch equivalent command for your OS.
Also check the executable or any output files generated by the build.

rogster001:
i checked, all the .o files are ahead and timestamped within a few seconds of each other. I might jsut delete the object files anyway and try again, also i will consider new project and add new files and copy contents from old files into new project files, have already done a reinstall also.

~I will note that when i changed my dictories path for the compiler to "/mingw/include" it seemed to work as normal, it was pointing to fltk13/include but then i had to move my FLTK headers into the mingw include folder as mingw/include/FL and then the problem returned.

Navigation

[0] Message Index

[#] Next page

Go to full version