[Insight-users] compilation problem
Gwenaël Guillard
gwenael.guillard@enst-bretagne.fr
Wed, 27 Nov 2002 11:24:30 +0100
--------------0EFEB6FB45DE5AAA8CA0A377
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hi Luis and Julien,
Thank you for your help. I'm using FLTK 1.1.0 and it's ok.
Have a good day,
Gwenael
Luis Ibanez a écrit :
> Hi Gwenael,
>
> This is a problem generated by the continous
> evolution of FLTK. Nothing to do with ITK.
>
> The solution is to add the following library
> to the link list
>
> comctl32
>
> something like
>
> LINK_LIBRARIES(
> ...
> comctl32
> ...
> )
>
> You may want to look at a previous message posted
> by Stephen Aylward on november the 20th. He described
> in detail how to fix the FindFLTK.cmake file so you
> don't have to do this on the CMakeLists.txt file
> of your own project.
>
> http://www.itk.org/pipermail/insight-users/2002-November/001618.html
>
> Other solutions are:
>
> 1) use the recommended fltk version 1.1.0rc6
> 2) path FLTK code to prevent it from looking
> for this symbol.
>
> References to both of these options can be found in the
> mailing list archives
>
> http://www.itk.org/pipermail/insight-users/2002-November/date.html
>
> Please let us know if you have further questions.
>
> Thanks
>
> Luis
>
> ====================================================
>
> Gwenaël Guillard wrote:
>
> > Hi,
> >
> > I don't have any probleme while compiling ITK without examples but with
> > them, I have this message:
> >
> >
> >
> > --------------------Configuration: DistanceMapFilter - Win32
> > Debug--------------------
> > Linking...
> > Creating library
> > D:\Users\guillard\src\Insight\InsightToolkit-1.0.0Bin\bin\Debug/DistanceMapFilter.lib
> > and object
> > D:\Users\guillard\src\Insight\InsightToolkit-1.0.0Bin\bin\Debug/DistanceMapFilter.exp
> >
> > fltkd.lib(Fl_x.obj) : error LNK2001: unresolved external symbol
> > __imp___TrackMouseEvent@4
> > D:\Users\guillard\src\Insight\InsightToolkit-1.0.0Bin\bin\Debug/DistanceMapFilter.exe
> > : fatal error LNK1120: 1 unresolved externals
> > Error executing link.exe.
> >
> > ALL_BUILD - 2 error(s), 0 warning(s)
> >
> >
> >
> >
> > I'm using InsightToolkit-1.0.0 and FLTK 1.1.1, in CMake, VTK_USE=OFF,
> >
> > Thank you,
> >
> > Gwenael
> >
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users@public.kitware.com
> > http://public.kitware.com/mailman/listinfo/insight-users
> >
> >
--
-----------------------------------------------------------
Gwenael Guillard
Doctorant
Departement Image et Traitement de l'Information (ITI)
LAboratoire de Traitement de l'Information Medicale (LATIM) - INSERM ERM 0102
ENST Bretagne
Technopole Brest Iroise
BP 832 - 29285 Brest Cedex
Tel : 02 29 00 13 01
email : gwenael.guillard@enst-bretagne.fr, g.guillard@ieee.org
--------------0EFEB6FB45DE5AAA8CA0A377
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi Luis and Julien,
<p>Thank you for your help. I'm using FLTK 1.1.0 and it's ok.
<br>Have a good day,
<p>Gwenael
<br>
<br>
<p>Luis Ibanez a écrit :
<blockquote TYPE=CITE>Hi Gwenael,
<p>This is a problem generated by the continous
<br>evolution of FLTK. Nothing to do with ITK.
<p>The solution is to add the following library
<br>to the link list
<p>
comctl32
<p>something like
<p>LINK_LIBRARIES(
<br> ...
<br> comctl32
<br> ...
<br> )
<p>You may want to look at a previous message posted
<br>by Stephen Aylward on november the 20th. He described
<br>in detail how to fix the FindFLTK.cmake file so you
<br>don't have to do this on the CMakeLists.txt file
<br>of your own project.
<p><a href="http://www.itk.org/pipermail/insight-users/2002-November/001618.html">http://www.itk.org/pipermail/insight-users/2002-November/001618.html</a>
<p>Other solutions are:
<p>1) use the recommended fltk version 1.1.0rc6
<br>2) path FLTK code to prevent it from looking
<br> for this symbol.
<p>References to both of these options can be found in the
<br>mailing list archives
<p><a href="http://www.itk.org/pipermail/insight-users/2002-November/date.html">http://www.itk.org/pipermail/insight-users/2002-November/date.html</a>
<p>Please let us know if you have further questions.
<p>Thanks
<p> Luis
<p>====================================================
<p>Gwenaël Guillard wrote:
<p>> Hi,
<br>>
<br>> I don't have any probleme while compiling ITK without examples but
with
<br>> them, I have this message:
<br>>
<br>>
<br>>
<br>> --------------------Configuration: DistanceMapFilter - Win32
<br>> Debug--------------------
<br>> Linking...
<br>> Creating library
<br>> D:\Users\guillard\src\Insight\InsightToolkit-1.0.0Bin\bin\Debug/DistanceMapFilter.lib
<br>> and object
<br>> D:\Users\guillard\src\Insight\InsightToolkit-1.0.0Bin\bin\Debug/DistanceMapFilter.exp
<br>>
<br>> fltkd.lib(Fl_x.obj) : error LNK2001: unresolved external symbol
<br>> __imp___TrackMouseEvent@4
<br>> D:\Users\guillard\src\Insight\InsightToolkit-1.0.0Bin\bin\Debug/DistanceMapFilter.exe
<br>> : fatal error LNK1120: 1 unresolved externals
<br>> Error executing link.exe.
<br>>
<br>> ALL_BUILD - 2 error(s), 0 warning(s)
<br>>
<br>>
<br>>
<br>>
<br>> I'm using InsightToolkit-1.0.0 and FLTK 1.1.1, in CMake, VTK_USE=OFF,
<br>>
<br>> Thank you,
<br>>
<br>> Gwenael
<br>>
<br>>
<br>> _______________________________________________
<br>> Insight-users mailing list
<br>> Insight-users@public.kitware.com
<br>> <a href="http://public.kitware.com/mailman/listinfo/insight-users">http://public.kitware.com/mailman/listinfo/insight-users</a>
<br>>
<br>></blockquote>
<pre>--
-----------------------------------------------------------
Gwenael Guillard
Doctorant
Departement Image et Traitement de l'Information (ITI)
LAboratoire de Traitement de l'Information Medicale (LATIM) - INSERM ERM 0102
ENST Bretagne
Technopole Brest Iroise
BP 832 - 29285 Brest Cedex
Tel : 02 29 00 13 01
email : gwenael.guillard@enst-bretagne.fr, g.guillard@ieee.org</pre>
</html>
--------------0EFEB6FB45DE5AAA8CA0A377--