Форум программистов
 
Контакты: о проблемах с регистрацией, почтой и по другим вопросам пишите сюда - alarforum@yandex.ru, проверяйте папку спам! Обязательно пройдите активизацию e-mail.

Вернуться   Форум программистов > C++ > Qt и кроссплатформенное программирование С/С++
Регистрация

Восстановить пароль
Повторная активизация e-mail


Ответ
 
Опции темы
Старый 22.08.2017, 10:35   #21
Xuch
Пользователь
 
Регистрация: 25.03.2013
Сообщений: 36
Репутация: 10
По умолчанию

Итак, почистил все, убрал лишнее.
Застрял с gstreamer'ом. Вообще не понимаю чего он хочет. В одной строчке находит gstreamer и даже версию правильно определяет, а в следующей пишет, что библиотеки gstreamer'а не найдены:

Код:

cmake -DCMAKE_TOOLCHAIN_FILE=arm_toolchain.cmake -DCMAKE_INSTALL_PREFIX=/home/aroma/workspace-bvi/libs/qt-gstreamer-0.10.1/target-bin ..
-- The C compiler identification is GNU 4.3.3
-- The CXX compiler identification is GNU 4.3.3
-- Check for working C compiler: /home/aroma/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
-- Check for working C compiler: /home/aroma/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /home/aroma/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++
-- Check for working CXX compiler: /home/aroma/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/bin/qmake (found version "4.7.2") 
-- Boost version: 1.45.0
-- Found PkgConfig: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/bin/pkg-config (found version "0.23") 
-- checking for module 'gstreamer-0.10'
--   found gstreamer-0.10, version 0.10.32
-- checking for module 'gstreamer-base-0.10'
--   found gstreamer-base-0.10, version 0.10.32
-- Could NOT find GSTREAMER_BASE_LIBRARY
-- Found GSTREAMER_BASE_INCLUDE_DIR: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/gstreamer-0.10
-- Could NOT find GStreamer (missing:  GSTREAMER_LIBRARY GSTREAMER_BASE_LIBRARY) (Required is at least version "0.10.31")
-- checking for module 'gstreamer-plugins-base-0.10'
--   found gstreamer-plugins-base-0.10, version 0.10.32
-- checking for module 'gstreamer-app-0.10'
--   found gstreamer-app-0.10, version 0.10.32
-- Could NOT find GSTREAMER_APP_LIBRARY
-- Found GSTREAMER_APP_INCLUDE_DIR: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/gstreamer-0.10
-- checking for module 'gstreamer-interfaces-0.10'
--   found gstreamer-interfaces-0.10, version 0.10.32
-- Could NOT find GSTREAMER_INTERFACES_LIBRARY
-- Found GSTREAMER_INTERFACES_INCLUDE_DIR: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/gstreamer-0.10
-- checking for module 'gstreamer-video-0.10'
--   found gstreamer-video-0.10, version 0.10.32
-- Could NOT find GSTREAMER_VIDEO_LIBRARY
-- Found GSTREAMER_VIDEO_INCLUDE_DIR: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/gstreamer-0.10
-- Could NOT find GStreamerPluginsBase (missing:  GSTREAMER_APP_LIBRARY GSTREAMER_INTERFACES_LIBRARY GSTREAMER_VIDEO_LIBRARY) (Required is at least version "0.10.31")
-- checking for module 'glib-2.0'
--   found glib-2.0, version 2.24.1
-- Could NOT find GLIB2 (missing:  GLIB2_LIBRARIES) 
-- checking for module 'gobject-2.0'
--   found gobject-2.0, version 2.24.1
-- Found GObject: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/glib-2.0  
-- Found FLEX: /usr/bin/flex (found version "2.5.35") 
-- Found BISON: /usr/bin/bison (found version "3.0.2") 
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6") 
-- Could NOT find DOXYFILE_IN (missing:  DOXYFILE_IN) 

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * Qt 4 - Required for building everything
   * Boost - Required for building QtGLib
   * Automoc 4 - Required for the build system to generate moc files properly
   * GObject - Required to build QtGLib
   * Flex - Required to build codegen, a helper code generator
   * Bison - Required to build codegen, a helper code generator
   * Doxygen - Used to generate the API documentation

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * GStreamer base library (0.10.31 or higher)  <http://gstreamer.freedesktop.org/>
     Used for building the qwidgetvideosink element
   * GStreamer video library (0.10.31 or higher)  <http://gstreamer.freedesktop.org/>
     Used for building the qwidgetvideosink element

-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
   * GStreamer (0.10.31 or higher)  <http://gstreamer.freedesktop.org/>
     Required to build QtGStreamer
   * GStreamer app library (0.10.31 or higher)  <http://gstreamer.freedesktop.org/>
     Required to build QtGStreamerUtils
   * GStreamer interfaces library (0.10.31 or higher)  <http://gstreamer.freedesktop.org/>
     Required to build QtGStreamer
   * GLib  <http://www.gtk.org/>
     Required to build QtGLib

