User forums > Help

build keeps compiling a sorce file...

<< < (3/3)

Jenna:
How did you get the file into the project ?
Can you try to remove it and add it again (if it does not work correctly) ?
The case should be correct if C::B adds it to the projectfile.

Is it possible, that the case of the file name has changed for some reason after it was added to the project ?

Jenna:
I tested it with a FAT-formatted USB-stick.
It's not a C::B issue:

--- Code: ---jens@fedora-aspire:/run/media/jens/VOLUME/test$ ll
insgesamt 32
drwx------. 3 jens jens 4096 17. Jan 22:20 bin
-rw-r--r--. 1 jens jens  108 17. Jan 22:19 MAIN.CPP
drwx------. 3 jens jens 4096 17. Jan 22:20 obj
-rw-r--r--. 1 jens jens  145 17. Jan 22:22 test.bmarks
-rw-r--r--. 1 jens jens  718 17. Jan 22:22 test_build_log.html
-rw-r--r--. 1 jens jens 1097 17. Jan 22:22 test.cbp
-rw-r--r--. 1 jens jens  167 17. Jan 22:22 test.depend
-rw-r--r--. 1 jens jens  139 17. Jan 22:22 test.layout
jens@fedora-aspire:/run/media/jens/VOLUME/test$ ll main.cpp
-rw-r--r--. 1 jens jens 108 17. Jan 22:19 main.cpp

--- End code ---
AS you can see the file is correctly listed as MAIN.CPP by the OS, but explicitely listing igt in lowercase returns the name in lowercase, so it is impossible for C::B (or the underlying wxWidgets) to see that the name has changed (or at least it can not be done easily).

dfatcb:
yeah, maybe the name changed after it was added to the project? 

Anyway, it all works now that I renamed it.  Not sure why the name change threw it off and made it want to build?

However, this thread may help someone else in the same situation.

Navigation

[0] Message Index

[*] Previous page

Go to full version