[Dgtal-devel] Compilation Problem

Fabien Feschet fabien.feschet at u-auvergne.fr
Thu Jan 30 11:10:29 CET 2014


Hi david,
This was probably a tricky caching problem... of cmake...

I have made a clean re-install with -DBUILD_TESTING=ON
no error

make test is ok also...

Sorry for the message so I cannot today reproduce the problem... 
everything is ok and fine right now...

Thanks and sorry for taking time,

Regards,

Fabien

Le 29/01/2014 20:58, David Coeurjolly a écrit :
> Hi Fabien,
>
> Thanks for the feedback but your issue is weird... (and AFAIK, exampleConstImageAdapter doesn't use QGLviewer features).
>
> Just to be sure: could you please enable the build of unit tests ("cmake .. -DBUILD_TESTING=ON" at cmake step) and run a "make test" ?
>
> In "examples/io/viewers" could you please try to build and run some "viewers3D-..." execs ?
>
> regards,
> dav
>
>
>
> Le 29 janv. 2014 à 11:20, Fabien Feschet <fabien.feschet at u-auvergne.fr> a écrit :
>
>> Hi all,
>>
>> I have recently downloaded DGtal version 0.7.
>>
>> I use a Debian Stable Wheezy with manually installed ITK and GMP.
>>
>> Compilation and execution of examples works fine at first. But then, I tried with the QGLViewer... I got the following error:
>>
>> Scanning dependencies of target exampleConstImageAdapter
>> Linking CXX executable exampleConstImageAdapter
>> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: In function `_start':
>> (.text+0x20): undefined reference to `main'
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [examples/images/exampleConstImageAdapter] Erreur 1
>> make[1]: *** [examples/images/CMakeFiles/exampleConstImageAdapter.dir/all] Erreur 2
>> make: *** [all] Erreur 2
>> fafesche at igcnc-fabien:~/Softwares/DGtal-0.7$ cd examples/graph/
>> fafesche at igcnc-fabien:~/Softwares/DGtal-0.7/examples/graph$ make
>> [ 77%] Built target DGtal
>> [ 95%] Built target DGtalIO
>> Scanning dependencies of target graphTraversal
>>
>> Have some any idea of what is wrong ?
>>
>> Thanks,
>>
>> Fabien
>>
>> PS:
>>
>> The details are the following...
>>
>> libQGLViewer is the standard version in Debian stable:
>> Paquet : libqglviewer-qt4-dev
>> État: installé
>> Version : 2.3.4-4.2
>>
>> Cmake was fine (apparently at least !):
>> -- DGtal Library optional configuration:
>> --    (to change these values, use ccmake, a graphical
>> --    cmake frontend, or define cmake commandline variables
>> --    -e.g. '-DWITH_GMP:string=true'-, cf documentation)
>> -- 
>> --
>> --       WITH_C11          false   (C++ compiler C11 features)
>> --       WITH_OPENMP       false   (OpenMP multithread features)
>> --       WITH_GMP          true    (Gnu Multiprecision Library)
>> --       WITH_EIGEN        false   (Eigen3)
>> --       WITH_CGAL         false   (cgal)
>> --       WITH_ITK          true    (Insight Toolkit ITK image wrapper)
>> --       WITH_CAIRO        true    (CairoGraphics drawing features)
>> --       WITH_HDF5         false   (HDF5 image i/o)
>> --       WITH_MAGICK       true    (GraphicsMagick based 2D image i/o)
>> --       WITH_QGLVIEWER    true    (Qt/QGLViewer based 3D Viewer)
>> -- 
>> -- Checking the dependencies:
>> -- GMP and GMPXX found.
>> --    * GMPXX has iostream capabilities
>> -- GraphicsMagick++ found.
>> -- ITK found /usr/local/lib/cmake/ITK-4.4/UseITK.cmake.
>> -- cairo found
>> -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
>> -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
>> -- Looking for gethostbyname
>> -- Looking for gethostbyname - found
>> -- Looking for connect
>> -- Looking for connect - found
>> -- Looking for remove
>> -- Looking for remove - found
>> -- Looking for shmat
>> -- Looking for shmat - found
>> -- Looking for IceConnectionNumber in ICE
>> -- Looking for IceConnectionNumber in ICE - found
>> -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
>> -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
>> -- libQGLViewer found.
>> --   (OpenGL-GLU ok) /usr/include
>> -- Looking for Q_WS_X11
>> -- Looking for Q_WS_X11 - found
>> -- Looking for Q_WS_WIN
>> -- Looking for Q_WS_WIN - not found.
>> -- Looking for Q_WS_QWS
>> -- Looking for Q_WS_QWS - not found.
>> -- Looking for Q_WS_MAC
>> -- Looking for Q_WS_MAC - not found.
>> -- Found Qt4: /usr/bin/qmake (found version "4.8.2")
>> -- Qt4 found.
>> -- -------------------------------------------------------------------------------
>> -- Build test files DISABLED (you can activate unit tests with '-DBUILD_TESTING=ON' cmake option)
>> -- -------------------------------------------------------------------------------
>> -- Build examples ENABLED
>> -- -------------------------------------------------------------------------------
>> -- Generating DGtalConfig files
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to: /home/fafesche/Softwares/DGtal-0.7
>>
>>
>>
>>
>> _______________________________________________
>> Dgtal-devel mailing list
>> Dgtal-devel at lists.gforge.liris.cnrs.fr
>> http://lists.gforge.liris.cnrs.fr/cgi-bin/mailman/listinfo/dgtal-devel
> ----------------
> David Coeurjolly - Directeur de recherche CNRS
> CNRS, LIRIS-UMR 5205
> Université de Lyon
> Batiment Nautibus
> 43 boulevard du 11 novembre 1918, 69622 Villeurbanne cedex, France
> Tel : (+33) [0]4.72.44.82.40  Fax : (+33) [0]4.72.43.15.36
> http://liris.cnrs.fr/david.coeurjolly
>
>
>
>
>
>
>


-- 
Fabien Feschet (Phd)
Professor in Computer Science
IGCNC Lab - EA 7282
UMR 6284 ISIT
Clermont Université, Université d’Auvergne,
CHU Gabriel Montpied
58 rue Montalembert
F-63003 Clermont-Ferrand.
+33 4 73 751 010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.liris.cnrs.fr/pipermail/dgtal-devel/attachments/20140130/bd0e3692/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FF_signature.png
Type: image/png
Size: 2180 bytes
Desc: not available
URL: <http://lists.gforge.liris.cnrs.fr/pipermail/dgtal-devel/attachments/20140130/bd0e3692/attachment-0001.png>


More information about the Dgtal-devel mailing list