Difference between revisions of "Talk:Portal:Getting Started"

From MNE-CPP Wiki
Jump to: navigation, search
Line 3: Line 3:
 
Getting the mne-cpp source code compiled:
 
Getting the mne-cpp source code compiled:
 
# Download the current Qt version:
 
# Download the current Qt version:
## Go to the [http://www.qt.io/download-open-source/ Qt download website]
+
## Go to the [http://www.qt.io/download-open-source/#section-2 Qt download website]
## Select appropriate version based on the compiler and platform you use (must have opengl support). For example if you are using the Microsoft Visual Studio 2013Compiler on a 32bit system, select the [] vesion.
+
## Select appropriate version based on the compiler and platform you use. For example if you are using the Microsoft Visual Studio 2013 Compiler on a Windows 32bit system, select the "''Qt 5.5.1 for Windows 32-bit (VS 2013, 823 MB)''" version.
 
# Install the Qt version with the minimum of the following feautres:  
 
# Install the Qt version with the minimum of the following feautres:  
 
#:* Qt/Pre-compiled Qt
 
#:* Qt/Pre-compiled Qt

Revision as of 10:44, 4 January 2016

This page will show you how to setup the mne-cpp project in order to build and develop your own features with or based on the mne-cpp framework.

Getting the mne-cpp source code compiled:

  1. Download the current Qt version:
    1. Go to the Qt download website
    2. Select appropriate version based on the compiler and platform you use. For example if you are using the Microsoft Visual Studio 2013 Compiler on a Windows 32bit system, select the "Qt 5.5.1 for Windows 32-bit (VS 2013, 823 MB)" version.
  2. Install the Qt version with the minimum of the following feautres:
    • Qt/Pre-compiled Qt
    • Qt/Qt3D
    • Tools/QtCreator
  3. Clone mne-cpp from the main repository (mne-tools/mne-cpp) or your forked repository from your own Git Hub account.
  4. Run the mne-cpp.pro file with the QtCreator. Select the Release mode.
  5. Right mouse click on the top level tree item mne-cpp, then select Run qmake.
  6. Right mouse click again and then hit Build. The build porcess may take some time depending on your computer setup.
  7. After the build process is finished, check out the mne-cpp/bin folder. All applications and libraries should have been created throughout the build process.
  8. In case you do not have a debugger setup (for windows):
    1. Go to SDK webpage.
    2. Download and install SDK.
    3. Select debugger under Kits in QtCreator.
    4. The first time you use the debugger, you might see the following message.

Create your first application based on mne-cpp:

Create your first MNE-X plugin: