![]() ![]() ![]() Use btool to compile Inkscape compile and create the distribution directory: It still works in 0.92 but compiling using CMake as described above is the preferred option.Ĭompile btool (the command line tool that handles the actual build) using Note: This method was the default up to Inkscape 0.91. Remove the build directory and start over.Ĭompiling Inkscape using btool (deprecated) build/inkscape/:Īs cmake hides the actual compiler calls, here is a way how to see what make is doing.Įxecute the following commands from the build directoryĪnd start with running CMake (see above) again. Increase the number to utiliize more of your available CPU cores.Ĭollect all the needed files and create a selfcontaing directory in. # 2 is the number of parallel threads to use for compiling. The compiled Inkscape.exe will be in bin directory afterwards: # Pass the path to the source code directory as a parameter. Just make sure that you pass the correct path to the source code directory in the next step. You can also create an out of source build anywhere else in your file system. Go to the directory containing your Inkscape source and create the build output directory. Note: To significantly reduce the time needed for incremental rebuilds consider using CMake in combination with Ninja. Whenever you want to build Inkscape open a command prompt ( cmd.exe), change into the root directory of the Inkscape source and set the environment variables with the following command: Should point to the folders containing MinGW-w64 and the inkscape-devlibs64. If "%MINGW_PATH%"="" set MINGW_PATH=c:\mingw64 Note: MinGW does not work with white spaces in the path name. If "%DEVLIBS_PATH%"="" set DEVLIBS_PATH=c:\devlibs64 # Path to the Inkscape development libraries. As of writing version 3.5.2 is the most recent version.Įdit the file mingwenv.bat in the root directory of the Inkscape source to match you local paths. It generates makefiles to be processed by make. See also additional information on obtaining Inkscape source code and working with Bazaar.ĬMake is a Cross-Platform buildsystem generator similar to autotools. Get the Inkscape source code from launchpad See also Inkscape Devlibs 64-bit (only relevant if you want to update the development libraries) Inkscape source code The -lightweight switch ensures that you only have to download the latest version of all binaries, C:\devlibs64 is the folder you want them to be downloaded to. Get the inkscape-devlibs64 which include pre-compiled binaries of all Inkscape dependencies.īzr checkout -lightweight lp:inkscape-devlibs64 C:\devlibs64 The exact version used for building the inkscape-devlibs64 is MinGW-w64 x86_64-5.3.0-release-win32-seh-rt_v4-rev0.7z. You have to download a version that is configured for building native win64 applications with win32 threading model and SEH exception handling, to ensure compatibility with the inkscape-devlibs64.Ī matching build based on GCC 5.3 can be downloaded here. Get MinGW-w64 which contains the necessary GNU developer tools to build Inkscape on Windows. 2.3 Compiling Inkscape using btool (deprecated).1.2 Development libraries for Windows 64-bit. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |