User forums > Help

problem with "File/New/File..."

<< < (4/6) > >>

BlueHazzard:
I have tried different methods, until now i am not able to reproduce...
Does this only happen if you use the new file wizard, or does it also happen if you add a existing file to the project, or use the File->New->Empty file menu entry?

BlueHazzard:

--- Quote ---Then, when I wished to make a new *.cpp file, wizard opened this subfolder,
--- End quote ---
For me the wizard always opens the project root folder...

Can you confirm, that all files are children of the project folder?

BlueHazzard:
In your PDF in the image is see the Project base path to be

--- Code: ---c:\mingw\projects....
--- End code ---
and the file base path to be

--- Code: ---C:\mingw\projects....
--- End code ---
So one has a lower case C and one a upper case C ... this can probably lead to the problem...
The question is why is one lower case and one upper case...

BlueHazzard:
If i modify the project file by hand and add the full path to the file with lower case drive letter i see the same behavior....

So can you confirm:
1) In your project file (open it with notepad++ for example): Do the failing files have absolute paths with upper or lower case drive letters?
2) Make a copy of the project file and replace the drive letter with the other case. Does the problem goes away?

Can you imagine why the drive letters differ? Have you added the path by copy and paste?

@Devs: Is this probably a wxWidgets path normalization bug? As far as i know widows paths should be case insensitive or not?

oBFusCATed:
You could test this easily using wxFileName and the same functions C::B is using...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version