[vtkusers] Problem opening dsw files with vstudio .net

William A. Hoffman billlist at nycap.rr.com
Fri Feb 1 11:11:12 EST 2002


CMake does not yet support .NET.
We plan to add support for .NET in the next cmake release.
For now, I would suggest using the nmake generator process with .NET,
although that has not been tested either, but should work.

If you are adventurous, the problem with .NET and cmake is the template
files for the dsp in CMake/Templates/EXEHeader.dsptemplate 

Change this:


# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi3
2.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib  kerne
l32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib 
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:conso
le /debug /machine:I386 /pdbtype:sept /IGNORE:4089
CM_MULTILINE_DEBUG_LIBRARIES
CM_MULTILINE_LIBRARIES

to this:
# ADD LINK32 CM_DEBUG_LIBRARIES CM_LIBRARIES  kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi3
2.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib  kerne
l32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib 
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:conso
le /debug /machine:I386 /pdbtype:sept /IGNORE:4089


Do this for all configurations.   The multi line ADD LINE32 is not supported
by .NET.


-Bill


At 07:55 PM 2/1/2002 -0700, Isaac Ben wrote:
>Hi,
>I'm trying to compile the vtk 4.0 release version and after going
>through cmake and generating the dsw and other files with the default
>settings (I've also tried others)  I attempt to open the project in
>Visual Studio .NET RC1.  When I'm asked wether or not to convert the
>files to Vstudio 7 project files I say yes to all.  This then proceeds
>until it hits the "Common/Testing/Cxx/ObjectFactory.dsp" file.  All of
>this is for the default Cmake settings.  If I change the wrap tcl to
>true then Vstudio .Net will hang when it hits the first Tcl related
>file.
>
>What am I missing, is it just RC1 that's the problem?
>
>Thanks,
>IB
>
>Isaac Ben
>
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers 




More information about the vtkusers mailing list