[MINC-users] Problem building Display

Audette, Michel A. maudette at odu.edu
Thu Mar 1 18:37:12 EST 2012


Hi Haz-edine, 

I'll ask my student Tanweer to get in touch with you with this output. 

Thanks for your kind support. 

Michel
Michel Audette, Ph.D.
Assistant Professor,
Department of Modeling, Simulation and Visualization Engineering,
Old Dominion University,
Norfolk, VA.
________________________________________
From: minc-users-bounces at bic.mni.mcgill.ca [minc-users-bounces at bic.mni.mcgill.ca] On Behalf Of Haz-Edine Assemlal [assemlal at cim.mcgill.ca]
Sent: Thursday, March 01, 2012 5:04 PM
To: MINC users mailing list
Subject: Re: [MINC-users] Problem building Display

Hi Audette,

This error is typical of incoherency between the header and the shared
library. Maybe you have two MINC2 libraries (maybe headers only)
installed in your system.

Can you go the Display source directory and do:
$ make clean
$ make VERBOSE=1

and send me the output.

Thanks,
Haz-Edine


On Thu, 2012-03-01 at 16:21 -0500, Audette, Michel A. wrote:
> Hi Haz-Edine,
>
> we're trying your solution, but we're having a build problem...
> Linking C executable Display
> /usr/local/lib/libvolume_io2.so: undefined reference to `MI2dimdef'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miicv_get'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miattputdbl'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miicv_free'
> /usr/local/lib/libvolume_io2.so: undefined reference to `MI2varinq'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miattgetstr'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miicv_put'
> /usr/local/lib/libvolume_io2.so: undefined reference to `MI2attput'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miget_valid_range'
> /usr/local/lib/libvolume_io2.so: undefined reference to `micopy_all_var_values'
> /usr/local/lib/libvolume_io2.so: undefined reference to `micopy_all_atts'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miicv_inqdbl'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miicv_detach'
> /usr/local/lib/libvolume_io2.so: undefined reference to `MI2attinq'
> /usr/local/lib/libvolume_io2.so: undefined reference to `mivarput'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miicv_setint'
> /usr/local/lib/libvolume_io2.so: undefined reference to `MI2endef'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miicv_setdbl'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miattget'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miclose'
> /usr/local/lib/libvolume_io2.so: undefined reference to `mivarput1'
> /usr/local/lib/libvolume_io2.so: undefined reference to `MI2attdel'
> /usr/local/lib/libvolume_io2.so: undefined reference to `micreate_std_variable'
> /usr/local/lib/libvolume_io2.so: undefined reference to `micreate'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miicv_setstr'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miattputstr'
> /usr/local/lib/libvolume_io2.so: undefined reference to `MI2varid'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miicv_create'
> /usr/local/lib/libvolume_io2.so: undefined reference to `micreate_tempfile'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miicv_attach'
> /usr/local/lib/libvolume_io2.so: undefined reference to `mivarget'
> /usr/local/lib/libvolume_io2.so: undefined reference to `micopy_all_var_defs'
> /usr/local/lib/libvolume_io2.so: undefined reference to `MI2diminq'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miset_valid_range'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miattget1'
> /usr/local/lib/libvolume_io2.so: undefined reference to `miopen'
> collect2: ld returned 1 exit status
>
> I've tried both static and shared minc2 libraries. We're using ccmake as follows...
>
>  MINC_INCLUDE_DIR                 /usr/local/include
>  MINC_minc2_LIBRARY               /usr/local/lib/libminc2.a
>  MINC_volume_io2_LIBRARY          /usr/local/lib/libvolume_io2.so
>
> Thanks for your kind support.
>
> Michel
>
> Michel Audette, Ph.D.
> Assistant Professor,
> Department of Modeling, Simulation and Visualization Engineering,
> Old Dominion University,
> Norfolk, VA.
> ________________________________________
> From: minc-users-bounces at bic.mni.mcgill.ca [minc-users-bounces at bic.mni.mcgill.ca] On Behalf Of Haz-Edine Assemlal [assemlal at cim.mcgill.ca]
> Sent: Thursday, March 01, 2012 1:29 PM
> To: MINC users mailing list
> Subject: Re: [MINC-users] Problem building Display
>
> Hi,
>
> Alternatively, I've been working a bit on Display recently. You are
> welcome give it a try. The latest version is using CMake in place of
> autotools:
>
> https://github.com/hassemlal/Display/tags
>
> Haz-Edine
>
>
>
> On Fri, 2012-03-02 at 03:35 +1000, Andrew Janke wrote:
> > On 29 February 2012 14:40, Claude LEPAGE <claude at bic.mni.mcgill.ca> wrote:
> > > This is probably the known bug that Andrew and I know how to
> > > fix but haven't taken the time to do so.
> >
> > Probably guilty as charged, but from what I can see this "bug" is not
> > a bug in minc, it seems to be in libtool.
> >
> > I'd be very curious to know if running
> >
> >    $ libtoolize --automake --copy
> >
> > In the Display directory and then re-running:
> >
> >    $ ./autogen.sh
> >
> > and
> >
> >    $ ./configure --with-build-path=/usr/local/bic ...
> >
> > fixes things.
> >
> > ta
> >
> >
> > a
> > _______________________________________________
> > MINC-users at bic.mni.mcgill.ca
> > http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
>
> --
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users


_______________________________________________
MINC-users at bic.mni.mcgill.ca
http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users


--
BEGIN-ANTISPAM-VOTING-LINKS
------------------------------------------------------

Teach CanIt if this mail (ID 621969739) is spam:
Spam:        https://www.spamtrap.odu.edu/b.php?i=621969739&m=b64baa469f6e&t=20120301&c=s
Not spam:    https://www.spamtrap.odu.edu/b.php?i=621969739&m=b64baa469f6e&t=20120301&c=n
Forget vote: https://www.spamtrap.odu.edu/b.php?i=621969739&m=b64baa469f6e&t=20120301&c=f
------------------------------------------------------
END-ANTISPAM-VOTING-LINKS



More information about the MINC-users mailing list