LINUX.ORG.RU

Установить libvisio2svg

 


0

1

Привет народ!!! Хочу поставить прогу (https://github.com/kakwa/libvisio2svg) для конвертирования (VSS and VSD) to SVG. Но при сборке возникают проблемы:

cmake . -DCMAKE_INSTALL_PREFIX=/usr/
-- Find Header Directory for libemf2svg: LIBEMF2SVG_INCLUDE_DIR-NOTFOUND
-- Find Dynamic Library for libemf2svg:  LIBEMF2SVG_LIBRARIES-NOTFOUND
-- Find Header Directory for libwmf: LIBWMF_INCLUDE_DIR-NOTFOUND
-- Find Dynamic Library for libwmf:  LIBWMF_LIBRARIES-NOTFOUND
-- Find Dynamic Library for libwmflite:  LIBWMFLITE_LIBRARIES-NOTFOUND
-- Find Header Directory for librevenge: LIBREVENGE_INCLUDE_DIR-NOTFOUND
-- Find Header Directory for librevenge: LIBREVENGE_STREAM_INCLUDE_DIR-NOTFOUND
-- Find Dynamic Library for librevenge:  LIBREVENGE_LIBRARIES-NOTFOUND
-- Find Dynamic Library for librevenge:  LIBREVENGE_STREAM_LIBRARY-NOTFOUND
-- Find Header Directory for libvisio: LIBVISIO_INCLUDE_DIR-NOTFOUND
-- Find Dynamic Library for libvisio:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBEMF2SVG_INCLUDE_DIR
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
LIBEMF2SVG_LIBRARIES
    linked by target "Visio2Svg" in directory /tmp/libvisio2svg
LIBREVENGE_INCLUDE_DIR
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
LIBREVENGE_LIBRARIES
    linked by target "TitleGenerator" in directory /tmp/libvisio2svg
    linked by target "Visio2Svg" in directory /tmp/libvisio2svg
LIBREVENGE_STREAM_LIBRARY
    linked by target "Visio2Svg" in directory /tmp/libvisio2svg
LIBVISIO_INCLUDE_DIR
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
LIBWMFLITE_LIBRARIES
    linked by target "Visio2Svg" in directory /tmp/libvisio2svg
LIBWMF_INCLUDE_DIR
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
   used as include directory in directory /tmp/libvisio2svg
LIBWMF_LIBRARIES
    linked by target "Visio2Svg" in directory /tmp/libvisio2svg

-- Configuring incomplete, errors occurred!

Смотрел файл CMakeLists.txt, переменные вижу, как их править - не пойму. Помогите кто умеет!

P.S. ОС SentOS 7



Последнее исправление: dim4k (всего исправлений: 1)

Ответ на: комментарий от RazrFalcon

Cent OS7. Поставил libvisio-devel.x86_64 и Теперь ошибка изменилась!

libvisio2svg-master]# cmake . -DCMAKE_INSTALL_PREFIX=/usr/
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- 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
-- 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
-- Find Header Directory for libemf2svg: LIBEMF2SVG_INCLUDE_DIR-NOTFOUND
-- Find Dynamic Library for libemf2svg:  LIBEMF2SVG_LIBRARIES-NOTFOUND
-- Find Header Directory for libwmf: LIBWMF_INCLUDE_DIR-NOTFOUND
-- Find Dynamic Library for libwmf:  LIBWMF_LIBRARIES-NOTFOUND
-- Find Dynamic Library for libwmflite:  LIBWMFLITE_LIBRARIES-NOTFOUND
-- Find Header Directory for librevenge: /usr/include/librevenge-0.0
-- Find Header Directory for librevenge: /usr/include/librevenge-0.0
-- Find Dynamic Library for librevenge:  /usr/lib64/librevenge-0.0.so
-- Find Dynamic Library for librevenge:  /usr/lib64/librevenge-stream-0.0.so
-- Find Header Directory for libvisio: /usr/include/libvisio-0.1
-- Find Dynamic Library for libvisio:  /usr/lib64/libvisio-0.1.so
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.8.0")
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBEMF2SVG_INCLUDE_DIR
   used as include directory in directory /usr/libvisio2svg-master
   used as include directory in directory /usr/libvisio2svg-master
   used as include directory in directory /usr/libvisio2svg-master
   used as include directory in directory /usr/libvisio2svg-master
   used as include directory in directory /usr/libvisio2svg-master
LIBEMF2SVG_LIBRARIES
    linked by target "Visio2Svg" in directory /usr/libvisio2svg-master
LIBWMFLITE_LIBRARIES
    linked by target "Visio2Svg" in directory /usr/libvisio2svg-master
LIBWMF_INCLUDE_DIR
   used as include directory in directory /usr/libvisio2svg-master
   used as include directory in directory /usr/libvisio2svg-master
   used as include directory in directory /usr/libvisio2svg-master
   used as include directory in directory /usr/libvisio2svg-master
   used as include directory in directory /usr/libvisio2svg-master
LIBWMF_LIBRARIES
    linked by target "Visio2Svg" in directory /usr/libvisio2svg-master

-- Configuring incomplete, errors occurred!
See also "/usr/libvisio2svg-master/CMakeFiles/CMakeOutput.log".
dim4k
() автор топика
Ответ на: комментарий от dim4k

То же самое, что в предыдущем случае, доустанввливай недостающие библиотеки. В документации по сборке на гитхабе должны быть описаны зависимости.

anonymous
()
Ответ на: комментарий от anonymous

Вроде все ясно - кроме одного пакета!!! libemf2svg - как его ставить???

dim4k
() автор топика
12 декабря 2019 г.

Ответ

Вообщем я только зря мучился... После переписки с автором софта - я получил ссылку на собранные пакеты для разных дистрибутивов... http://mirror.kakwalab.ovh/rpm.el7/7/x86_64/

Кому надо - полная инструкция по установке:

libemf2svg install:

[root@localhost ~]# yum install http://mirror.kakwalab.ovh/rpm.el7/7/x86_64/libemf2svg-1.1.0-1.el7.x86_64.rpm
[root@localhost ~]# yum install http://mirror.kakwalab.ovh/rpm.el7/7/x86_64/libemf2svg-conv-1.1.0-1.el7.x86_64.rpm
[root@localhost ~]# yum install https://mirror.kakwalab.ovh/rpm.el7/7/x86_64/libemf2svg-devel-1.1.0-1.el7.x86_64.rpm
--------------------------------------------------------------------------------------------------------------------------------------------------------------

Library/Tools to convert Microsoft (MS) Visio documents (VSS and VSD) to SVG kakwa/libvisio2svg

libvisio2svg install

yum install http://mirror.kakwalab.ovh/rpm.el7/7/x86_64/libvisio2svg-0.5.5-1.el7.x86_64.rpm
yum install http://mirror.kakwalab.ovh/rpm.el7/7/x86_64/libvisio2svg-conv-0.5.5-1.el7.x86_64.rpm
yum install http://mirror.kakwalab.ovh/rpm.el7/7/x86_64/libvisio2svg-devel-0.5.5-1.el7.x86_64.rpm

Пример конвертации vss --> svg:

vss2svg-conv -i ./EUC Visio Stencils 2018.vss -o ./out/

Ссылка на проект: https://github.com/kakwa/libvisio2svg

dim4k
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.