Page 1 of 1

Bug: source file on a different drive

Posted: Mon Nov 05, 2012 4:58 pm
by HJarausch
Hi,

CodeLite is installed on drive C.
When creating a project I use "add an existing file". CodeLite doesn't compile the file if that source file is on a different drive.
E.g. "add an existing file"
D:\MyFile\Test.cpp

I can edit this file, but when I try to build the project, the compiler cannot find the source file.
The compiler gets the file name "\MyFile\Test.cpp", i.e. without the drive name!

This is with the 5770 version.
How can this be fixed and how can I recompile CodeLite myself. (I'd like to stick to the 5770 version).

Thanks for looking into it,
Helmut.

Re: Bug: source file on a different drive

Posted: Mon Nov 05, 2012 5:09 pm
by eranif
This is not a bug - works as intended.
HJarausch wrote:CodeLite is installed on drive C.
When creating a project I use "add an existing file". CodeLite doesn't compile the file if that source file is on a different drive.
E.g. "add an existing file"
D:\MyFile\Test.cpp
Your problem is not where you installed codelite, the problem is that your workspace and project files are not on the same drive as your source files.
Make sure that your workspace + project + sources files are all placed on the same drive - and the problem will be solved

codelite does not keep absolute paths in the project files (or the project files will be useless on different machines)

Eran