octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BlockArray.cpp:27:18: fatal error: QtCore: No such file or directory


From: Ben Abbott
Subject: Re: BlockArray.cpp:27:18: fatal error: QtCore: No such file or directory
Date: Thu, 30 Aug 2012 13:06:01 -0400

On Aug 30, 2012, at 1:01 PM, CdeMills <address@hidden> wrote:

> Michael Goffioul wrote
>> 
>> 
>> Can you post the compilation command that is executing? (with full option
>> flags).
>> 
>> Michael.
>> 
> 
> /opt/local/bin/g++-mp-4.7 -DHAVE_CONFIG_H -I. -I../.. -I -I/QtCore -I/QtGui
> -I./../qterminal/libqterminal -I/opt/local/include -pipe -O3
> -ftree-vectorize -g -ggdb3 -D_THREAD_SAFE -pthread -mieee-fp
> -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include
> -I/opt/local/include -Wall -W -Wshadow -Wold-style-cast -Wformat
> -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -pipe -O3
> -ftree-vectorize -g -ggdb3 -D_THREAD_SAFE -pthread -MT
> libqterminal_la-BlockArray.lo -MD -MP -MF
> .deps/libqterminal_la-BlockArray.Tpo -c
> ../qterminal/libqterminal/unix/BlockArray.cpp  -fno-common -DPIC -o
> .libs/libqterminal_la-BlockArray.o
> 
> found the culprit ... the double -I -IQtCore at the beginning. This has the
> effect that the dir searched for is "-I/QtCore", which doesn't obviously
> exist.
> 
> I compiled using this sequence:
> 1) started WITHOUT qt4 installed
> 2) noticed the problem, and installed qt4
> 3) restarted the compilation WITHOUT reconfiguring
> 
> Trying to restart at the configure stage ... I'll get the result tomorrow.
> Now, if there is a dependency with respect to qt4, shouldn't its
> availability be tested during the configure phase ?
> 
> Regards
> 
> Pascal

Pascal, if you are building on MacOS, I had to remove "- pthread".

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]