-----------------------------------------------------------------------------

Xuch вне форума   Ответить с цитированием
Старый 22.08.2017, 10:45   #22
Xuch
Пользователь
 
Регистрация: 25.03.2013
Сообщений: 36
Репутация: 10
По умолчанию

Библиотека libgstbase-0.10.so лежит в папке
Код:

/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib

Ничего не понимаю...
Xuch вне форума   Ответить с цитированием
Старый 22.08.2017, 11:12   #23
Xuch
Пользователь
 
Регистрация: 25.03.2013
Сообщений: 36
Репутация: 10
По умолчанию

Подправил файл параметров arm-toolchain.cmake к следующему виду:
Код:

SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_VERSION 1)
SET(CMAKE_SYSTEM_PROCESSOR ARM)
SET(CMAKE_C_COMPILER arm-none-linux-gnueabi-gcc)
SET(CMAKE_CXX_COMPILER arm-none-linux-gnueabi-g++)
SET(CMAKE_FIND_ROOT_PATH /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00)
# search for programs in the build host directories
#SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)
# for libraries and headers in the target directories
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
SET(CMAKE_PREFIX_PATH /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib)
SET(Boost_INCLUDE_DIR /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost)
SET(CMAKE_INCLUDE_PATH /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi)

Xuch вне форума   Ответить с цитированием
Старый 22.08.2017, 11:13   #24
Xuch
Пользователь
 
Регистрация: 25.03.2013
Сообщений: 36
Репутация: 10
По умолчанию

Теперь конфигуратор вроде бы все правильно находит:
Код:

cmake -DCMAKE_TOOLCHAIN_FILE=arm_toolchain.cmake -DCMAKE_INSTALL_PREFIX=/home/aroma/workspace-bvi/libs/qt-gstreamer-0.10.1/target-bin -DQTGSTREAMER_CODEGEN=OFF ..
-- The C compiler identification is GNU 4.3.3
-- The CXX compiler identification is GNU 4.3.3
-- Check for working C compiler: /home/aroma/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
-- Check for working C compiler: /home/aroma/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /home/aroma/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++
-- Check for working CXX compiler: /home/aroma/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/bin/qmake (found version "4.7.2") 
-- Boost version: 1.45.0
-- Found PkgConfig: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/bin/pkg-config (found version "0.23") 
-- checking for module 'gstreamer-0.10'
--   found gstreamer-0.10, version 0.10.32
-- checking for module 'gstreamer-base-0.10'
--   found gstreamer-base-0.10, version 0.10.32
-- Found GSTREAMER_BASE_LIBRARY: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgstbase-0.10.so
-- Found GSTREAMER_BASE_INCLUDE_DIR: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/gstreamer-0.10
-- Found GStreamer: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgstreamer-0.10.so (Required is at least version "0.10.31") 
-- checking for module 'gstreamer-plugins-base-0.10'
--   found gstreamer-plugins-base-0.10, version 0.10.32
-- checking for module 'gstreamer-app-0.10'
--   found gstreamer-app-0.10, version 0.10.32
-- Found GSTREAMER_APP_LIBRARY: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgstapp-0.10.so
-- Found GSTREAMER_APP_INCLUDE_DIR: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/gstreamer-0.10
-- checking for module 'gstreamer-interfaces-0.10'
--   found gstreamer-interfaces-0.10, version 0.10.32
-- Found GSTREAMER_INTERFACES_LIBRARY: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgstinterfaces-0.10.so
-- Found GSTREAMER_INTERFACES_INCLUDE_DIR: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/gstreamer-0.10
-- checking for module 'gstreamer-video-0.10'
--   found gstreamer-video-0.10, version 0.10.32
-- Found GSTREAMER_VIDEO_LIBRARY: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgstvideo-0.10.so
-- Found GSTREAMER_VIDEO_INCLUDE_DIR: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/gstreamer-0.10
-- Found GStreamerPluginsBase: TRUE (Required is at least version "0.10.31") 
-- checking for module 'glib-2.0'
--   found glib-2.0, version 2.24.1
-- Found GLIB2: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libglib-2.0.so  
-- checking for module 'gobject-2.0'
--   found gobject-2.0, version 2.24.1
-- Found GObject: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/glib-2.0  
-- Found FLEX: /usr/bin/flex (found version "2.5.35") 
-- Found BISON: /usr/bin/bison (found version "3.0.2") 
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6") 
-- Could NOT find DOXYFILE_IN (missing:  DOXYFILE_IN) 

