# Unable to make all dll required/Build fails for VTK Java Wrapper

**URL:** https://discourse.vtk.org/t/unable-to-make-all-dll-required-build-fails-for-vtk-java-wrapper/3694
**Category:** Support
**Created:** [July 2, 2020, 2:19pm UTC](https://discourse.vtk.org/t/unable-to-make-all-dll-required-build-fails-for-vtk-java-wrapper/3694 "2020-07-02T14:19:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![prateekm](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/p/e9bcb4/32.png) [@prateekm](https://discourse.vtk.org/u/prateekm)
#### Post date: [July 2, 2020, 2:19pm UTC](https://discourse.vtk.org/t/unable-to-make-all-dll-required-build-fails-for-vtk-java-wrapper/3694/1 "2020-07-02T14:19:46Z")

</div>

I have trying to build VTK with Java Wrapper.  
VTK-8.2 source used along with cmake 3.16, Java 8 and Visual Studio 2019 on Windows 10 64 bit machine  
I have tried to build VTK without Java Wrapper and it is working fine with C++ code examples.

In cmake i have checked both Build shared library and VTK java wrapper options.

While Build in Visual Studio few builds get failed.  
I tried many times, but still the same error.  
I have extracted failed builds from the VS 2019 output. These are as follows:

_339\>vtkPlotParallelCoordinates.cxx 325\>Done building project "vtkRenderingCoreJava.vcxproj" -- FAILED. 343\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkRenderingCoreJava.lib' 343\>Done building project "vtkRenderingFreeTypeJava.vcxproj" -- FAILED. 345\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkRenderingCoreJava.lib' 345\>Done building project "vtkInteractionStyleJava.vcxproj" -- FAILED. 349\>Java Wrappings - generating vtkContextKeyEventJava.cxx 347\>Done building project "vtkDomainsChemistryJava.vcxproj" -- FAILED. 346\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkRenderingCoreJava.lib' 346\>Done building project "vtkFiltersHybridJava.vcxproj" -- FAILED. 352\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkRenderingCoreJava.lib' 352\>Done building project "vtkRenderingLODJava.vcxproj" -- FAILED. 349\>vtkContextDevice3DJava.cxx 344\>Done building project "vtkRenderingVolumeJava.vcxproj" -- FAILED. 353\>Generating Code... 350\>Done building project "vtkRenderingLabelJava.vcxproj" -- FAILED. 353\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkRenderingCoreJava.lib' 348\>Done building project "vtkRenderingAnnotationJava.vcxproj" -- FAILED. 348\>Done building project "vtkRenderingAnnotationJava.vcxproj" -- FAILED. 353\>Done building project "vtkRenderingImageJava.vcxproj" -- FAILED. 354\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkRenderingCoreJava.lib' 354\>Done building project "vtkIOImportJava.vcxproj" -- FAILED. 349\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkRenderingFreeTypeJava.lib' 349\>Done building project "vtkRenderingContext2DJava.vcxproj" -- FAILED. 355\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkFiltersHybridJava.lib' 355\>Done building project "vtkIOMINCJava.vcxproj" -- FAILED. 370\>Java Wrappings - generating vtkTextureObjectJava.cxx 351\>Done building project "vtkFiltersParallelJava.vcxproj" -- FAILED. 342\>vtkMeasurementCubeHandleRepresentation3D.cxx 375\>Done building project "vtkFiltersParallelImagingJava.vcxproj" -- FAILED. 377\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkFiltersParallelJava.lib' 377\>Done building project "vtkIOParallelJava.vcxproj" -- FAILED. 363\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkRenderingContext2DJava.lib' 363\>Done building project "vtkChartsCoreJava.vcxproj" -- FAILED. 370\>Generating Code... 370\>Done building project "vtkRenderingOpenGL2Java.vcxproj" -- FAILED. 385\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkRenderingOpenGL2Java.lib' 385\>Done building project "vtkRenderingGL2PSOpenGL2Java.vcxproj" -- FAILED. 389\>Java Wrappings - generating vtkOpenGLTexture.java 386\>Done building project "vtkRenderingContextOpenGL2Java.vcxproj" -- FAILED. 342\>vtkTensorProbeWidget.cxx 387\>Done building project "vtkDomainsChemistryOpenGL2Java.vcxproj" -- FAILED. 388\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkRenderingOpenGL2Java.lib' 388\>Done building project "vtkRenderingVolumeOpenGL2Java.vcxproj" -- FAILED. 390\>Generating Code... 390\>Done building project "vtkIOExportJava.vcxproj" -- FAILED. 396\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkIOExportJava.lib' 396\>Done building project "vtkIOExportPDFJava.vcxproj" -- FAILED. 395\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkIOExportJava.lib' 395\>Done building project "vtkIOExportOpenGL2Java.vcxproj" -- FAILED. 400\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkFiltersHybridJava.lib' 400\>Done building project "vtkInteractionWidgetsJava.vcxproj" -- FAILED. 407\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkInteractionWidgetsJava.lib' 407\>Done building project "vtkInteractionImageJava.vcxproj" -- FAILED. 406\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkInteractionWidgetsJava.lib' 406\>Done building project "vtkViewsCoreJava.vcxproj" -- FAILED. 410\>vtkGeoAdaptiveArcsJava.cxx 411\>Done building project "vtkViewsContext2DJava.vcxproj" -- FAILED. 410\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkViewsCoreJava.lib' 410\>Done building project "vtkGeovisCoreJava.vcxproj" -- FAILED. 412\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkViewsCoreJava.lib' 412\>Done building project "vtkViewsInfovisJava.vcxproj" -- FAILED. 416\>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\vtkDomainsChemistryOpenGL2Java.lib' 416\>Done building project "VTKJavaExecutable.vcxproj" -- FAILED._

I have checked these missing dll files, but they are not present

Please let me know which step I am doing wrong.

Or can I get direct link from where I can directly download vtk.jar and required dll for VTK Java.

Thanks in Advance.
