# compiling vtk 9.3.0 on cmake/vs: build error encountered

**URL:** https://discourse.vtk.org/t/compiling-vtk-9-3-0-on-cmake-vs-build-error-encountered/13950
**Category:** Support
**Created:** [May 28, 2024, 7:17am UTC](https://discourse.vtk.org/t/compiling-vtk-9-3-0-on-cmake-vs-build-error-encountered/13950 "2024-05-28T07:17:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nerezw](https://discourse.vtk.org/user_avatar/discourse.vtk.org/nerezw/32/8909_2.png) [@nerezw](https://discourse.vtk.org/u/nerezw)
#### Post date: [May 28, 2024, 7:17am UTC](https://discourse.vtk.org/t/compiling-vtk-9-3-0-on-cmake-vs-build-error-encountered/13950/1 "2024-05-28T07:17:39Z")

</div>

I am a very occasional developer. I develop in java as a hobby. I have been battling to upgrade to vtk 9.3.0. msvs 22 throws up error below. I have not been able to find the missing code or the cmake/vs setting to fix it. Please help. Thanks very much.

| Severity | Code | Description | Project | File | Line | Suppression State | Details |
| --- | --- | --- | --- | --- | --- | --- | --- |
| \*\* | Error | LNK2019 | unresolved external symbol \_vtkCompositePolyDataMapper\_Typecast referenced in function \_vtkCompositeSurfaceLICMapper\_Typecast | vtkRenderingLICOpenGL2Java | C:\vtk\vtkBinaries\_9.3.0\Wrapping\Java\vtkCompositeSurfaceLICMapperJava.obj\*\* | 1 | |
