[Paraview-developers] building paraview with examples - getting LNK2019 & LNK2001 errors - vtkRenderingFreeType

Cory Quammen cory.quammen at kitware.com
Fri Oct 23 10:48:30 EDT 2015


Hi Michael,

I just wanted to let you know that I can confirm the same error with Visual
Studio 2008. I don't have a fix for it at the moment, though.

Cory

On Fri, Oct 16, 2015 at 12:40 PM, Hillier, Michael (NRCan/RNCan) <
michael.hillier at canada.ca> wrote:

> Hello,
>
>
>
> I am having trouble building paraview from source whenever I toggle
> ‘BUILD_EXAMPLES’ in cmake. I use Visual Studio to compile the source code.
> Here are examples of the compiler errors :
>
>
>
> Error      14389    error LNK2019: unresolved external symbol "void
> __cdecl vtkRenderingFreeType_AutoInit_Construct(void)"
> (?vtkRenderingFreeType_AutoInit_Construct@@YAXXZ) referenced in function
> "public: __cdecl
> vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit(void)"
> (??0vtkRenderingCore_AutoInit@@QEAA at XZ)
> [C:\Development\ParaView\ParaView-v4.4.0-source\ParaView-v4.4.0-source\_build\Examples\All\Plugins\Autostart\Autostart.vcxproj]
> C:\Development\ParaView\ParaView-v4.4.0-source\ParaView-v4.4.0-source\_build\pqMyApplicationStarterImplementation.obj
> ParaViewExamples
>
>
>
> Error      14390    error LNK2001: unresolved external symbol "void
> __cdecl vtkRenderingFreeType_AutoInit_Construct(void)"
> (?vtkRenderingFreeType_AutoInit_Construct@@YAXXZ)
> [C:\Development\ParaView\ParaView-v4.4.0-source\ParaView-v4.4.0-source\_build\Examples\All\Plugins\Autostart\Autostart.vcxproj]
> C:\Development\ParaView\ParaView-v4.4.0-source\ParaView-v4.4.0-source\_build\moc_pqMyApplicationStarterImplementation.obj
> ParaViewExamples
>
>
>
> All the compile errors are related to vtkRenderingFreeType. These errors
> are producing when generating debug and release builds. I have also tried
> compiling on different computers with different versions of visual studio
> and I always get the same results. Whenever, I disable the ‘BUILD_EXAMPLES’
> in cmake it builds successfully.
>
>
>
> It’s very clear that the vtkRenderingFreeType library is not being linked
> in the ‘ParaViewExamples’ project in the ParaView.sln. Normally I would
> just include the library in linker for that project, but looking at the
> properties of the ‘ParaViewExamples’ project there is no ‘Linker’ tab in
> the property page. Obviously, the project did not get properly generated
> via cmake.
>
>
>
> Does anyone know how to fix this?
>
>
>
> Thanks
>
>
>
> Michael Hillier
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>


-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20151023/e6d93d18/attachment.html>


More information about the Paraview-developers mailing list