[Qt-interest] Compilation issue
Constantin Makshin
dinosaur-rus at users.sourceforge.net
Wed Feb 25 20:47:04 CET 2009
MSYS converts paths when it calls "external" (non-MSYS) programs. The log
provided by Zine confirms this -- the compiler gets all paths in Windows
style.
But, for some reason, g++ searches for the wrong file -- it's told to
compile "Interface\mainwindow.cpp", but tries to compile
"Interfacemainwindow.cpp" (without backslash).
On Wed, 25 Feb 2009 22:21:22 +0300, Andreas Pakulat <apaku at gmx.de> wrote:
> On 25.02.09 19:07:29, Zine eddine Bendjaballah wrote:
>> Hi,
>>
>> I've a compilation issue in my project it tells me that one file
>> doesn't exist, whereas that file exists.
>>
>> You can find in the attached the .pro file, and the compilation output
>> message.
>
> This looks as if you're running make inside an msys environment. Hence
> gcc thinks it gets unix paths, while it actually gets windows paths.
>
> Run make from a normal cmd prompt and it should work.
>
> Andreas
--
Constantin "Dinosaur" Makshin
More information about the Qt-interest-old
mailing list