[Ktechlab-devel] updated readme for source tree

Zoltan Padrah zoltan.padrah at gmail.com
Wed Nov 23 20:45:38 UTC 2011


  Hi,

I just ran a test build on my system. I uninstalled the Eigen2 library,  
and run cmake in an empty directory. It printed that

-- Could NOT find Eigen2  (missing:  EIGEN2_INCLUDE_DIR EIGEN2_VERSION_OK)

but it successfully created the build environment and then a build also  
completed successfully, without Eigen2. If on your system you are unable  
to compile ktechlab when you don't have Eigen2 installed, than it's a  
buildsystem bug.

Best regards,

  Zoltan

P.S: by mistake I also sent an empty response email to the list; please  
ignore it




On Sat, 19 Nov 2011 08:36:24 +0100, Slavko <slavino at slavino.sk> wrote:

> hi,
>
> Dňa Wed, 16 Nov 2011 10:41:43 +0100 Zoltan Padrah
> <zoltan.padrah at gmail.com> napísal:
>
>> the readme file for ktechlab source tree is mostly completed:
>>
>> http://ktechlab.git.sourceforge.net/git/gitweb.cgi?p=ktechlab/ktl-zoltan_p;a=blob;f=README;hb=HEAD
>>
>> https://github.com/ktechlab/ktechlab/blob/new-gui/README
>
> i tried to folow build instructions. For my system (debian testing amd64)
> was missing dependency:
>
> -- Could NOT find Eigen2  (missing:  EIGEN2_INCLUDE_DIR)  (Required is  
> at least version "2.0.0")
>
> which was not mentioned in dependecies, after installation this dev
> packages i get from cmake:
>
> cmake .. -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- 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 suitable version "4.7.3", required  
> is "4.6.0")
> -- WARNING: you are using the obsolete 'PKGCONFIG' macro use  
> FindPkgConfig
> -- WARNING: you are using the obsolete 'PKGCONFIG' macro use  
> FindPkgConfig
> -- WARNING: you are using the obsolete 'PKGCONFIG' macro use  
> FindPkgConfig
> -- WARNING: you are using the obsolete 'PKGCONFIG' macro use  
> FindPkgConfig
> -- Found GLib2:  
> /usr/lib/libglib-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libgobject-2.0.so
> -- Found Qt-Version 4.7.3 (using /usr/bin/qmake)
> -- Looking for XOpenDisplay in  
> /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libXft.so;/usr/lib/x86_64-linux-gnu/libXau.so;/usr/lib/x86_64-linux-gnu/libXdmcp.so
> -- Looking for XOpenDisplay in  
> /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libXft.so;/usr/lib/x86_64-linux-gnu/libXau.so;/usr/lib/x86_64-linux-gnu/libXdmcp.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
> -- Looking for include files CMAKE_HAVE_PTHREAD_H
> -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE
> -- Looking for _POSIX_TIMERS
> -- Looking for _POSIX_TIMERS - found
> -- Found Automoc4: /usr/bin/automoc4
> -- Found Perl: /usr/bin/perl
> -- Found Phonon: /usr/include
> -- Performing Test _OFFT_IS_64BIT
> -- Performing Test _OFFT_IS_64BIT - Success
> -- Performing Test HAVE_FPIE_SUPPORT
> -- Performing Test HAVE_FPIE_SUPPORT - Success
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
> -- Found KDE 4.6 include dir: /usr/include
> -- Found KDE 4.6 library dir: /usr/lib
> -- Found the KDE4 kconfig_compiler preprocessor:  
> /usr/bin/kconfig_compiler
> -- Found automoc4: /usr/bin/automoc4
> -- Found KDevPlatform:  
> /usr/lib/cmake/kdevplatform/KDevPlatformConfig.cmake
> -- Performing Test HAVE_GPSIM_0_21_4
> -- Performing Test HAVE_GPSIM_0_21_4 - Failed
> -- Performing Test HAVE_GPSIM_0_21_11
> -- Performing Test HAVE_GPSIM_0_21_11 - Failed
> -- Looking for C++ include /usr/include/gpsim/ValueCollections.h
> -- Looking for C++ include /usr/include/gpsim/ValueCollections.h - found
> -- GPSim 0.21.12 found
> -- Found Eigen2: /usr/include/eigen2  (found version "2.0.16", required  
> is "2.0.0")
> -- Found SharedMimeInfo: /usr/bin/update-mime-database  (found version  
> "0.90", required is "0.30")
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /tmp/ktechlab/build
>
>
> but make fails with:
>
> Scanning dependencies of target ktlmath_automoc
> [  0%] Built target ktlmath_automoc
> Scanning dependencies of target ktlmath
> [  1%] Building CXX object  
> src/math/CMakeFiles/ktlmath.dir/ktlmath_automoc.o
> [  1%] Building CXX object src/math/CMakeFiles/ktlmath.dir/matrix.o
> /tmp/ktechlab/src/math/matrix.cpp: In member function ‘bool  
> KTechLab::Matrix::validate() const’:
> /tmp/ktechlab/src/math/matrix.cpp:305:21: warning: comparison between  
> signed and unsigned integer expressions [-Wsign-compare]
> /tmp/ktechlab/src/math/matrix.cpp:307:22: warning: comparison between  
> signed and unsigned integer expressions [-Wsign-compare]
> [  2%] Building CXX object src/math/CMakeFiles/ktlmath.dir/quickvector.o
> [  2%] Building CXX object src/math/CMakeFiles/ktlmath.dir/quickmatrix.o
> Linking CXX shared library ../../lib/libktlmath.so
> [  2%] Built target ktlmath
> Scanning dependencies of target mathtest_automoc
> Generating matrixtester.moc
> [  2%] Built target mathtest_automoc
> Scanning dependencies of target mathtest
> [  3%] Building CXX object  
> tests/math/CMakeFiles/mathtest.dir/mathtest_automoc.o
> [  3%] Building CXX object  
> tests/math/CMakeFiles/mathtest.dir/matrixtester.o
> /tmp/ktechlab/tests/math/matrixtester.cpp: In member function ‘double  
> MatrixTester::differenceOfVectors(const VectorXd&, const  
> KTechLab::QuickVector&)’:
> /tmp/ktechlab/tests/math/matrixtester.cpp:80:36: warning: comparison  
> between signed and unsigned integer expressions [-Wsign-compare]
> /tmp/ktechlab/tests/math/matrixtester.cpp:85:33: warning: comparison  
> between signed and unsigned integer expressions [-Wsign-compare]
> Linking CXX executable mathtest
> /usr/bin/ld: CMakeFiles/mathtest.dir/matrixtester.o: undefined reference  
> to symbol 'QObject::childEvent(QChildEvent*)'
> /usr/bin/ld: note: 'QObject::childEvent(QChildEvent*)' is defined in DSO  
> /usr/lib/libQtCore.so.4 so try adding it to the linker command line
> /usr/lib/libQtCore.so.4: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[2]: *** [tests/math/mathtest] Error 1
> make[1]: *** [tests/math/CMakeFiles/mathtest.dir/all] Error 2
> make: *** [all] Error 2
>
> can someone explain and help me, please?
>
> regards




More information about the Ktechlab-devel mailing list