[Insight-developers] ITK Modularization transition pushed

Xiaoxiao Liu xiaoxiao.liu at kitware.com
Thu Mar 10 12:08:27 EST 2011


Hi Williams,
We haven't tested with "BUILD_SHARED_LIBS" ON yet.
It's in our TODO list.
Thanks for the timely report.


On Thu, Mar 10, 2011 at 12:01 PM, Williams, Norman K <
norman-k-williams at uiowa.edu> wrote:

> 1. Used git pullall to get a clean tree.
> 2. Configured (in an empty build directory) thusly:
>
> cmake -DITK_BUILD_ALL_MODULES:BOOL=On \
> -DCMAKE_C_FLAGS:STRING="-Wall -Wextra" \
> -DCMAKE_CXX_FLAGS:STRING="-Wall -Wextra" \
> -DCMAKE_BUILD_TYPE:STRING=Debug \
> -DBUILD_SHARED_LIBS:BOOL=On ../ITK
>
> I get these errors:
>
> CMake Error at ITK/Utilities/NIFTI/src/nifti/znzlib/CMakeLists.txt:13
> (set_target_properties):
>  set_target_properties called with illegal arguments, maybe missing a
>  PROPERTIES specifier?
>
>
> CMake Error at ITK/Utilities/NIFTI/src/nifti/niftilib/CMakeLists.txt:13
> (set_target_properties):
>  set_target_properties called with illegal arguments, maybe missing a
>  PROPERTIES specifier?
>
> If I change to -DBUILD_SHARED_LIBS:BOOL=Off it works fine.
>
>
>
> ________________________________
> Notice: This UI Health Care e-mail (including attachments) is covered by
> the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
> confidential and may be legally privileged.  If you are not the intended
> recipient, you are hereby notified that any retention, dissemination,
> distribution, or copying of this communication is strictly prohibited.
>  Please reply to the sender that you have received the message in error,
> then delete it.  Thank you.
> ________________________________
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>



-- 
---------------------------------------------
*Xiaoxiao Liu*, Ph.D.
R & D Engineer
Kitware Inc <http://www.kitware.com/>.
Clifton Park, NY
Phone: (518) 881-4924  or  (518) 371-3971 x124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110310/8e4f049d/attachment.htm>


More information about the Insight-developers mailing list