[Smtk-developers] Problem with SMTK Master
David Thompson
david.thompson at kitware.com
Mon May 25 15:52:21 EDT 2015
I fixed CMB's CMake/FindSMTK.cmake file to look in the proper place but if you have a preexisting CMakeCache.txt that has SMTK_INCLUDE_DIR already defined to the old location there will be trouble. It worked for me once I removed SMTK_INCLUDE_DIR from CMB's CMakeCache.txt. If it is causing trouble I can have the superbuild explicitly specify the include dir.
Also, I merged something this morning to SMTK/master (i.e., not included in CMB superbuild yet) that removes the need for FindSMTK.cmake. (SMTK will install an SMTKConfig.cmake file.) One of the reasons I did that was the buildbot superbuilds seem to be having trouble still.
David
> On May 25, 2015, at 3:45 PM, Robert Michael O'Bara <bob.obara at kitware.com> wrote:
>
> Next problem -
> CMake Error at /Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4Develop/paraview/src/paraview/VTK/CMake/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
> Could NOT find SMTK (missing: SMTK_INCLUDE_DIR)
> Call Stack (most recent call first):
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4Develop/paraview/src/paraview/VTK/CMake/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
> CMake/FindSMTK.cmake:30 (find_package_handle_standard_args)
> ModelBridges/CMakeLists.txt:4 (find_package)
>
> Did you fix the developer mode of the SuperBuild when you decided to put versioning in the smtk include path?
>
> Bob
>
> Robert M. O'Bara, MEng.
> Assistant Director of Scientific Computing
>
> Kitware Inc.
> 28 Corporate Drive
> Suite 101
> Clifton Park, NY 12065
>
> Phone: (518) 881- 4931
>
>
>
>
>> On May 25, 2015, at 3:40 PM, Robert Michael O'Bara <bob.obara at kitware.com> wrote:
>>
>> Hi David,
>>
>> Found my problem - thanks!
>>
>> Bob
>>
>> Robert M. O'Bara, MEng.
>> Assistant Director of Scientific Computing
>>
>> Kitware Inc.
>> 28 Corporate Drive
>> Suite 101
>> Clifton Park, NY 12065
>>
>> Phone: (518) 881- 4931
>>
>>
>>
>>
>>> On May 25, 2015, at 2:39 PM, David Thompson <david.thompson at kitware.com> wrote:
>>>
>>> Hi Bob,
>>>
>>>> "/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/install/include/smtk/attribute/MeshSelectionItemDefinition.h” 2
>>>>
>>>> and yes its in that directory.
>>>
>>> But that's the install directory, not the SMTK source directory... you said it was a clean superbuild. Is that a different superbuild?
>>>
>>> Also, I would expect it to be
>>>
>>> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/install/include/smtk/1.0.0/smtk/attribute/MeshSelectionItemDefinition.h
>>>
>>>
>>> (note the smtk/1.0.0) if you have the latest release-v1 branch of SMTK. Perhaps you did not clean out the old superbuild install directory before restarting cleanly? "rm -rf /Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/install/include/smtk" should get you compiling again...
>>>
>>> David
>>>
>>>>
>>>>
>>>>> On May 25, 2015, at 2:01 PM, David Thompson <david.thompson at kitware.com> wrote:
>>>>>
>>>>>> [obara at Gallifrey smtk]$ make attribute/MeshSelectionItem.cxx.i
>>>>>> Preprocessing CXX source to CMakeFiles/smtkCore.dir/attribute/MeshSelectionItem.cxx.i
>>>>>
>>>>> Great. Now look in CMakeFiles/smtkCore.dir/attribute/MeshSelectionItem.cxx.i and find the absolute path of the MeshSelectionItemDefinition header being included. Is it in the superbuild's SMTK source directory?
>>>>>
>>>>> Thanks,
>>>>> David
>>>>
>>>
>>
>
More information about the Smtk-developers
mailing list