- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用 Ubuntu 20.04.2 LTS
。
我已经使用命令下载了源代码:
git clone https://gitlab.com/inkscape/inkscape.git
然后,安装INSTALL.md
中提到的依赖项:
For common linux-distributions (Ubuntu, Debian, Fedora) you can use abash-scriptfor getting required libaries.
然后,创建一个名为 build
的文件夹:
cd inksape
mkdir build
然后:
cd build
sudo cmake ..
我得到的:
------------------------------
Building Makefile for Inkscape
------------------------------
Source Dir: /home/osama/inkscape
Binary Dir: /home/osama/inkscape/build
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- 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
-- Creating build files in: /home/osama/inkscape/build
-- Performing Test LIBATOMIC_NOT_NEEDED
-- Performing Test LIBATOMIC_NOT_NEEDED - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for modules 'harfbuzz;pangocairo;pangoft2;fontconfig;gsl;gmodule-2.0;libsoup-2.4>=2.42;bdw-gc;lcms2'
-- Found harfbuzz, version 2.6.4
-- Found pangocairo, version 1.44.7
-- Found pangoft2, version 1.44.7
-- Found fontconfig, version 2.13.1
-- Found gsl, version 2.5
-- Found gmodule-2.0, version 2.64.6
-- Found libsoup-2.4, version 2.70.0
-- Found bdw-gc, version 7.6.4
-- Found lcms2, version 2.9
-- Found DoubleConversion: /usr/lib/x86_64-linux-gnu/libdouble-conversion.so
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: /usr/lib/x86_64-linux-gnu/libc.so
-- Found Intl: /usr/include
-- lib2geom not found, using internal copy in src/3rdparty/2geom
-- Checking for module 'poppler'
-- Found poppler, version 0.86.1
-- Found poppler: /usr/lib/x86_64-linux-gnu/libpoppler.so
-- Checking for module 'poppler-glib'
-- Found poppler-glib, version 0.86.1
-- Found poppler-glib: /usr/lib/x86_64-linux-gnu/libpoppler-glib.so
-- Checking for module 'cairo-svg'
-- Found cairo-svg, version 1.16.0
-- Found cairo-svg: /usr/lib/x86_64-linux-gnu/libcairo.so
-- Checking for module 'poppler-cairo'
-- Found poppler-cairo, version 0.86.1
-- Found poppler-cairo: /usr/lib/x86_64-linux-gnu/libcairo.so
-- Checking for modules 'libwpg-0.3;librevenge-0.0;librevenge-stream-0.0'
-- Found libwpg-0.3, version 0.3.3
-- Found librevenge-0.0, version 0.0.4
-- Found librevenge-stream-0.0, version 0.0.4
-- Checking for modules 'libvisio-0.1;librevenge-0.0;librevenge-stream-0.0'
-- Found libvisio-0.1, version 0.1.7
-- Found librevenge-0.0, version 0.0.4
-- Found librevenge-stream-0.0, version 0.0.4
-- Checking for modules 'libcdr-0.1;librevenge-0.0;librevenge-stream-0.0'
-- Found libcdr-0.1, version 0.1.6
-- Found librevenge-0.0, version 0.0.4
-- Found librevenge-stream-0.0, version 0.0.4
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.37")
-- Found Potrace: /usr/lib/x86_64-linux-gnu/libpotrace.so
-- Checking for modules 'gtkmm-3.0>=3.24;gdkmm-3.0>=3.24;gtk+-3.0>=3.24;gdk-3.0>=3.24'
-- Found gtkmm-3.0, version 3.24.2
-- Found gdkmm-3.0, version 3.24.2
-- Found gtk+-3.0, version 3.24.20
-- Found gdk-3.0, version 3.24.20
-- Checking for module 'gspell-1'
-- Found gspell-1, version 1.8.3
-- Using gspell
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.19.0") found components: filesystem
-- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so (found version "1.1.34")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.10")
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Checking for module 'readline'
-- Found readline, version 8.0
-- Found GNU Readline:
-- Checking for module 'ImageMagick++<=7'
-- Found ImageMagick++, version 6.9.10
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found gettext + msgfmt to convert language files. Translation enabled
-- Found xgettext. inkscape.pot will be re-created if missing.
-- Checking for module 'sigc++-2.0'
-- Found sigc++-2.0, version 2.10.2
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.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
-- Creating build files in: /home/osama/inkscape/build
-- Looking for include file ieeefp.h
-- Looking for include file ieeefp.h - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Performing Test HAVE_STRUCT_MALLINFO_FORDBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_FORDBLKS - Success
-- Performing Test HAVE_STRUCT_MALLINFO_FSMBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_FSMBLKS - Success
-- Performing Test HAVE_STRUCT_MALLINFO_HBLKHD
-- Performing Test HAVE_STRUCT_MALLINFO_HBLKHD - Success
-- Performing Test HAVE_STRUCT_MALLINFO_UORDBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_UORDBLKS - Success
-- Performing Test HAVE_STRUCT_MALLINFO_USMBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_USMBLKS - Success
-- Looking for sincos
-- Looking for sincos - found
-- Generating header and sourcefiles from sp-marshal.list (Glib-Marshal)
INFO: Reading /home/osama/inkscape/src/helper/sp-marshal.list...
INFO: Reading /home/osama/inkscape/src/helper/sp-marshal.list...
-- sp-marshal.h changed; overwriting
CMake Error at src/3rdparty/CMakeLists.txt:9 (add_subdirectory):
The source directory
/home/osama/inkscape/src/3rdparty/2geom
does not contain a CMakeLists.txt file.
-- Found GTest: /usr/lib/x86_64-linux-gnu/libgtest.a
-- Creating link '/home/osama/inkscape/build/inkscape_datadir/inkscape' --> '/home/osama/inkscape/share'
INKSCAPE_DIST_PREFIX: inkscape-1.1-alpha_2021-03-19_eb24388f17
------------------------------------------------------------------------
Configuration Summary
------------------------------------------------------------------------
PROJECT_NAME: inkscape
INKSCAPE_VERSION: 1.1-alpha
INKSCAPE_DIST_PREFIX: inkscape-1.1-alpha_2021-03-19_eb24388f17
CMAKE_BINARY_DIR: /home/osama/inkscape/build
CMAKE_INSTALL_PREFIX: /usr/local
CMAKE_INSTALL_LIBDIR: lib
PACKAGE_LOCALE_DIR share/locale
CMAKE_SYSTEM_NAME: Linux
CMAKE_SYSTEM_VERSION: 5.8.0-45-generic
CMAKE_SYSTEM_PROCESSOR: x86_64
CMAKE_C_COMPILER: /usr/bin/cc
CMAKE_CXX_COMPILER: /usr/bin/c++
CMAKE_BUILD_TYPE: Release
ENABLE_LCMS: ON
ENABLE_POPPLER: ON
ENABLE_POPPLER_CAIRO: ON
WITH_GNU_READLINE: ON
WITH_DBUS: OFF
WITH_GSPELL: ON
WITH_IMAGE_MAGICK: ON
WITH_GRAPHICS_MAGICK: OFF
WITH_LIBCDR: ON
WITH_LIBVISIO: ON
WITH_LIBWPG: ON
WITH_NLS: ON
WITH_OPENMP: ON
WITH_JEMALLOC: OFF
WITH_INTERNAL_2GEOM: ON
WITH_PROFILING: OFF
BUILD_TESTING: ON
------------------------------------------------------------------------
-- Configuring incomplete, errors occurred!
See also "/home/osama/inkscape/build/CMakeFiles/CMakeOutput.log".
See also "/home/osama/inkscape/build/CMakeFiles/CMakeError.log".
CMakeFiles/CMakeError.log
:
Determining if files ieeefp.h exist failed with the following output:
Change Dir: /home/osama/inkscape/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_1eb11/fast && /usr/bin/make -f CMakeFiles/cmTC_1eb11.dir/build.make CMakeFiles/cmTC_1eb11.dir/build
make[1]: Entering directory '/home/osama/inkscape/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1eb11.dir/HAVE_IEEEFP_H.c.o
/usr/bin/cc -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/poppler -I/usr/include/libwpg-0.3 -I/usr/include/libwpd-0.10 -I/usr/include/librevenge-0.0 -I/usr/include/libvisio-0.1 -I/usr/include/libcdr-0.1 -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gspell-1 -I/usr/include/enchant-2 -I/usr/include/readline -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -o CMakeFiles/cmTC_1eb11.dir/HAVE_IEEEFP_H.c.o -c /home/osama/inkscape/build/CMakeFiles/CheckIncludeFiles/HAVE_IEEEFP_H.c
/home/osama/inkscape/build/CMakeFiles/CheckIncludeFiles/HAVE_IEEEFP_H.c:2:10: fatal error: ieeefp.h: No such file or directory
2 | #include <ieeefp.h>
| ^~~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_1eb11.dir/build.make:66: CMakeFiles/cmTC_1eb11.dir/HAVE_IEEEFP_H.c.o] Error 1
make[1]: Leaving directory '/home/osama/inkscape/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_1eb11/fast] Error 2
Source:
/* */
#include <ieeefp.h>
int main(void){return 0;}
CMakeFiles/CMakeOutput.log
:
由于它很长并且无法放入问题的正文中,因此输出为 here .
为什么会出现此错误以及如何解决?
最佳答案
我在 INSTALL.md
中错过了这部分:
Make sure you got the submodules code when fetching the code (eitherby using --recurse-submodules on the git clone command, as recommendedon the Getting started page, or by running git submodule init && gitsubmodule update)
关于c++ - 构建 inkscape 时错误 : <ieeefp. h> 未找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66714087/
我在 Windows 7 上使用 Inkscape 0.91。我在 Inkscape 中遇到了一个奇怪的问题。每当我尝试粘贴从记事本复制的内容时,我都无法粘贴,因为它说“剪贴板中没有任何内容”。请帮忙
希望我在正确的领域问这个问题,我正在为 Inkscape 开发几个扩展,我想知道是否有办法刷新像 GIMP 那样的扩展,用于 script-fu?我在 Inkscape 上搜索了网络和文档,但找不到任
我开始学习使用 Inkscape,我正在经历 this tutorial关于创造一个 Shiny 的表盘。 每个小时位置由一个圆圈表示,所以我想将圆圈的旋转十字标记放置在圆圈的绝对中心,以及将圆圈放在
我需要绘制一些具有不同颜色顶点的无向图。以前,我一直以乏味的方式进行此操作,将每个顶点绘制为圆,将每个边绘制为直线。有没有一种方法可以通过使用贝塞尔曲线函数轻松做到这一点?我尝试过这样做,但不知道如何
如何在 Inkscape 中设置背景区域的外观,以便区分白色背景的图像和透明背景的图像? 正是由于这个原因,许多其他图像查看/编辑程序都有方格背景,但我找不到 Inkscape 的类似内容。 最佳答案
我正在使用 Inkscape 0.91。我使用 Inkscape 创建了一个艺术品并将其转换为 PDF。在打印副本时,我无法获得所使用的确切颜色。如何使其成为CMYK模式? 提前致谢。 最佳答案 不幸
我尝试时遇到一个问题 1>将文本行转换为对象,应用Path > Object to Path(或Shift+Ctrl+c), 2>然后应用'Path>Dynamic offset'(或Ctrl+J)。
Inkscape 提示没有 libxml,所以我为 Windows 10 安装了 lxml。它在修改路径 -> 抖动节点期间再次提示。所以我重新启动了 Inkscape。它仍在提示。有谁知道如何解决这
我正在做一个简单的网站,我在其中放置了一些图形。现在我使用 Inkscape 来制作每个图表。我使用 Inkscape 在形状之间进行 UNION 操作。然后我保存新图表,进行另一个合并,保存,等等。
有没有一种简单的方法可以沿着包含直线路径段的直线移动路径的节点?我的意思是说,我有一个三角形,如下所示。我想沿着包含段“AB”的线移动“A”表示的节点。这可行吗? 最佳答案 按住 Ctrl+Alt 并
我想将上标和下标都添加到 Inkscape 文本对象中的同一个字符。目前,我有这个: 但我希望撇号 (') 和 0 垂直对齐,以便 x 具有 (') 作为上标和 0 作为下标。 最佳答案 您可以在零索
已关闭。这个问题是 off-topic 。目前不接受答案。 想要改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 已关闭10 年前。 Improve th
已关闭。这个问题是 off-topic 。目前不接受答案。 想要改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 已关闭10 年前。 社区 6 个月前审核
Inkscape 中是否有命令将路径坐标舍入为最接近的整数值。 例如,要替换此路径: m 0,0 261.98828,-890.8828 -299.999999,-900 2593.486319,54
我正在使用 Inkscape 0.91。我想使用 Filters -> ABC 的 Noise Transparency 效果,但此较高版本的 Inkscape 中不存在该效果。我在网上看到,在更高的
我知道如何在inkscape 中使用对齐/分布。 但他们只工作一次。它不会持续存在。 例子: 一旦我更改了其中一个对象的大小,对齐就会丢失。 有没有办法坚持对齐? 示例:如果我更改圆的大小,它的中心仍
我正在使用inkscape来创建svg。稍后我将使用 vivus.js 在网站中绘制该 svg 路径的动画。 . 问题是我无法控制inkscape中路径的起始节点。为了让自己清楚,假设我想为在inks
在Inkscape中,通过将对象的左上角坐标设置为数字来移动对象非常方便。现在我想到的是,是否有类似的操作适用于贝塞尔曲线控制点?尽管我正在寻找答案,但我知道它取决于软件的功能。提前致谢。 最佳答案
我试图通过在 .bat 文件中写入这些行来运行 inkscape shell 模式: inkscape --shell >2.svg -e 2.png 但它根本不起作用(没有 png 文件),而且我试
每当我在Inkscape中复制和粘贴某些内容时,结果都是像素化图像,而不是原始对象。例如,复制粘贴的矩形不能再编辑为矩形,如果我放大则变得模糊。 我正在使用OSX 10.10.1和X11 2.7.7。
我是一名优秀的程序员,十分优秀!