[vtkusers] Using VTK in a Visual C++ project
Frese Daniel Dr.
frese at heidenhain.de
Thu Apr 14 05:36:54 EDT 2011
Hi Karoll
I never encountered this message. There is a comment on this compiler switch on msdn (google for "visual studio compiler option /EHs"); the content there is a bit over my head, but /EHs seems to deal with exception handling. According to msdn, it seems like this switch can be changed. Did you select this value for the exception handling on purpose ?
Another question: what did you change /clr from ? When it was at /clr:pure or some other entry that does not accept native, unmanaged C++ code, this is probably the right thing to play with.
By the way, the vtk.sln file, which is created by CMake, provides a target INSTALL. Building this target moves all vtk headers and lib files to directories, that work fine for me (no need to copy these files around manually).
Daniel
-----Ursprüngliche Nachricht-----
Von: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] Im Auftrag von KK
Gesendet: Donnerstag, 14. April 2011 11:21
An: vtkusers at vtk.org
Betreff: Re: [vtkusers] Using VTK in a Visual C++ project
Dear Daniel,
Thanks for your very interesting reply
Unfortunately I still have a number of problems: if I change the value of
“Common Language Runtime support” to “Common Language Runtime Support
(/clr)”.
The compiler complains : command line options /clr and /EHs are not
compatible
--
View this message in context: http://vtk.1045678.n5.nabble.com/Using-VTK-in-a-Visual-C-project-tp4300979p4302529.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------------------------------------------------------------------------------------------------
Registergericht: Traunstein / Registry Court: HRB 275 – Sitz / Head Office: Traunreut
Aufsichtsratsvorsitzender / Chairman of Supervisory Board: Rainer Burkhard
Geschäftsführung / Management Board: Thomas Sesselmann (Vorsitzender / Chairman),
Michael Grimm, Matthias Fauser, Sebastian Tondorf
E-Mail Haftungsausschluss / E-Mail Disclaimer: http://www.heidenhain.de/disclaimer
More information about the vtkusers
mailing list