<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>Hello,</p>
<p>&nbsp;</p>
<p>I have developed a Java&nbsp;application that uses VTK.&nbsp; I would like to compile&nbsp;three&nbsp;sets of Java-wrappable VTK DLLs&nbsp;for Windows, Linux, and MacOSX.&nbsp; Thus far, I&nbsp;have&nbsp;undesirably built&nbsp;the DLLs&nbsp;(w/ Visual Studio on Windows, GCC on Linux) on&nbsp;every system&nbsp;that
 will use&nbsp;the software.&nbsp;&nbsp;When I have attempted to load these DLLs on another Windows or Linux system with similar OS version and hardware,&nbsp;Java claims that there is an architectural incompatibility with the DLLs.&nbsp; When I configure CMAKE for building VTK, what
 are the critical flag settings that will&nbsp;ensure that the built DLLs can be distributed to other computers with the same OS?</p>
<p>&nbsp;</p>
<p>Thanks,</p>
<p>&nbsp;</p>
<p>Ben</p>
<p>&nbsp;</p>
</div>
</body>
</html>