|
@@ -14,4 +14,21 @@
|
|
|
// fpermissive is needed because the author chose to implicitly switch between pointers of uint_8 and char.
|
|
|
g++ -c -fpermissive *.o
|
|
|
ar -cvq aesgm.lib *.o
|
|
|
- g++ -I "C:\Users\bad-p\Downloads\PDFHummus-build\PDFHummus\LibAesgm"
|
|
|
+ g++ -I "C:\Users\bad-p\Downloads\PDFHummus-build\PDFHummus\LibAesgm"
|
|
|
+5.
|
|
|
+ Download libtiff from: https://gitlab.com/libtiff/libtiff
|
|
|
+ After compiling the libtiff library with the Cmake file, all object files are located in C:\Users\bad-p\Downloads\TRASH\libtiff-master\build\libtiff\CMakeFiles\tiff.dir
|
|
|
+
|
|
|
+ Download libpng from: https://sourceforge.net/projects/libpng/files/libpng16/1.6.37/libpng-1.6.37.tar.xz/download?use_mirror=newcontinuum
|
|
|
+ After compiling the libpng library with the Cmake file, all object files are located in C:\Users\bad-p\Downloads\TRASH\libpng-1.6.37\build\CMakeFiles\png_static.dir
|
|
|
+
|
|
|
+ Download libjpeg from:https://sourceforge.net/projects/libjpeg/files/
|
|
|
+ After compiling the libjpeg library with the Cmake file, all object files are located in C:\Users\bad-p\Downloads\TRASH\jpeg-6b
|
|
|
+
|
|
|
+ Download zlib from: https://www.zlib.net/
|
|
|
+ After compiling the zlib library with the Cmake file, all object files are located in C:\Users\bad-p\Downloads\TRASH\zlib-1.2.11
|
|
|
+
|
|
|
+ For all CMake instructions create a build directory in the source root. CD in to build, run Cmake .. for windows using msys pass the 'Cmake .. -G "MSYS Makefiles"'
|
|
|
+ build option to generate a makefile appropiate for msys; You can use make afterwards to compile as normal.
|
|
|
+ After all of the object files are moved into the same folder, generate a library for PDFWriter.
|
|
|
+ ar -cvq PDFWriter.lib *.o
|