Build on Debian 9

Build on Debian 9

Postby alsoijw » 13 Dec 2015, 21:56

Hello. I downloaded this game and tried build it.
{l Code}: {l Select All Code}
alsoijw@debian:~/meandmyshadow-0.4~ubuntu$  dpkg-checkbuilddeps
alsoijw@debian:~/meandmyshadow-0.4~ubuntu$  dpkg-buildpackage -rfakeroot -D
dpkg-buildpackage: предупреждение:     debian/changelog(l3): найдено завершение где ожидалось начало данных об изменениях
LINE:  -- upubuntu.com <upubuntu.com@gmail.com>  Thu, 06 Dec 2012 02:54:32 -0800
dpkg-buildpackage: пакет исходного кода meandmyshadow
dpkg-buildpackage: версия исходного кода 0.4~ubuntu
dpkg-buildpackage: дистрибутив исходного кода quantal
dpkg-buildpackage: исходный код изменён upubuntu.com <upubuntu.com@gmail.com>
dpkg-buildpackage: архитектура узла amd64
 dpkg-source --before-build meandmyshadow-0.4~ubuntu
dpkg-source: предупреждение: meandmyshadow-0.4~ubuntu/debian/changelog(l3): найдено завершение где ожидалось начало данных об изменениях
LINE:  -- upubuntu.com <upubuntu.com@gmail.com>  Thu, 06 Dec 2012 02:54:32 -0800
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b meandmyshadow-0.4~ubuntu
dpkg-source: предупреждение: meandmyshadow-0.4~ubuntu/debian/changelog(l3): найдено завершение где ожидалось начало данных об изменениях
LINE:  -- upubuntu.com <upubuntu.com@gmail.com>  Thu, 06 Dec 2012 02:54:32 -0800
dpkg-source: предупреждение: не задан формат исходников в debian/source/format, см. dpkg-source(1)
dpkg-source: инфо: используется формат исходника «1.0»
dpkg-source: инфо: сборка meandmyshadow в meandmyshadow_0.4~ubuntu.tar.gz
dpkg-source: инфо: сборка meandmyshadow в meandmyshadow_0.4~ubuntu.dsc
 debian/rules build
dh build
   dh_testdir
   debian/rules override_dh_auto_configure
make[1]: вход в каталог «/home/alsoijw/meandmyshadow-0.4~ubuntu»
dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/opt/extras.ubuntu.com/meandmyshadow -DDATAROOTDIR=/opt/extras.ubuntu.com/meandmyshadow/share -DICONDIR=/usr/share/icons -DDESKTOPDIR=/usr/share/applications
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_INSTALL_PREFIX=/opt/extras.ubuntu.com/meandmyshadow -DDATAROOTDIR=/opt/extras.ubuntu.com/meandmyshadow/share -DICONDIR=/usr/share/icons -DDESKTOPDIR=/usr/share/applications
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- 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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not 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
-- Found SDL: /usr/lib/x86_64-linux-gnu/libSDLmain.a;/usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version "1.2.15")
-- Found SDL_ttf: /usr/lib/x86_64-linux-gnu/libSDL_ttf.so (found version "2.0.11")
-- Found SDL_image: /usr/lib/x86_64-linux-gnu/libSDL_image.so (found version "1.2.12")
-- Found SDL_mixer: /usr/lib/x86_64-linux-gnu/libSDL_mixer.so (found version "1.2.12")
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.45.0")
-- Found LibArchive: /usr/lib/x86_64-linux-gnu/libarchive.so
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2d")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LOCALSTATEDIR
    CMAKE_INSTALL_SYSCONFDIR


-- Build files have been written to: /home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu
make[1]: выход из каталога «/home/alsoijw/meandmyshadow-0.4~ubuntu»
   dh_auto_build
   make -j1
