[Insight-users] InsightToolkit-3.2.0 build error
Dan Homerick
danhomerick at gmail.com
Thu May 24 13:39:11 EDT 2007
Thank you again for your assistance! I removed my Insight source and binary
directories, then reextracted the tar file and started anew. It worked this
time, even though I didn't change the cmake compatibility setting and I
didn't edit any files.
It shouldn't have worked. I don't know why it did, and I can't reproduce it.
Once I saw that the compilation was working, I started do an Insight
installation on a virtualized fresh installation of Ubuntu (same versions of
Ubuntu, cmake, and gcc) doing everything exactly like I did on the working
side (exactly the same as after I deleted and recreated the binary and
source directories, that is). The installation in the virtualized OS didn't
work -- same problem as I had originally hit, something screwy with the std
namespace causing DICOMFile.c to not compile. I tried changing the cmake
compatibility setting to 2.2 in this case, as well as various rounds of
compiling with BUILD_SHARED_LIBRARIES on and off, and even crossing my
fingers, recreating the directories, and knocking on wood.
At any rate, I've got one compiled installation. But I'm pretty sure I don't
have enough understanding to really try to debug the problem. I should
probably try it with version 6 of Ubuntu or with the CVS version of ITK, but
am rapidly running out of time to play around.
Cheers,
- Dan
On 5/24/07, R Holbrey <richardh at comp.leeds.ac.uk> wrote:
>
>
> >Thank you for the suggestion. Making the change did allow it to get
> >past that point, but then it ran into a whole mess of errors later.
> >Is it likely that I did something wrong at some point during the
> >installation (before I started editing files), or will the 3.2.0
> >release really not compile as-is?
>
> 3.2 seems to build ok on the various boxes I've tried (xp, fc5, fc6)
> though I usually set the cmake compatibility level back to 2.2. This
> (just:) might help since cmake sets this particular define and could be
> adding similar pre-processor things elsewhere.
>
> AFAIK "std::ios_base::Init::Init()" exists (at least on fc6; check your
> ios_base.h), so stl stuff is presumably getting mixed up here and I've
> had more of this kind of trouble mixing libraries on windows. Is there
> some mix-up of headers/libraries? ...try the ubuntu forums.
>
> richard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070524/436fc26b/attachment.html
More information about the Insight-users
mailing list