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.
Bug: source file on a different drive
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Bug: source file on a different drive
This is not a bug - works as intended.
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
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.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
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
Make sure you have read the HOW TO POST thread