mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 13:10:04 -05:00
Update BuildGuideQtCreator.md
This commit is contained in:
parent
4cffd47f47
commit
2d19b8a948
@ -1,25 +1,28 @@
|
||||
#Building Guide for Fractorium Using MSVC2013 and Qt Creator (64 bit)
|
||||
##Requirements
|
||||
|
||||
Install git.
|
||||
Install [git](https://git-scm.com/downloads).
|
||||
|
||||
Install Microsoft Visual Studio 2013 or later, then install the latest updates.
|
||||
Install [Microsoft Visual Studio 2013 or later](https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx), then install the latest updates.
|
||||
|
||||
Install Qt for Windows 64-bit (VS 2013) 5.4 or later (http://www.qt.io/download/).
|
||||
|
||||
##Get this project
|
||||
Open up the Visual Studio x64 Native Tools Command Prompt
|
||||
|
||||
Create a folder named fractorium:
|
||||
Create a new folder in your development area named fractorium:
|
||||
|
||||
`mkdir fractorium
|
||||
`cd fractorium
|
||||
`git clone https://github.com/mfeemster/fractorium.git
|
||||
`mkdir fractorium`
|
||||
|
||||
`cd fractorium`
|
||||
|
||||
`git clone https://github.com/mfeemster/fractorium.git`
|
||||
|
||||
##Prerequisites
|
||||
There are six prerequisite dependencies. Two of them must be downloaded manually, and the rest can be cloned from git.
|
||||
There are six prerequisite dependencies. Two of them must be downloaded manually:
|
||||
|
||||
[libjpeg](http://www.ijg.org/)
|
||||
|
||||
[libjpeg](http://www.ijg.org/)
|
||||
[tbb](https://www.threadingbuildingblocks.org/download)
|
||||
|
||||
Extract them into the folder you created such that they are arranged like so:
|
||||
@ -31,26 +34,12 @@ Extract them into the folder you created such that they are arranged like so:
|
||||
├─tbb
|
||||
```
|
||||
|
||||
Go into the fractorium folder and run this script which will get the rest of the prerequisites and build them:
|
||||
Go into the fractorium folder and run this script which will get the rest of the prerequisites from git and build them:
|
||||
|
||||
`cd fractorium
|
||||
`makedeps.bat
|
||||
|
||||
Now you should already have these files in the folder:
|
||||
|
||||
```
|
||||
libjpeg.lib
|
||||
libpng.lib
|
||||
libxml2.lib
|
||||
libxml2.dll
|
||||
tbb.dll
|
||||
tbb.lib
|
||||
zlib.lib
|
||||
```
|
||||
**All Done!**
|
||||
<a id="folder-structure"></a>
|
||||
|
||||
You shuold have a folder structure like this:
|
||||
This will download and build `glm libpng libxml zlib`. You will have a folder structure like this:
|
||||
|
||||
```
|
||||
[YOUR ROOT FOLDER]
|
||||
@ -61,15 +50,24 @@ You shuold have a folder structure like this:
|
||||
├─libxml2
|
||||
├─tbb
|
||||
└─fractorium
|
||||
├─Deps
|
||||
│
|
||||
├─libjpeg.lib
|
||||
├─libpng.lib
|
||||
├─libxml2.lib
|
||||
├─libxml2.dll
|
||||
├─tbb.dll
|
||||
├─tbb.lib
|
||||
├─zlib.lib
|
||||
```
|
||||
|
||||
##Begin to build
|
||||
Open Qt Project `fractorium/main.pro` using Qt Creator with config like *Desktop Qt 5.5.1 MSVC2013 OpenGL 64bit*
|
||||
##Begin build with Qt Creator:
|
||||
Open the Qt Project `fractorium/main.pro` using Qt Creator with config like *Desktop Qt 5.5.1 MSVC2013 OpenGL 64bit*
|
||||
Select "shadow build" in "Edit build configuration" for both `Debug` and `Release`
|
||||
|
||||
Switch to `Release` configuration for all projects and Build.
|
||||
Switch to `Release` configuration for all projects and build.
|
||||
|
||||
You can find outputs under `fractorium\Bin\release` several minutes later if no error occurs.
|
||||
The outputs will be placed in `fractorium\Bin\release` several minutes later if no error occurs.
|
||||
|
||||
```
|
||||
Ember.dll
|
||||
@ -83,6 +81,14 @@ embergenome.exe
|
||||
emberrender.exe
|
||||
fractorium.exe
|
||||
```
|
||||
##Begin build with Visual Studio:
|
||||
Open the file Fractorium.sln under Builds/MSVC/2013
|
||||
|
||||
Set the configuration to release, and build all.
|
||||
|
||||
The outputs will be the same and will be placed in:
|
||||
|
||||
`Bin/x64/Release
|
||||
|
||||
To run it, just double click any of the .exe files.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user