Difference between revisions of "Inkscape Devlibs 64-bit"

From Inkscape Wiki
Jump to navigation Jump to search
(add in info for aspell)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Inkscape Devlibs 64-bit are a bundle of libraries and tools used to compile Inkscape. It is hosted in a [https://code.launchpad.net/~inkscape.dev/inkscape-devlibs64/trunk Launchpad project]. They have been compiled with SJLJ exception handling (not SEH), and are significantly newer than the 32-bit version of these libraries.
{{Note|The information on this page is outdated. Please see '''[[Compiling Inkscape on Windows]]''' for the updated instructions.}}
 
'''For 32 bit: see [[Inkscape Devlibs]]'''
 
----
 
Inkscape Devlibs 64-bit are a bundle of libraries and tools used to [[Compiling Inkscape on Windows 64-bit|compile Inkscape on Windows 64-bit]]. It is hosted in a [https://code.launchpad.net/~inkscape.dev/inkscape-devlibs64/trunk Launchpad project]. They have been compiled with SJLJ exception handling (not SEH), and are significantly newer than the 32-bit version of these libraries.


bin/gdb.exe was cross-compiled from one of [[User:LiamW]]'s machines. The configure line was:
bin/gdb.exe was cross-compiled from one of [[User:LiamW]]'s machines. The configure line was:
Line 7: Line 13:
  --host=x86_64-w64-mingw32 --with-expat
  --host=x86_64-w64-mingw32 --with-expat


aspell was compiled in a similar manner:
==Aspell 0.60.6.1==
aspell 0.60.6.1 was compiled (by Johan) using MSYS, the rest of devlibs64, and mingw64 compiler used for building Inkscape too.
I.e.:
  export PATH=/c/mingw64/mingw64_posix_sjlj/bin:/c/devlibs64/bin:$PATH
  export PKG_CONFIG_PATH=/c/devlibs64/lib/pkgconfig
 
One file had to be modified slightly. aspell-0.60.6.1/common/file_util.cpp, line 49:
  -    || (asc_isalpha(file[0]) && file[1] == ':')
  +    || (isalpha(file[0]) && file[1] == ':')
 
No special configure flags were used:
    CFLAGS = CXXFLAGS = "-O2"
    ./configure


CXX="x86_64-w64-mingw32-g++" CC="x86_64-w64-mingw32-gcc" LDFLAGS="-static-libgcc -static-libstdc++" \
The make files produced contain two errors, both in the file "libtool". Open that file, search for "x86_64-w64-mingw32-static/lib" and remove the quote (') after that string.
./configure --prefix=/home/liam/mingw-builds/install --build=x86_64-unknown-linux-gnu --host=x86_64-w64-mingw32 \
--disable-shared --enable-static --enable-win32-relocatable

Latest revision as of 06:52, 1 June 2018

Note: The information on this page is outdated. Please see Compiling Inkscape on Windows for the updated instructions.

For 32 bit: see Inkscape Devlibs


Inkscape Devlibs 64-bit are a bundle of libraries and tools used to compile Inkscape on Windows 64-bit. It is hosted in a Launchpad project. They have been compiled with SJLJ exception handling (not SEH), and are significantly newer than the 32-bit version of these libraries.

bin/gdb.exe was cross-compiled from one of User:LiamW's machines. The configure line was:

CC="x86_64-w64-mingw32-gcc" LDFLAGS="-L/home/liam/gdb/install/lib -static -lexpat -Wl,-Bdynamic" \
CPPFLAGS="-I/home/liam/gdb/install/include" ./configure --prefix=/home/liam/gdb/install \
--host=x86_64-w64-mingw32 --with-expat

Aspell 0.60.6.1

aspell 0.60.6.1 was compiled (by Johan) using MSYS, the rest of devlibs64, and mingw64 compiler used for building Inkscape too. I.e.:

 export PATH=/c/mingw64/mingw64_posix_sjlj/bin:/c/devlibs64/bin:$PATH
 export PKG_CONFIG_PATH=/c/devlibs64/lib/pkgconfig

One file had to be modified slightly. aspell-0.60.6.1/common/file_util.cpp, line 49:

 -     || (asc_isalpha(file[0]) && file[1] == ':')
 +     || (isalpha(file[0]) && file[1] == ':')

No special configure flags were used:

   CFLAGS = CXXFLAGS = "-O2"
   ./configure

The make files produced contain two errors, both in the file "libtool". Open that file, search for "x86_64-w64-mingw32-static/lib" and remove the quote (') after that string.