[Insight-users] Problems installing WrapITK on 64-bit Fedora
Core 6
Benjamin Goldenberg
bgoldenberg at numirabio.com
Thu Jul 12 17:29:50 EDT 2007
On Thu, 2007-07-12 at 16:22 -0400, Bill Hoffman wrote:
> Hi Bill,
> > I tried adding the -fPIC option to CMAKE_CXX_FLAGS, and it did not seem
> > to make a difference. I got the same error. I looked for the shared
> > build option, but could not find it in ccmake. How would I go about
> > configuring shared builds? I appreciate the help.
> >
> >
> Are you sure -fPIC was used for building vnl? make VERBOSE=1 will show the
> flags used.
>
> If you set BUILD_SHARED in ccmake that should build it shared, but the
> other should work.
> You would need also to change CMAKE_C_FLAGS as well as CXX.
I am pretty sure -fPIC is being used for building vnl. I have set it in
CMAKE_C_FLAGS and CMAKE_CXX_FLAGS, and using VERBOSE=1 seems to indicate
it is being used. Even, so I am still getting the same error. The
BUILD_SHARED option does not seem to be present in ccmake. For
clarification, I am calling ccmake ../WrapITK in a build directory I
created for WrapITK.
Thanks for the help,
Benjamin
More information about the Insight-users
mailing list