[vtkusers] Re: Win2000, VC++, different calling convention

Catherine Ragsdale ragsdale at acl.lanl.gov
Wed Jul 5 13:27:54 EDT 2000


At 09:00 AM 7/1/2000 +1000, you wrote:

>First thing is to make sure that both the Vtk libs and
>your .exe application are linking with the same CRT
>(C RunTime) library --
>
>Under Project Settings;  C/C++ ; Code Generation
>in the field "Use run-time library:", choose
>
>    [Debug] Multithreaded DLL
>
         Check, this was the setting......




>More importantly, Vtk still defaults to compiling and linking
>with the old iostreams library.  If your application is using
>the Std C++ library, you will be mixing old and new versions,
>e.g.,
>
>  std::iostream from <iostream> from MFC app.
>  iostream from <iostream.h> from vtk libs.
>


         To create this project I selected the win32 console option. If I
         understand Visual C++ correctly, this option does not include any
         of the MFC libraries.

         I also tried Joris Vanden Wyngaer's suggestion of re-compiling VTK
         after applying the Service Pack 4. Unfortunately, this didn't have any
         noticeable affect, with the exception that mace will now render a
         white field in the rendering window.

  Thanks for all the suggestions, I'll keep picking at it and maybe I can 
get it
working.

Cathe





More information about the vtkusers mailing list