Am Donnerstag, 1. August 2002 16:15 schrieb Mart� Maria:
> Hi,
>
> > The header are there...
> >
> > How can I tell Make that they could be found in /usr/include/qt
> > ?
> >
> > How to set such a environment-variable?
> > QTDIR=/usr/include/qt
> > export QTDIR
I found somewhere in the lprof sources with grep such a line:
./qt/qtMeasurementTool/makefile:INCLUDES = -I../../include
-I$(QTDIR)/include -I. -I.. -I$(QTDIR)/include/qt $(KDEINCLUDE)
So I admit that
QTDIR=/usr/include/qt
export QTDIR
was right, but on debian we need to add a symbolic link:
ln -s /usr/bin /usr/include/qt/bin
> > Or do I have to edit the Makefiles?
nope
> Arrgs. Each platform seems to install headers on a different
> directory. Ok, Are you using KDE? If not, as a quick hack, you
> could try:
>
> KDEINCLUDE==/usr/include/qt
> export KDEINCLUDE
> KDELIBDIR=...whatever you have Qt libs
> export KDELIBDIR
>
> This should make the trick
>
> Regards,
> Marti.
Hi Mart�,
I didn't tried your trick yet, but nevertheless I solved some
issues:
debian:/usr/src/lprof-1.09# make
little cms profiler construction set 1.09 being made all.
please wait ...
Building measurement tool program ...
qtlcmswidgets.o: In function `CheckProfileResults(QTable *, QString
&, _measurement *, char const *, char const *)':
qtlcmswidgets.o(.text+0x4c83): undefined reference to
`cmsCIE94DeltaE'
This error I solved by following the description of your last email.
I had to copy the *.tgz and untar under /usr/src because under
/usr/include we can find the includedir under debian
(./qt/qtMeasurementTool/makefile:INCLUDES = -I../../include)
further I had to set the QTDIR:
QTDIR=/usr/include/qt
export QTDIR
and link the bin folder:
ln -s /usr/bin /usr/include/qt/bin
Prepared this way I could compile lcms-1.09
mv lcms-1.09.tgz /usr/src/
cd /usr/src/
tar -xzf lcms-1.09.tgz
cd lcms-1.09
debian:/usr/src/lcms-1.09# make
little cms color management engine 1.09 is being made all.
To install additional utilities, type 'make utils'
please wait ...
little cms testbed. Ver 1.09 [build Jul 30 2002 22:24:30]
Testing fixed point: 2.8848960205 = 2.8848
0.437499269828536 = 0.4374
Testing fixed scaling...pass.
Testing curves join ...pass.
Testing reversing of curves ...
dE: mean=0.00477642, SD=0.00723409, max=0.171206 pass.
Testing linear interpolation ...pass. (1180000 tics)
Testing descending tables (linear interpolation)...pass.
Testing reverse linear interpolation
on normal monotonic curve...pass.
on degenerated curve ...pass.
Testing 3D interpolation on LUT...pass.
Testing virtual profiles (Emulating sRGB)...pass.
Testing profile decoding (sRGB).....pass.
Testing sRGB built-in space.........
dE: mean=0.0160946, SD=0.00857107, max=0.0441938 pass.
Using two real profiles.........pass
Error Induced by the CMM due to roundoff (dE) .........
dE: mean=0.000545515, SD=0.00136301, max=0.0067395 [690000 tics,
6900 sec.]
Testing preview.........
dE: mean=0.000545515, SD=0.00136301, max=0.0067395 [680000 tics,
6800 sec.]
Checking multiprofile transforms (6 profiles):.........
dE: mean=0.122268, SD=0.173883, max=1.28234 [720000 tics, 7200 sec.]
Success.
I copied the header like in your last mail:
cp -av /usr/src/lcms-1.09/include/* /usr/src/lprof-1.09/include
cp -av /usr/src/lcms-1.09/src/liblcms.a /lprof-1.09/src/liblcms.a
Unfortunately I got now:
debian:/usr/src/lprof-1.09# make
little cms profiler construction set 1.09 being made all.
please wait ...
Building measurement tool program ...
moc_qtmeasurementtooldialog.o(.gnu.linkonce.d.__vt_23qtMeasurementToolDialog+0x24):
undefined reference to `qtMeasurementToolDialogBase::event(QEvent
*)'
moc_qtmeasurementtooldialogbase.o(.gnu.linkonce.d.__vt_27qtMeasurementToolDialogBase+0x24):
undefined reference to `qtMeasurementToolDialogBase::event(QEvent
*)'
collect2: ld returned 1 exit status
make[2]: *** [qtmeasurementtool] Error 1
Building monitor profiler ...
moc_qtmonitorprofilerdialog.o(.gnu.linkonce.d.__vt_23qtMonitorProfilerDialog+0x24):
undefined reference to `qtMonitorProfilerDialogBase::event(QEvent
*)'
moc_qtmonitorprofilerdialogbase.o(.gnu.linkonce.d.__vt_27qtMonitorProfilerDialogBase+0x24):
undefined reference to `qtMonitorProfilerDialogBase::event(QEvent
*)'
collect2: ld returned 1 exit status
make[2]: *** [qtmonitorprofiler] Error 1
Building scanner profiler ...
moc_qtscannerprofilerdialog.o(.gnu.linkonce.d.__vt_23qtScannerProfilerDialog+0x24):
undefined reference to `qtScannerProfilerDialogBase::event(QEvent
*)'
moc_qtscannerprofilerdialogbase.o(.gnu.linkonce.d.__vt_27qtScannerProfilerDialogBase+0x24):
undefined reference to `qtScannerProfilerDialogBase::event(QEvent
*)'
collect2: ld returned 1 exit status
make[2]: *** [qtscannerprofiler] Error 1
Building profile checker ...
moc_qtprofilecheckerdialog.o(.gnu.linkonce.d.__vt_22qtProfileCheckerDialog+0x24):
undefined reference to `qtProfileCheckerDialogBase::event(QEvent *)'
moc_qtprofilecheckerdialogbase.o(.gnu.linkonce.d.__vt_26qtProfileCheckerDialogBase+0x24):
undefined reference to `qtProfileCheckerDialogBase::event(QEvent *)'
collect2: ld returned 1 exit status
make[2]: *** [qtprofilechecker] Error 1
debian:/usr/src/lprof-1.09#
I guess that I need to install some perlmodules? I'm not a
programmer, so I need an other hint.
TIA
gerhard
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user