vle-forge / packages

Packages for VLE: output, subformalisms, examples
3 stars 7 forks source link

gvle2.simulating.log: compilation failed #121

Open quesnel opened 8 years ago

quesnel commented 8 years ago

The presence of the -lqwt library is missing in CMakeList.txt.

Trace:

-- The C compiler identification is GNU 4.8.4
-- 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
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'vle-1.1'
--   found vle-1.1, version 1.1.2
-- Found VLE: /media/Stock/usr/include/vle-1.1;/usr/include/libxml2;/usr/include/glibmm-2.4;/usr/lib/x86_64-linux-gnu/glibmm-2.4/include;/usr/include/sigc++-2.0;/usr/lib/x86_64-linux-gnu/sigc++-2.0/include;/usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include  
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   unit_test_framework
--   date_time
--   thread
--   filesystem
--   system
--   chrono
--   regex
--   program_options
-- 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-qt4 (found version "4.8.6") 
-- checking for module 'libxml-2.0'
--   found libxml-2.0, version 2.9.1
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.6") 
-- Configuring done
-- Generating done
-- Build files have been written to: /media/Stock/devel/vle/packages/gvle2.simulating.log/buildvle
Scanning dependencies of target sim_log_automoc
[ 12%] Automoc for target sim_log
Generating moc_sim_log.cpp
Generating moc_simtab.cpp
Generating moc_thread.cpp
Generating moc_widtoolbar.cpp
[ 12%] Built target sim_log_automoc
[ 25%] Generating ui_widtoolbar.h
[ 37%] Generating ui_simtab.h
Scanning dependencies of target sim_log
[ 50%] Building CXX object src/sim_log/CMakeFiles/sim_log.dir/sim_log.cpp.o
[ 62%] Building CXX object src/sim_log/CMakeFiles/sim_log.dir/simtab.cpp.o
[ 75%] Building CXX object src/sim_log/CMakeFiles/sim_log.dir/thread.cpp.o
[ 87%] Building CXX object src/sim_log/CMakeFiles/sim_log.dir/widtoolbar.cpp.o
[100%] Building CXX object src/sim_log/CMakeFiles/sim_log.dir/sim_log_automoc.cpp.o
Linking CXX shared library libsim_log.so
/usr/bin/ld: ne peut trouver -lqwt
collect2: error: ld returned 1 exit status
make[2]: *** [src/sim_log/libsim_log.so] Erreur 1
make[1]: *** [src/sim_log/CMakeFiles/sim_log.dir/all] Erreur 2