make[1]: вход в каталог «/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu»
/usr/bin/cmake -H"/home/alsoijw/meandmyshadow-0.4~ubuntu" -B"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu" --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start "/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu/CMakeFiles" "/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu/CMakeFiles/progress.marks"
make -f CMakeFiles/Makefile2 all
make[2]: вход в каталог «/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu»
make -f CMakeFiles/meandmyshadow.dir/build.make CMakeFiles/meandmyshadow.dir/depend
make[3]: вход в каталог «/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu»
cd "/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/home/alsoijw/meandmyshadow-0.4~ubuntu" "/home/alsoijw/meandmyshadow-0.4~ubuntu" "/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu" "/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu" "/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu/CMakeFiles/meandmyshadow.dir/DependInfo.cmake" --color=
Scanning dependencies of target meandmyshadow
make[3]: выход из каталога «/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu»
make -f CMakeFiles/meandmyshadow.dir/build.make CMakeFiles/meandmyshadow.dir/build
make[3]: вход в каталог «/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu»
[  2%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Settings.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Settings.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Settings.cpp"
[  4%] Building CXX object CMakeFiles/meandmyshadow.dir/src/ImageManager.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/ImageManager.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/ImageManager.cpp"
[  6%] Building CXX object CMakeFiles/meandmyshadow.dir/src/MusicManager.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/MusicManager.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/MusicManager.cpp"
[  9%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Timer.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Timer.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Timer.cpp"
[ 11%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Objects.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Objects.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Objects.cpp"
[ 13%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Main.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Main.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Main.cpp"
[ 16%] Building CXX object CMakeFiles/meandmyshadow.dir/src/GUIScrollBar.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/GUIScrollBar.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/GUIScrollBar.cpp"
[ 18%] Building CXX object CMakeFiles/meandmyshadow.dir/src/MD5.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/MD5.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/MD5.cpp"
[ 20%] Building CXX object CMakeFiles/meandmyshadow.dir/src/POASerializer.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/POASerializer.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/POASerializer.cpp"
[ 23%] Building CXX object CMakeFiles/meandmyshadow.dir/src/LevelSelect.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/LevelSelect.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/LevelSelect.cpp"
[ 25%] Building CXX object CMakeFiles/meandmyshadow.dir/src/GUIListBox.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/GUIListBox.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/GUIListBox.cpp"
[ 27%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Globals.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Globals.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Globals.cpp"
[ 30%] Building CXX object CMakeFiles/meandmyshadow.dir/src/TreeStorageNode.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/TreeStorageNode.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/TreeStorageNode.cpp"
[ 32%] Building CXX object CMakeFiles/meandmyshadow.dir/src/GameObjects.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/GameObjects.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/GameObjects.cpp"
[ 34%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Block.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Block.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Block.cpp"
[ 37%] Building CXX object CMakeFiles/meandmyshadow.dir/src/ThemeManager.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/ThemeManager.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/ThemeManager.cpp"
[ 39%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Player.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Player.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Player.cpp"
[ 41%] Building CXX object CMakeFiles/meandmyshadow.dir/src/GUIObject.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/GUIObject.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/GUIObject.cpp"
[ 44%] Building CXX object CMakeFiles/meandmyshadow.dir/src/TitleMenu.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/TitleMenu.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/TitleMenu.cpp"
[ 46%] Building CXX object CMakeFiles/meandmyshadow.dir/src/FileManager.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/FileManager.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp"
/home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp: In function ‘bool extractFile(const string&, const string&)’:
/home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:504:5: warning: ‘int archive_read_open_file(archive*, const char*, size_t)’ is deprecated [-Wdeprecated-declarations]
  if(archive_read_open_file(file,fileName.c_str(),10240)) {
     ^
In file included from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.h:24:0,
                 from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:25:
/usr/include/archive.h:440:15: note: declared here
 __LA_DECL int archive_read_open_file(struct archive *,
               ^
/home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:504:5: warning: ‘int archive_read_open_file(archive*, const char*, size_t)’ is deprecated [-Wdeprecated-declarations]
  if(archive_read_open_file(file,fileName.c_str(),10240)) {
     ^
In file included from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.h:24:0,
                 from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:25:
/usr/include/archive.h:440:15: note: declared here
 __LA_DECL int archive_read_open_file(struct archive *,
               ^
/home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:504:55: warning: ‘int archive_read_open_file(archive*, const char*, size_t)’ is deprecated [-Wdeprecated-declarations]
  if(archive_read_open_file(file,fileName.c_str(),10240)) {
                                                       ^
In file included from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.h:24:0,
                 from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:25:
/usr/include/archive.h:440:15: note: declared here
 __LA_DECL int archive_read_open_file(struct archive *,
               ^
/home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:540:2: warning: ‘int archive_read_finish(archive*)’ is deprecated [-Wdeprecated-declarations]
  archive_read_finish(file);
  ^
In file included from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.h:24:0,
                 from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:25:
/usr/include/archive.h:587:17: note: declared here
 __LA_DECL int   archive_read_finish(struct archive *) __LA_DEPRECATED;
                 ^
/home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:540:2: warning: ‘int archive_read_finish(archive*)’ is deprecated [-Wdeprecated-declarations]
  archive_read_finish(file);
  ^
In file included from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.h:24:0,
                 from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:25:
/usr/include/archive.h:587:17: note: declared here
 __LA_DECL int   archive_read_finish(struct archive *) __LA_DEPRECATED;
                 ^
/home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:540:26: warning: ‘int archive_read_finish(archive*)’ is deprecated [-Wdeprecated-declarations]
  archive_read_finish(file);
                          ^
In file included from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.h:24:0,
                 from /home/alsoijw/meandmyshadow-0.4~ubuntu/src/FileManager.cpp:25:
/usr/include/archive.h:587:17: note: declared here
 __LA_DECL int   archive_read_finish(struct archive *) __LA_DEPRECATED;
                 ^
[ 48%] Building CXX object CMakeFiles/meandmyshadow.dir/src/InputManager.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/InputManager.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/InputManager.cpp"
[ 51%] Building CXX object CMakeFiles/meandmyshadow.dir/src/GUIOverlay.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/GUIOverlay.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/GUIOverlay.cpp"
[ 53%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Shadow.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Shadow.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Shadow.cpp"
[ 55%] Building CXX object CMakeFiles/meandmyshadow.dir/src/GUITextArea.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/GUITextArea.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/GUITextArea.cpp"
[ 58%] Building CXX object CMakeFiles/meandmyshadow.dir/src/LevelEditSelect.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/LevelEditSelect.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/LevelEditSelect.cpp"
[ 60%] Building CXX object CMakeFiles/meandmyshadow.dir/src/GUISlider.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/GUISlider.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/GUISlider.cpp"
[ 62%] Building CXX object CMakeFiles/meandmyshadow.dir/src/LevelPlaySelect.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/LevelPlaySelect.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/LevelPlaySelect.cpp"
[ 65%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Addons.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Addons.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Addons.cpp"
[ 67%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Functions.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Functions.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Functions.cpp"
[ 69%] Building CXX object CMakeFiles/meandmyshadow.dir/src/Game.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/Game.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/Game.cpp"
[ 72%] Building CXX object CMakeFiles/meandmyshadow.dir/src/LevelPackManager.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/LevelPackManager.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/LevelPackManager.cpp"
[ 74%] Building CXX object CMakeFiles/meandmyshadow.dir/src/LevelEditor.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/LevelEditor.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/LevelEditor.cpp"
[ 76%] Building CXX object CMakeFiles/meandmyshadow.dir/src/LevelPack.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/LevelPack.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/LevelPack.cpp"
[ 79%] Building CXX object CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/dictionary.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/dictionary.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/libs/tinygettext/dictionary.cpp"
[ 81%] Building CXX object CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/unix_file_system.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/unix_file_system.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/libs/tinygettext/unix_file_system.cpp"
[ 83%] Building CXX object CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/language.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/language.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/libs/tinygettext/language.cpp"
[ 86%] Building CXX object CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/po_parser.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/po_parser.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/libs/tinygettext/po_parser.cpp"
[ 88%] Building CXX object CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/tinygettext.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/tinygettext.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/libs/tinygettext/tinygettext.cpp"
[ 90%] Building CXX object CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/dictionary_manager.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/dictionary_manager.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/libs/tinygettext/dictionary_manager.cpp"
[ 93%] Building CXX object CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/plural_forms.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/plural_forms.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/libs/tinygettext/plural_forms.cpp"
[ 95%] Building CXX object CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/log.cpp.o
/usr/bin/c++    -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/log.cpp.o -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/libs/tinygettext/log.cpp"
[ 97%] Building C object CMakeFiles/meandmyshadow.dir/src/libs/findlocale/findlocale.c.o
/usr/bin/cc   -I/usr/include/SDL -I"/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu"    -o CMakeFiles/meandmyshadow.dir/src/libs/findlocale/findlocale.c.o   -c "/home/alsoijw/meandmyshadow-0.4~ubuntu/src/libs/findlocale/findlocale.c"
[100%] Linking CXX executable meandmyshadow
/usr/bin/cmake -E cmake_link_script CMakeFiles/meandmyshadow.dir/link.txt --verbose=1
/usr/bin/c++      CMakeFiles/meandmyshadow.dir/src/Settings.cpp.o CMakeFiles/meandmyshadow.dir/src/ImageManager.cpp.o CMakeFiles/meandmyshadow.dir/src/MusicManager.cpp.o CMakeFiles/meandmyshadow.dir/src/Timer.cpp.o CMakeFiles/meandmyshadow.dir/src/Objects.cpp.o CMakeFiles/meandmyshadow.dir/src/Main.cpp.o CMakeFiles/meandmyshadow.dir/src/GUIScrollBar.cpp.o CMakeFiles/meandmyshadow.dir/src/MD5.cpp.o CMakeFiles/meandmyshadow.dir/src/POASerializer.cpp.o CMakeFiles/meandmyshadow.dir/src/LevelSelect.cpp.o CMakeFiles/meandmyshadow.dir/src/GUIListBox.cpp.o CMakeFiles/meandmyshadow.dir/src/Globals.cpp.o CMakeFiles/meandmyshadow.dir/src/TreeStorageNode.cpp.o CMakeFiles/meandmyshadow.dir/src/GameObjects.cpp.o CMakeFiles/meandmyshadow.dir/src/Block.cpp.o CMakeFiles/meandmyshadow.dir/src/ThemeManager.cpp.o CMakeFiles/meandmyshadow.dir/src/Player.cpp.o CMakeFiles/meandmyshadow.dir/src/GUIObject.cpp.o CMakeFiles/meandmyshadow.dir/src/TitleMenu.cpp.o CMakeFiles/meandmyshadow.dir/src/FileManager.cpp.o CMakeFiles/meandmyshadow.dir/src/InputManager.cpp.o CMakeFiles/meandmyshadow.dir/src/GUIOverlay.cpp.o CMakeFiles/meandmyshadow.dir/src/Shadow.cpp.o CMakeFiles/meandmyshadow.dir/src/GUITextArea.cpp.o CMakeFiles/meandmyshadow.dir/src/LevelEditSelect.cpp.o CMakeFiles/meandmyshadow.dir/src/GUISlider.cpp.o CMakeFiles/meandmyshadow.dir/src/LevelPlaySelect.cpp.o CMakeFiles/meandmyshadow.dir/src/Addons.cpp.o CMakeFiles/meandmyshadow.dir/src/Functions.cpp.o CMakeFiles/meandmyshadow.dir/src/Game.cpp.o CMakeFiles/meandmyshadow.dir/src/LevelPackManager.cpp.o CMakeFiles/meandmyshadow.dir/src/LevelEditor.cpp.o CMakeFiles/meandmyshadow.dir/src/LevelPack.cpp.o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/dictionary.cpp.o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/unix_file_system.cpp.o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/language.cpp.o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/po_parser.cpp.o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/tinygettext.cpp.o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/dictionary_manager.cpp.o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/plural_forms.cpp.o CMakeFiles/meandmyshadow.dir/src/libs/tinygettext/log.cpp.o CMakeFiles/meandmyshadow.dir/src/libs/findlocale/findlocale.c.o  -o meandmyshadow -rdynamic -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -lpthread -lSDL_ttf -lSDL_image -lSDL_mixer -lSDL_gfx -lcurl -larchive -lssl -lcrypto -lGLU -lGL
/usr/bin/ld: CMakeFiles/meandmyshadow.dir/src/Functions.cpp.o: неопределённая ссылка на символ «XAllocSizeHints»
//usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/meandmyshadow.dir/build.make:1175: ошибка выполнения рецепта для цели «meandmyshadow»
make[3]: *** [meandmyshadow] Ошибка 1
make[3]: выход из каталога «/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu»
CMakeFiles/Makefile2:70: ошибка выполнения рецепта для цели «CMakeFiles/meandmyshadow.dir/all»
make[2]: *** [CMakeFiles/meandmyshadow.dir/all] Ошибка 2
make[2]: выход из каталога «/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu»
Makefile:130: ошибка выполнения рецепта для цели «all»
make[1]: *** [all] Ошибка 2
make[1]: выход из каталога «/home/alsoijw/meandmyshadow-0.4~ubuntu/obj-x86_64-linux-gnu»
dh_auto_build: make -j1 returned exit code 2
debian/rules:17: ошибка выполнения рецепта для цели «build»
make: *** [build] Ошибка 2
dpkg-buildpackage: ошибка: debian/rules build возвратил код ошибки 2
alsoijw@debian:~/meandmyshadow-0.4~ubuntu$
I fixed it. For do this I edited the file ../src/Functions.cpp. I commented out some lines.
{l Code}: {l Select All Code}
    #ifdef __linux__
            //We assume that a linux system running meandmyshadow is also running an Xorg server.
            if(wmInfo.subsystem==SDL_SYSWM_X11){
                    //Create the size hints to give to the window.
                    //TODO устарело
                    //XSizeHints* sizeHints;
                    //TODO устарело
                    /*if(!(sizeHints=XAllocSizeHints())){
                            cerr<<"ERROR: Unable to allocate memory for XSizeHings."<<endl;
                            return;
                    }*/
                   
                    //TODO устарело
                    //Configure the size hint.
                    //sizeHints->flags=PMinSize;
                    //TODO устарело
                    //sizeHints->min_width=800;
                    //TODO устарело
                    //sizeHints->min_height=600;
                   
                    //Set the normal hints of the window.
                    (void)wmInfo.info.x11.lock_func;
                    //TODO устарело
                    //XSetNormalHints(wmInfo.info.x11.display,wmInfo.info.x11.wmwindow,sizeHints);
                    (void)wmInfo.info.x11.unlock_func;
                   
                    //Free size hint structure
                    //TODO устарело
                    //XFree(sizeHints);
            }else{
                    //No X11 so an unsupported window manager.
                    cerr<<"WARNING: Unsupported window manager."<<endl;
            }
    #elif defined(WIN32)
I will want to build a deb package. How about update source code? Or I have to fork this repository?
alsoijw
 
Posts: 1
Joined: 13 Dec 2015, 21:43

Re: Build on Debian 9

Postby oln » 20 Feb 2016, 15:43

I also hit this issue, the problem seems to be that the cmake script only links to the X11 libraries if hardware acceleration is disabled. If HARDWARE_ACCELERATION is not set to enabled, the game compiles fine.
User avatar
oln
 
Posts: 1014
Joined: 26 Oct 2010, 22:16
Location: Norway

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest