An educational neural network app using the integrate-and-fire method.
Visit the Neuronify website to download the latest version for your operating system.
- Download Qt from http://www.qt.io/download-open-source/
- Run the installer and follow the instructions
- Clone the git repo: git@github.com:CINPLA/neuronify.git
- Open Qt Creator
- In Qt Creator, use Open Project, go to the neuronify folder and open nestify.pro or neuronify.pro, whichever is present
- Under configure project that shows up, mark Desktop Qt 5.4.0 GCC and unmark Desktop before pressing Configure Project
- Press Run (green triangle) and it should hopefully build and run.
-
In Qt Creator, you may choose to build using the MinGW or Visual Studio 2013 (MSVC) compilers depending on your installation. We recommend Visual Studio because this adds support for systems without OpenGL drivers already installed.
-
Compile in release mode. Otherwise the build will be gigantic.
-
Open Windows PowerShell.
-
Run the following command:
-
if you are using MinGW:
$env:Path = "C:\Qt\5.4\mingw491_32\bin"
-
if you are using MSVC:
$env:Path = "C:\Qt\5.4\msvc2013\bin"
-
-
Note that the names of the folders may vary if you have a different Qt version. These above are the folders for Qt 5.4 and Visual Studio 2013.
-
Use cd to navigate to the build folder, above the release and debug folders.
-
Delete everything except neuronify.exe inside the release folder.
-
Run the following command to let Qt help you with deployment:
windeployqt.exe -quick -quickwidgets -multimediaquick -multimedia -opengl -quickparticles -quickwidgets -qmldir ../neuronify release
-
Copy all folders in C:\Qt\5.7\qml into the app folder. These are not all necessary, but the deploy tool doesn't catch all, and if any are missing, the app won't start.
-
Next, you will need to copy the following files to your build folder manually:
-
if you are using MinGW:
- C:\Windows\SysWOW64\msvcp120.dll
- C:\Windows\SysWOW64\msvcr120.dll
- C:\Qt\5.4\mingw491_32\bin\libgcc_s_dw2-1.dll
- C:\Qt\5.4\mingw491_32\bin\libstdc++-6.dll
- C:\Qt\5.4\mingw491_32\bin\libwinpthread-1.dll
-
if you are using MSVC:
- from C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x64\Microsoft.VC120.CRT:
- msvcp120.dll
- msvcr120.dll
-
-
Zip the whole folder, and you should be good to go
-
Note that these are the files you need to copy if you are using Qt 5.4 and Visual Studio 2013. If you are using a newer version, you may want to use a newer set of files. Please refer to the documentation for more information:
http://doc.qt.io/qt-5/windows-deployment.html
-
Run
qmake -tp vc neuronify.pro "CONFIG+=windeployqt"
-
Open the genereated project file in Visual Studio 2015.
-
Right click on the project and choose to upload using the options under Store.
Simply run the following command in the build-directory:
/path/to/Qt/installation/clang_64/bin/macdeployqt neuronify.app -qmldir=../neuronify -dmg
This should create a .dmg that can be used on machines without Qt installed.
You should first install the index files for Qt:
sudo apt-get install qt5-doc qt5-doc-html qt5-default qt5-qmake qtquickcontrols5-doc-html qtlocation5-doc
Afterwards, run ./make-docs.sh in the doc folder to generate the documentation. This will be generated in a folder named neuronify-docs above the source tree.