-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- Configuring done
CMake Warning (dev) in src/QGlib/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "QtGLib" has an INTERFACE_LINK_LIBRARIES property which differs from
  its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libQtCoreE.so;gobject-2.0;gthread-2.0;rt;glib-2.0;/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libQtCoreE.so

  LINK_INTERFACE_LIBRARIES:

    /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libQtCoreE.so

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/QGst/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "QtGStreamer" has an INTERFACE_LINK_LIBRARIES property which differs
  from its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    QtGLib;gobject-2.0;gthread-2.0;rt;glib-2.0;/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgstreamer-0.10.so;/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgstinterfaces-0.10.so;QtGLib

  LINK_INTERFACE_LIBRARIES:

    QtGLib

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/QGst/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "QtGStreamerUtils" has an INTERFACE_LINK_LIBRARIES property which
  differs from its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    QtGStreamer;/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgstreamer-0.10.so;/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgstapp-0.10.so;QtGStreamer

  LINK_INTERFACE_LIBRARIES:

    QtGStreamer

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    QTGSTREAMER_CODEGEN

-- Build files have been written to: /home/aroma/workspace-bvi/libs/qt-gstreamer-0.10.1/build


Но несмотря на ключ -DQTGSTREAMER_CODEGEN=OFF он все равно собирает codegen и поскольку поиск в системных путях отключен, пытается его вызвать из директории с ARM SDK...
Xuch вне форума   Ответить с цитированием
Старый 22.08.2017, 11:19   #25
Xuch
Пользователь
 
Регистрация: 25.03.2013
Сообщений: 36
Репутация: 10
По умолчанию

Подсунул ему туда системный (i386) automoc4, сборка пошла дальше, но опять застряла на линкере:

Код:

