[MINC-users] brain-view 0.8 on Ubuntu precise ...

Claude LEPAGE claude at bic.mni.mcgill.ca
Tue Apr 16 23:00:35 EDT 2013


Hi all,

Sylvain gave me access to a Ubuntu precise machine and I managed
to link brain-view-0.8.0. Some notes (features/bugs):
- I had to repeat the link by appending -lQt3Support at the end
  of the link line. This is gcc 4.6. Maybe the order in which
  -lQt3Support is listed matters for this compiler. A mystery...
  Try with an old compiler???
- I had to set the proper include path for Qt4 (not the one below),
  but that's a minor detail.
- the configure skips the check for BicInventor (and oobicpl).
  I don't know why. Maybe I have to re-run autogen.sh to upgrade
  the building scripts to the version of autoconf on the system.
  Maybe fixing this check for BicInventor will fix the link problem.

Anyway, it linked. 

Claude

> has anyone successfuly compiled brain-view (version 0.8) on Ubuntu precise =
> ?
>
> I get some undefined references at load time, here's the top of
> the list:
>
> g++  -DQT3_SUPPORT  -lQt3Support -L/data/software/BIC/Build/Minc-2/Ubuntu-1=
> 2.04/install//usr/local/bic/lib  -L/usr/lib -Wl,-Bsymbolic-functions -Wl,-z=
> ,relro -L/usr/share/qt4/lib  -o brain-view  brain-view.o callbacks.o pointI=
> nfoWindow.o pointPicker.o brainApp.o brainWidget.o vertStatsFileDialog.o br=
> ainEnvironment.o vertstatsForm.o vertexInfo.o screenCaptureForm.o screenCap=
> ture.o optionsForm.o options.o rplotformbase.o anatconForm.o anatcon.o RPlo=
> t.o extselection.o Rinterface.o pointInfoWindow.moc.o pointPicker.moc.o bra=
> inApp.moc.o brainWidget.moc.o vertstatsForm.moc.o vertexInfo.moc.o screenCa=
> ptureForm.moc.o screenCapture.moc.o optionsForm.moc.o options.moc.o rplotfo=
> rmbase.moc.o RPlot.moc.o Rinterface.moc.o anatconForm.moc.o anatcon.moc.o  =
> -lbicInventor -lCoin -lGL  -lSM -lICE -lXmu -lXext -lSM -lICE -lXi -lX11  -=
> loobicpl -lpcre++ -lpcre -lbicpl -lvolume_io2 -lminc2 -lhdf5 -lz -lnetcdf -=
> lm -lSoQt4 -lQtOpenGL -lQtGui -lQtCore -lXmu -lXi -lCoin -lGL -lXext -lSM -=
> lICE -lX11 -ldl -lpthread -lCoin -lGL -lXext -lSM -lICE -lX11 -ldl -lpthrea=
> d=20
> brain-view.o:(.rodata._ZTV7Q3GList[vtable for Q3GList]+0x18): undefined ref=
> erence to `Q3GList::clear()'
> brain-view.o:(.rodata._ZTV7Q3GList[vtable for Q3GList]+0x20): undefined ref=
> erence to `Q3GList::~Q3GList()'
> brain-view.o:(.rodata._ZTV7Q3GList[vtable for Q3GList]+0x28): undefined ref=
> erence to `Q3GList::~Q3GList()'
> brain-view.o:(.rodata._ZTV7Q3GList[vtable for Q3GList]+0x30): undefined ref=
> erence to `Q3PtrCollection::newItem(void*)'
> brain-view.o:(.rodata._ZTV7Q3GList[vtable for Q3GList]+0x40): undefined ref=
> erence to `Q3GList::compareItems(void*, void*)'
> brain-view.o:(.rodata._ZTV7Q3GList[vtable for Q3GList]+0x48): undefined ref=
> erence to `Q3GList::read(QDataStream&, void*&)'
> brain-view.o:(.rodata._ZTV7Q3GList[vtable for Q3GList]+0x50): undefined ref=
> erence to `Q3GList::write(QDataStream&, void*) const'
> brain-view.o:(.rodata._ZTI7Q3GList[typeinfo for Q3GList]+0x10): undefined r=
> eference to `typeinfo for Q3PtrCollection'
> pointInfoWindow.o: In function `coordinateInfoSet::coordinateInfoSet(QWidge=
> t*, char const*)':
> pointInfoWindow.cc:(.text+0x53): undefined reference to `Q3HBox::Q3HBox(QWi=
> dget*, char const*, QFlags<Qt::WindowType>)'
> pointInfoWindow.o: In function `textureInfoSet::textureInfoSet(QWidget*, ch=
> ar const*)':
> pointInfoWindow.cc:(.text+0x7ff): undefined reference to `Q3HBox::Q3HBox(QW=
> idget*, char const*, QFlags<Qt::WindowType>)'
> pointInfoWindow.o: In function `pointInfoWindow::pointInfoWindow(QWidget*, =
> char const*)':
> pointInfoWindow.cc:(.text+0xbb4): undefined reference to `Q3VBox::Q3VBox(QW=
> idget*, char const*, QFlags<Qt::WindowType>)'
> pointInfoWindow.o: In function `Q3HBox::~Q3HBox()':
> pointInfoWindow.cc:(.text._ZN6Q3HBoxD2Ev[_ZN6Q3HBoxD5Ev]+0x13): undefined r=
> eference to `vtable for Q3HBox'
> pointInfoWindow.cc:(.text._ZN6Q3HBoxD2Ev[_ZN6Q3HBoxD5Ev]+0x1f): undefined r=
> eference to `vtable for Q3HBox'
> pointInfoWindow.cc:(.text._ZN6Q3HBoxD2Ev[_ZN6Q3HBoxD5Ev]+0x2b): undefined r=
> eference to `Q3Frame::~Q3Frame()'
> pointInfoWindow.o: In function `Q3VBox::~Q3VBox()':
> pointInfoWindow.cc:(.text._ZN6Q3VBoxD2Ev[_ZN6Q3VBoxD5Ev]+0x13): undefined r=
> eference to `vtable for Q3VBox'
> pointInfoWindow.cc:(.text._ZN6Q3VBoxD2Ev[_ZN6Q3VBoxD5Ev]+0x1f): undefined r=
> eference to `vtable for Q3VBox'
> =2E..
>
> ideas anyone ?
>
> Sylvain
> ---830177870-344973567-1366152486=:22420
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
> ---830177870-344973567-1366152486=:22420--
>


More information about the MINC-users mailing list