[vtkusers] CMake Error at CMake/vtkModuleAPI.cmake
Christopher Mullins
christopher.mullins at kitware.com
Sat May 10 03:45:59 EDT 2014
Most of these examples haven't been tested with VTK compiled with Qt 5.2.1.
I'm in the process of checking these out and cleaning up the in-source
examples, so thanks for reporting the problem! I'll try it out. Having
looked at that example recently, I may have a fix which I'll have to test
on Windows.
In the meantime, is there a particular reason you need that adaptive mesh
refinement example? If not I'd build without that option. If you're looking
for a large cache of examples you might check out the wiki examples [1].
Sorry that's not really a solution, but maybe someone else will have a
suggestion.
[1] http://www.vtk.org/Wiki/VTK/Examples
On May 10, 2014 2:15 AM, "John Anaia" <john.anaia at gmail.com> wrote:
> Dear vtkusers,
>
> I am having a hard time to configure CMake to build VTK from source. After
> setting source and binary folders on CMakeGUI, I got two error messages
> related to cmTryCompileExec. After skipping these error messages, CMake
> proceeded to a normal completion. Then I enabled Build_Examples, and got
> the following error message:
>
> CMake Error at CMake/vtkModuleAPI.cmake:120 (message):
> Requested modules not available:
>
> vtkTestingCore
> Call Stack (most recent call first):
> C:/vtk61/vtkbin/VTKConfig.cmake:81 (vtk_module_config)
> C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindVTK.cmake:73
> (find_package)
> Examples/AMR/Cxx/CMakeLists.txt:9 (find_package)
>
> My Configuration:
>
> CMake 2.8.212
> VS 11 x64 Pro.
> VTK 6.1
> Qt 5.2.1-opengl (not enabled yet)
> Windows 8.1 Home
> TCL 8.6.1 (Wrap was not enabled yet)
>
> Please help resolve this issue. Thank you all,
> John
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140510/34c22460/attachment.html>
More information about the vtkusers
mailing list