|
@@ -13,7 +13,7 @@ Please refer to the image below. PHPExcel has been unable to work properly for m
|
|
|
|
|
|
#### 1、Install the dependencies
|
|
|
|
|
|
-##### Ubuntu
|
|
|
+#### Ubuntu
|
|
|
|
|
|
```bash
|
|
|
sudo apt-get install -y zlib1g-dev
|
|
@@ -21,13 +21,13 @@ sudo apt-get install -y zlib1g-dev
|
|
|
git clone https://github.com/jmcnamara/libxlsxwriter.git && cd libxlsxwriter && make && sudo make install
|
|
|
```
|
|
|
|
|
|
-##### Mac
|
|
|
+#### Mac
|
|
|
|
|
|
```bash
|
|
|
brew install libxlsxwriter
|
|
|
```
|
|
|
|
|
|
-##### Windows
|
|
|
+#### Windows
|
|
|
|
|
|
> Build the basic PHP build environment.
|
|
|
|
|
@@ -42,10 +42,15 @@ To build the DLL of the library open the LibXlsxWriterProj/LibXlsxWriter.sln pro
|
|
|
In the default configuration this will build an x64 debug LibXlsxWriter .lib and .dll in:
|
|
|
|
|
|
```bash
|
|
|
-PHP_BUILD_PATH\deps\MSVCLibXlsxWriter\LibXlsxWriterProj\x64\Debug
|
|
|
+PHP_BUILD_PATH\deps\MSVCLibXlsxWriter\LibXlsxWriterProj\[x64|x86]\Debug
|
|
|
+
|
|
|
+# or
|
|
|
+
|
|
|
+PHP_BUILD_PATH\deps\MSVCLibXlsxWriter\LibXlsxWriterProj\[x64|x86]\Release
|
|
|
```
|
|
|
|
|
|
-32Bit: Copy .dll files to c:\Windows\System32
|
|
|
+32Bit: Copy .dll files to c:\Windows\System32\
|
|
|
+
|
|
|
64Bit: Same thing
|
|
|
|
|
|
Add the lib path to the `LIB` environment variable.
|