Bill Lorensen wlorens1 at nycap.rr.com
Fri Jun 11 06:38:49 EDT 1999


The pcmaker.exe program converts the makefile.in into nmake makefiles.

Bill

At 02:00 AM 6/11/99 -0700, Todd wrote:
>I was happy when the main vtk Makefile ran without a hitch.  However, later
>when actually trying to do something useful, I found I need to build the
>common.dll, and imaging.dll, etc. libs.  But the corresponding makefiles in
>these directories are different (makefile.in), and  MS's nmake doesn't seem
>to deal with these.
>
>No mater, I thought I'd just load all the source up in a new workspace, and
>compile the dlls. Nothing doing.  I get these errors:
>
>c:\vtk\common\vtkjavautil.h(43) : fatal error C1083: Cannot open include
>file: 'jni.h': No such file or directory
>
>c:\vtk\common\vtkmath.cxx(46) : error C2491: 'vtkMath::Seed' : definition of
>dllimport static data member not allowed
>
>c:\vtk\common\vtkpolydata.cxx(56) : error C2491: 'vtkPolyData::Dummy' :
>definition of dllimport static data member not allowed
>
>c:\vtk\common\vtktimerlog.cxx(59) : error C2491: 'vtkTimerLog::MaxEntries' :
>definition of dllimport static data member not allowed
>
>In the case of the first error, can I arbitrarily exclude classes (such as
>the Java function in this case) with impunity?  How?
>
>Any suggestions for successfully 'make'ing the libs (with nmake.exe);  or,
>compiling the libraries separately (eradicating above errors)?
>
>Thank you
>Todd




-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list