<div dir="ltr"><div><div><div><span style="font-family:monospace,monospace">Hi, my name is Kevin,<br><br></span></div><span style="font-family:monospace,monospace">I have recently tried building ParaView Source via external VTK. However, I seem to be running into a snag. For some reason, after my own "fun" debug process of external versus internal builds, it seems the problem comes from this section of ParaViewTopModule.cmake:<br><br>foreach (source_dir IN LISTS PARAVIEW_MODULE_ROOTS)<br> file(GLOB_RECURSE files RELATIVE<br> "${CMAKE_CURRENT_SOURCE_DIR}" "${source_dir}/module.cmake")<br> foreach (module_cmake IN LISTS files)<br> get_filename_component(base "${module_cmake}" PATH)<br> message(STATUS "MODULE_CMAKE ----> ${module_cmake}")<br> if (PARAVIEW_USING_EXTERNAL_VTK)<br> vtk_add_module(<br> "${CMAKE_CURRENT_SOURCE_DIR}/${base}"<br> module.cmake<br> #"${CMAKE_CURRENT_BINARY_DIR}/${base}"<br> ${_test_languages})<br> #message(STATUS "module ----> ${module}")<br> #message(STATUS "CMAKE_CURRENT_BINARY_DIR ----> ${CMAKE_CURRENT_BINARY_DIR}")<br> else()<br> # Simply add to module-search paths for VTK and let VTK deal with it.<br> vtk_add_to_module_search_path(<br> "${CMAKE_CURRENT_SOURCE_DIR}/${base}"<br> "${CMAKE_CURRENT_BINARY_DIR}/${base}")<br> #message(STATUS "CMAKE_CURRENT_BINARY_DIR ----> ${CMAKE_CURRENT_BINARY_DIR}")<br> endif()<br> endforeach()<br>endforeach()<br><br>if (NOT PARAVIEW_USING_EXTERNAL_VTK)<br> # include VTK<br> set (old_build_examples ${BUILD_EXAMPLES})<br> message(STATUS "BUILD EXAMPLES ----> ${BUILD_EXAMPLES}")<br> set (BUILD_EXAMPLES FALSE CACHE BOOL "" FORCE)<br> <span style="background-color:rgb(255,0,0)">add_subdirectory(VTK)</span><br> set (BUILD_EXAMPLES ${old_build_examples} CACHE BOOL "" FORCE)<br> <span style="background-color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">include(${ParaView_BINARY_DIR}/VTK/VTKConfig.cmake)</span></span><br> return()<br>endif()<br><br></span></div><span style="font-family:monospace,monospace">it seems as if the CMakeLists.txt from the External VTK build is not being called. I figured this, because When calling vtkGroups.cmake (which is the next include process), I am only able to access 4 out of the 9 groups... i.e. I only have access to ParaView modules. Therefore, the add_subdirectory for these modules that will be loaded later fails. Is there another step that I should consider that I am not currently seeing? Or am I way off base? Thanks in advance!<br><br></span></div><span style="font-family:monospace,monospace">Kevin E. Dean<br></span></div>
<br>
<span><font color="#888888">This email and its contents are confidential. If you are not the
intended recipient, please do not disclose or use the information within
this email or its attachments. If you have received this email in
error, please report the error to the sender by return email and
delete this communication from your records.</font></span>