Print

Print


Got it...

In ccmake advanced mode I found that qassistant needed to be installed.
That is part of the package qt3-apps-dev.

The next error is QVTKwidget not found. Will have a look what that is?

Cheers
Alle Meije

Dave Flitney wrote:
> Run the configuration tool:
> 
> make edit_cache
> 
> Look at the QWT settings there and check that they all make sense. Also
> if you switch on CMAKE_VERBOSE_MAKEFILE then you'll get some extra
> details during the compilation.
> 
> On 24 Aug 2007, at 14:10, Alle Meije Wink wrote:
> 
>> No, doesn't work...
>>
>> This is where my libs are:
>> /usr/lib/libqwt.a
>> /usr/lib/libqwt.so
>> /usr/lib/libqwt.so.4
>> /usr/lib/libqwt.so.4.2
>> /usr/lib/libqwt.so.4.2.0
>>
>> This is where my header files are:
>> /usr/include/qwt/qwt_analog_clock.h
>> ...
>> /usr/include/qwt/qwt_wheel.h
>>
>> I did:
>> export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
>> ldconfig                    # set LD_LIBRARY_PATH
>> make clean                  # remove previous files
>> ccmake ..                   # QWT_DIR=/usr/lib
>> make                        # make with new settings
>>
>> and got the same error.
>>
>> Makes sense I think because the first message
>>
>> /usr/local/fsl4/src/fslview/build/src/fslview/briconwidgetbase.cxx:16:23:
>> error: qwt_wheel.h: No such file or directory
>>
>> suggests that qwt_wheel.h cannot be found in the INCLUDE path rather
>> than the LIBRARY path, doesn't it?
>>
>> Thanks for your suggestions!
>> Alle Meije
>>
>> Dave Flitney wrote:
>>> This happens when the QWT lib directory isn't in your LD_LIBRARY_PATH.
>>> Add it then rebuild - you may need to run make clean to get a complete
>>> rebuild of the affected files.
>>>
>>> On 23 Aug 2007, at 10:30, Alle Meije Wink wrote:
>>>
>>>> Hi-
>>>>
>>>> I'm building fslview V.4 and have finished these steps already
>>>>
>>>> 1. gone to /usr/local/fsl4/src/fslview
>>>> 2. made directory /usr/local/fsl4/src/fslview/build and gone there
>>>> 3. typed ccmake ..
>>>> 4. set the variable QWT_DIR to /usr/include/qwt
>>>>    (that is where my system-wide QWT lib is)
>>>> 5. done "configure", "generate and exit"
>>>> 6. type "make"
>>>>
>>>> And off it went, everything FSL-related went fine. But then:
>> <clip>
>>>>
>>>> And that is strange, because in /usr/include/qwt there is definitely a
>>>> file qwt_wheel.h
>>>>
>>>> Does the variable QWT_DIR need to have the path to the header files
>>>> (/usr/include/qwt) or maybe the path to the libs (/usr/lib)? Or does
>>>> the
>>>> include path need extra directories?
>>>>
>>>> Thanks for your help!
>>>>
>>>> Alle Meije Wink
>>>> Imperial College London
>>>
>