GithubHelp home page GithubHelp logo

imclab / brainflowunrealplugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brainflow-dev/brainflowunrealplugin

0.0 0.0 0.0 72.4 MB

Unreal Engine plugin for BrainFlow

License: MIT License

C++ 55.74% C# 44.26%

brainflowunrealplugin's Introduction

BrainFlowUnrealPlugin

Unreal Engine plugin for BrainFlow

Requirements

  • Unreal Engine 4.25+
  • Visual Studio 2019(for Windows)

Other versions of Visual Studio may also work, but version of Visual Studio used to compile BrainFlow should match version of Visual Studio in Unreal Engine.

Installation

  • Compile BrainFlow for your OS, arch, and build type
  • Create Plugins folder in your project(skip it if you already have one)
  • Copy this folder to your Plugins folder
  • Refresh your VS solution, in Unreal Engine Player click File->Refresh Visual Studio Project
  • Enable BrainFlowPlugin for your project. In [ProjectName].Build.cs add smth like PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "BrainFlowPlugin" });

Compilation

First of all, you need to get files from submodule:

git submodule init .
git submodule update --remote # this will get the latest changes from master branch
Linux

Compile brainflow using:

cd brainflow
python tools/build.py --clear-build-dir --cmake-install-prefix %FULL_PATH_TO_CLONED_FOLDER%/BrainFlowPlugin/Source/BrainFlowPlugin/Compiled/linux
# to use debug version you need to add --debug flag
MacOS

Compile brainflow using:

cd brainflow
python tools/build.py --clear-build-dir --cmake-install-prefix %FULL_PATH_TO_CLONED_FOLDER%/BrainFlowPlugin/Source/BrainFlowPlugin/Compiled/macos
# to use debug version you need to add --debug flag
MacOS ARM64

Compile brainflow using:

cd brainflow
python tools/build.py --clear-build-dir --cmake-install-prefix %FULL_PATH_TO_CLONED_FOLDER%/BrainFlowPlugin/Source/BrainFlowPlugin/Compiled/macos --cmake-osx-architectures=arm64
# to use debug version you need to add --debug flag
Win32

Compile brainflow using:

cd brainflow
python tools\build.py --clear-build-dir --cmake-install-prefix %FULL_PATH_TO_CLONED_FOLDER%\BrainFlowPlugin\Source\BrainFlowPlugin\Compiled\Win32_dynamic --msvc-runtime dynamic --arch Win32
# to use debug version you need to add --debug flag
x64

Compile brainflow using:

cd brainflow
python tools\build.py --clear-build-dir --cmake-install-prefix %FULL_PATH_TO_CLONED_FOLDER%\BrainFlowPlugin\Source\BrainFlowPlugin\Compiled\x64_dynamic --msvc-runtime dynamic --arch x64
# to use debug version you need to add --debug flag

This build script has more options, feel free to run python tools/build.py --help to list them.

Usage

  • Add #include "BrainFlowPlugin.h", it includes headers for all BrainFlow modules.
  • Use BrainFlow C++ API as in any other project. Feel free to check Docs and Samples

brainflowunrealplugin's People

Contributors

andrey1994 avatar pasotee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.