make
Scanning dependencies of target codegen
[  1%] Building CXX object codegen/CMakeFiles/codegen.dir/analyzer.cpp.o
/home/aroma/workspace-bvi/libs/qt-gstreamer-0.10.1/build/codegen/analyzer.cpp:2253: warning: 'int yy_top_state()' defined but not used
[  2%] Building CXX object codegen/CMakeFiles/codegen.dir/parser.cpp.o
[  4%] Building CXX object codegen/CMakeFiles/codegen.dir/generator.cpp.o
Linking CXX executable codegen
[  7%] Built target codegen
Scanning dependencies of target QtGLib_automoc
/bin/sh: /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/bin/automoc4: cannot execute binary file: Exec format error
make[2]: *** [src/QGlib/CMakeFiles/QtGLib_automoc] Error 126
make[1]: *** [src/QGlib/CMakeFiles/QtGLib_automoc.dir/all] Error 2
make: *** [all] Error 2
[qt-gstreamer-cmake]:~/workspace-bvi/libs/qt-gstreamer-0.10.1/build> 
[qt-gstreamer-cmake]:~/workspace-bvi/libs/qt-gstreamer-0.10.1/build> 
[qt-gstreamer-cmake]:~/workspace-bvi/libs/qt-gstreamer-0.10.1/build> make
[  7%] Built target codegen
Generating connect.moc
[  7%] Built target QtGLib_automoc
[  8%] Generating gen.cpp
Scanning dependencies of target QtGLib
[ 10%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/QtGLib_automoc.cpp.o
[ 11%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/quark.cpp.o
[ 13%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/type.cpp.o
[ 14%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/paramspec.cpp.o
[ 16%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/object.cpp.o
[ 17%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/value.cpp.o
[ 19%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/signal.cpp.o
[ 20%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/error.cpp.o
[ 22%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/connect.cpp.o
In file included from /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost/boost/mpl/aux_/has_begin.hpp:17,
                 from /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost/boost/mpl/aux_/begin_end_impl.hpp:21,
                 from /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost/boost/mpl/begin_end.hpp:18,
                 from /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost/boost/mpl/aux_/at_impl.hpp:17,
                 from /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost/boost/mpl/at.hpp:18,
                 from /home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost/boost/multi_index_container.hpp:23,
                 from /home/aroma/workspace-bvi/libs/qt-gstreamer-0.10.1/src/QGlib/connect.cpp:25:
/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost/boost/mpl/has_xxx.hpp:344:9: warning: "BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION" is not defined
/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost/boost/mpl/has_xxx.hpp:357:9: warning: "BOOST_MPL_HAS_XXX_NO_WRAPPED_TYPES" is not defined
/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost/boost/mpl/has_xxx.hpp:386:9: warning: "BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION" is not defined
/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/include/boost/boost/mpl/has_xxx.hpp:459:8: warning: "BOOST_MPL_HAS_XXX_NEEDS_TEMPLATE_SFINAE" is not defined
[ 23%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/wrap.cpp.o
[ 25%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/init.cpp.o
[ 26%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/gen.cpp.o
Linking CXX shared library libQtGLib-2.0.so
/home/aroma/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgobject-2.0
collect2: ld returned 1 exit status
make[2]: *** [src/QGlib/libQtGLib-2.0.so.0.10.1] Error 1
make[1]: *** [src/QGlib/CMakeFiles/QtGLib.dir/all] Error 2
make: *** [all] Error 2

При этом библиотека libgobject-2.0.so лежит в папке
Код:

/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/arm-none-linux-gnueabi/usr/lib

жива-здорова...
Xuch вне форума   Ответить с цитированием
Старый 22.08.2017, 11:59   #26
p51x
Профессионал
 
Регистрация: 15.02.2010
Сообщений: 12,286
Репутация: 2073

icq: 216409213
По умолчанию

Я вам цитату из офф доки с выделением для чего приводил?
__________________
Запомните раз и навсегда: помочь != "решите за меня"!
p51x вне форума   Ответить с цитированием
Старый 22.08.2017, 12:11   #27
Xuch
Пользователь
 
Регистрация: 25.03.2013
Сообщений: 36
Репутация: 10
По умолчанию

Вот эту: "If you are crosscompiling, you should make
sure to turn this feature off, since this will compile codegen for the target
architecture and then try to run it, which will fail."??

Так я же говорю, что не работает ключ -DQTGSTREAMER_CODEGEN=OFF и не отключается сборка codegen'а. Я не знаю как его отключить...
Xuch вне форума   Ответить с цитированием
Старый 22.08.2017, 12:40   #28
p51x
Профессионал
 
Регистрация: 15.02.2010
Сообщений: 12,286
Репутация: 2073

icq: 216409213
По умолчанию

Вы перед добавлением очистку кэша cmake делали? Клин делали?
Попробуйте открыть CMakeLists.txt и выключить там
Код:

option(QTGSTREAMER_CODEGEN "Build and use QtGStreamer's codegen" OFF)

__________________
Запомните раз и навсегда: помочь != "решите за меня"!
p51x вне форума   Ответить с цитированием
Старый 22.08.2017, 13:16   #29
Xuch
Пользователь
 
Регистрация: 25.03.2013
Сообщений: 36
Репутация: 10
По умолчанию

Очищал все уже миллион раз..
В CMakeLists.txt другой синтаксис и нет option, а QTGSTREAMER_CODEGEN из ключа запуска cmake там прописывается следующим образом:
Код:

//pkg-config executable
PKG_CONFIG_EXECUTABLE:FILEPATH=/home/aroma/ti-ezsdk_dm816x-evm_5_05_02_00/linux-devkit/bin/pkg-config

//No help, variable specified on the command line.
QTGSTREAMER_CODEGEN:UNINITIALIZED=OFF

Возможно, в версии qt-gstreamer-0.10.1 это как-то выключается по-другому или вообще не выключается...
Xuch вне форума   Ответить с цитированием
Старый 22.08.2017, 14:04   #30
p51x
Профессионал
 
Регистрация: 15.02.2010
Сообщений: 12,286
Репутация: 2073

icq: 216409213
По умолчанию

Ну если смотреть гист, то
Код:

set(QTGSTREAMER_VERSION 0.10.1.1)
 option(QTGSTREAMER_STATIC "Build QtGStreamer as a static library" OFF)
 option(QTGSTREAMER_TESTS "Build QtGStreamer's tests" OFF)
 option(QTGSTREAMER_EXAMPLES "Build QtGStreamer's examples" ON)
+option(QTGSTREAMER_CODEGEN "Build and use QtGStreamer's codegen" OFF)
 option(USE_GST_PLUGIN_DIR "Install plugins together with the other gstreamer plugins" ON)

В новом https://github.com/GStreamer/qt-gstr...CMakeLists.txt это до сих пор есть. Есть ли смысл держаться за старую версию? Если это супер важно, то смотрите гист и редактируйте ориентируясь на него.
__________________
Запомните раз и навсегда: помочь != "решите за меня"!
p51x вне форума   Ответить с цитированием
Ответ

Опции темы

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
GNU ARM автоматический поиск .c файлов библиотеки Aoizora Микроконтроллеры, робототехника, схемотехника, 3D принтеры 5 01.08.2017 08:29
Работа с периферией ARM F100RBT6B без библиотеки CMSIS Aoizora Микроконтроллеры, робототехника, схемотехника, 3D принтеры 4 18.07.2017 23:47
Прошу помощи в написании программ для работы с текстовыми файлами Никита757 Паскаль 1 15.12.2015 22:35
Прошу помощи в разборе куска кода драйвера RIL под ARM Lebets_VI Win Api 0 14.08.2009 13:58


04:22.


Powered by vBulletin® Version 3.8.8 Beta 2
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

RusProfile.ru


Справочник российских юридических лиц и организаций.
Проекты отопления, пеллетные котлы, бойлеры, радиаторы
интернет магазин respective.ru