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
>
|