Skip to content

Commit

Permalink
Fix OpenGL problem, close #18
Browse files Browse the repository at this point in the history
  • Loading branch information
leovan committed Oct 12, 2019
1 parent 25a7982 commit ba231b6
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions building/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,26 @@

All compiled files will be in `dist\SciHubEVA`.

5. Package with Inno Setup. Install [Inno Setup 6](http://www.jrsoftware.org/isinfo.php) first and add installation directory to PATH. Download Chinese (Simplified) and Chinese (Traditional) translations from [here](http://www.jrsoftware.org/files/istrans/), and copy them to `INNO_SETUP_ROOT\Languages`.

5. Add OpenGL libraries.

```powershell
set PYSIDE2_PACKAGE_DIR=X:\PYTHON_ROOT\Lib\site-packages\PySide2
copy %PYSIDE2_PACKAGE_DIR%\libEGL.dll dist\SciHubEVA
copy %PYSIDE2_PACKAGE_DIR%\libGLESv2.dll dist\SciHubEVA
copy %PYSIDE2_PACKAGE_DIR%\d3dcompiler_*.dll dist\SciHubEVA
```

6. Package with Inno Setup. Install [Inno Setup 6](http://www.jrsoftware.org/isinfo.php) first and add installation directory to PATH. Download Chinese (Simplified) and Chinese (Traditional) translations from [here](http://www.jrsoftware.org/files/istrans/), and copy them to `INNO_SETUP_ROOT\Languages`.

```powershell
ISCC.exe building/Windows/SciHubEVA.iss
```

`SciHubEVA.exe` installer will be in the `dist`.

6. If you need a x86 version, please make sure you have a x86 version python environment, and modify the `SciHubEVA.iss` accordingly.
7. If you need a x86 version, please make sure you have a x86 version python environment, and modify the `SciHubEVA.iss` accordingly.

```text
DefaultDirName={autopf64}\{#MyAppName} -> DefaultDirName={autopf32}\{#MyAppName}
Expand Down

0 comments on commit ba231b6

Please sign in to comment.