[Insight-users] Missing Classes on Python
Elisa Royuela
elisaisyreadet at yahoo.es
Fri, 20 Feb 2004 16:36:35 +0100 (CET)
--0-2074697628-1077291395=:64312
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hello,
I have some problems with FLTK:
(A) In fact, I have a program that works on another computer with VTK 3.2, FLTK 1.0.11, but it doesn't on my computer with ITK 1.0, VTK 4.0, FLTK 1.1.4.
The program uses flvtk for the GUI and is built with visual c++ 6.0 (all the header files and libraries are supposed to have beeb included because it works in the first computer).
Here are the errors:
-----------------------------------------------------------
Linking...
vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall Fl_Gl_Window::draw_overlay(void)" (?draw_overlay at Fl_Gl_Window at at EAEXXZ)
vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)" (?hide at Fl_Gl_Window at at UAEXXZ)
vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)" (?show at Fl_Gl_Window at at UAEXXZ)
vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)" (??1Fl_Gl_Window at at UAE at XZ)
vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::resize(int,int,int,int)" (?resize at Fl_Gl_Window at at UAEXHHHH at Z)
vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)" (?flush at Fl_Gl_Window at at UAEXXZ)
vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "private: void __thiscall Fl_Gl_Window::init(void)" (?init at Fl_Gl_Window at at AAEXXZ)
fltkd.lib(Fl_x.obj) : error LNK2001: unresolved external symbol __imp___TrackMouseEvent at 4
Debug/SliceReconstructor.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.
SliceReconstructor.exe - 9 error(s), 0 warning(s)
-----------------------------------------------------------
I know the problem comes from FLTK but I don't know what is wrong.
(B) On the other hand, I tried to do a small example that only opens and shows a png image using FLTK and ITK. It works with CMakes, but if I try to include this code in an existing VC++ application (defining a new class), I have also errors:
-----------------------------------------------------------
Linking...
Creating library Debug/preocr.lib and object Debug/preocr.exp
fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol __imp__wglSwapLayerBuffers at 8
fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol __imp__wglRealizeLayerPalette at 12
fltkgld.lib(Fl_Gl_Choice.obj) : error LNK2001: unresolved external symbol __imp__wglShareLists at 8
fltkgld.lib(Fl_Gl_Choice.obj) : error LNK2001: unresolved external symbol __imp__wglCreateLayerContext at 8
fltkd.lib(fl_call_main.obj) : error LNK2001: unresolved external symbol _main
Debug/preocr.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.
preocr.exe - 6 error(s), 0 warning(s)
----------------------------------------------------------
and I have include all the libraries I found. I have read that it is not a good idea to mix MFC and FLTK, so perhaps in this second program this is the problem. But in the first case (A) I don't use MFC, so how can I solve the problem?
Thank you very much,
regards, Elisa.
---------------------------------
Antivirus #8226; Filtros antispam #8226; 6 MB gratis
¿Todavía no tienes un correo inteligente?
--0-2074697628-1077291395=:64312
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>I have some problems with FLTK:</DIV>
<DIV> </DIV>
<DIV>(A) In fact, I have a program that works on another computer with VTK 3.2, FLTK 1.0.11, but it doesn't on my computer with ITK 1.0, VTK 4.0, FLTK 1.1.4.</DIV>
<DIV> </DIV>
<DIV>The program uses flvtk for the GUI and is built with visual c++ 6.0 (all the header files and libraries are supposed to have beeb included because it works in the first computer).</DIV>
<DIV> </DIV>
<DIV>Here are the errors:</DIV>
<DIV> </DIV>
<DIV>-----------------------------------------------------------<BR>Linking...<BR>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall Fl_Gl_Window::draw_overlay(void)" (<A href="mailto:?draw_overlay at Fl_Gl_Window at at EAEXXZ">?draw_overlay at Fl_Gl_Window at at EAEXXZ</A>)<BR>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)" (<A href="mailto:?hide at Fl_Gl_Window at at UAEXXZ">?hide at Fl_Gl_Window at at UAEXXZ</A>)<BR>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)" (<A href="mailto:?show at Fl_Gl_Window at at UAEXXZ">?show at Fl_Gl_Window at at UAEXXZ</A>)<BR>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)" (<A href="mailto:??1Fl_Gl_Window at at UAE at XZ">??1Fl_Gl_Window at at UAE at XZ</A>)<BR>vtkFlRenderWindowInteractor.obj :
error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::resize(int,int,int,int)" (<A href="mailto:?resize at Fl_Gl_Window at at UAEXHHHH at Z">?resize at Fl_Gl_Window at at UAEXHHHH at Z</A>)<BR>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)" (<A href="mailto:?flush at Fl_Gl_Window at at UAEXXZ">?flush at Fl_Gl_Window at at UAEXXZ</A>)<BR>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external symbol "private: void __thiscall Fl_Gl_Window::init(void)" (<A href="mailto:?init at Fl_Gl_Window at at AAEXXZ">?init at Fl_Gl_Window at at AAEXXZ</A>)<BR>fltkd.lib(Fl_x.obj) : error LNK2001: unresolved external symbol <A href="mailto:__imp___TrackMouseEvent at 4">__imp___TrackMouseEvent at 4</A><BR>Debug/SliceReconstructor.exe : fatal error LNK1120: 8 unresolved externals<BR>Error executing link.exe.</DIV>
<DIV>SliceReconstructor.exe - 9 error(s), 0 warning(s)</DIV>
<DIV>-----------------------------------------------------------</DIV>
<DIV> </DIV>
<DIV>I know the problem comes from FLTK but I don't know what is wrong. </DIV>
<DIV> </DIV>
<DIV>(B) On the other hand, I tried to do a small example that only opens and shows a png image using FLTK and ITK. It works with CMakes, but if I try to include this code in an existing VC++ application (defining a new class), I have also errors:</DIV>
<DIV> </DIV>
<DIV>-----------------------------------------------------------</DIV>
<DIV>Linking...<BR> Creating library Debug/preocr.lib and object Debug/preocr.exp<BR>fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol <A href="mailto:__imp__wglSwapLayerBuffers at 8">__imp__wglSwapLayerBuffers at 8</A><BR>fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol <A href="mailto:__imp__wglRealizeLayerPalette at 12">__imp__wglRealizeLayerPalette at 12</A><BR>fltkgld.lib(Fl_Gl_Choice.obj) : error LNK2001: unresolved external symbol <A href="mailto:__imp__wglShareLists at 8">__imp__wglShareLists at 8</A><BR>fltkgld.lib(Fl_Gl_Choice.obj) : error LNK2001: unresolved external symbol <A href="mailto:__imp__wglCreateLayerContext at 8">__imp__wglCreateLayerContext at 8</A><BR>fltkd.lib(fl_call_main.obj) : error LNK2001: unresolved external symbol _main<BR>Debug/preocr.exe : fatal error LNK1120: 5 unresolved externals<BR>Error executing link.exe.</DIV>
<DIV>preocr.exe - 6 error(s), 0 warning(s)</DIV>
<DIV> </DIV>
<DIV>----------------------------------------------------------</DIV>
<DIV> </DIV>
<DIV>and I have include all the libraries I found. I have read that it is not a good idea to mix MFC and FLTK, so perhaps in this second program this is the problem. But in the first case (A) I don't use MFC, so how can I solve the problem?</DIV>
<DIV> </DIV>
<DIV>Thank you very much,</DIV>
<DIV> </DIV>
<DIV> regards, Elisa.</DIV>
<DIV> </DIV><p><hr size=1><br>
<table><tr><td><a href="http://es.rd.yahoo.com/mail_es/tagline/mail_man/*http://es.docs.yahoo.com/benefits/"><img src="http://eur.i1.yimg.com/eur.yimg.com/i/es/mail/w/tagma.jpg" height=80 width=230 alt="" border=0 align="right"></a></td></tr>
<tr><td><a href="http://es.rd.yahoo.com/mail_es/tagline/mail_man/*http://es.docs.yahoo.com/benefits/" style="font-size: -2; font-family: Verdana; font-weight: bold; color: #73738c; text-decoration: none;"><B><FONT face=Verdana color=#73738c size=-2> Antivirus •
Filtros antispam • 6 MB gratis</FONT></B><BR>
<B><FONT face=Verdana color=#73738c size=-2> ¿Todavía no tienes un correo inteligente?</FONT></B></a></td></tr></table>
--0-2074697628-1077291395=:64312--