You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EmotiBit software can be ported to OF12 without any code changes. Tested on windows 10 build system.
Changes in dependencies
updated Windows SDK version to 10.0.22621.0 (previously 10.0)
Updated Platform Toolset to v142 (previously v141)
Visual studion 2022 (previously 2019)
Dev notes
OF12 was compiled using a newer version of Visual studio (VS-2019), and thus uses a Platform ToolsetV142. The pre-compiled OF12 project was created in VS2019.
Therefore, to compile software using OF 0.12, we need to switch to VS 2019+. Toolset V142 was not available in VS2017.
The testing was performed using VS-2022.
Test details to port to OF 0.12 (Windows+Visual Studio 2022)
Create a new project using Project Generator. Open the project in VS2022.
Make the following changes to the sln
Add EmotiBit_XPlat_Utils to the Solution
Add EmotiBit_XPlat_Utils/src to the "additional include directories"
Add path to lsl.lib file in "Linker > Aditional library directories"
Add lsl.dll in bin/data
Add path to ofxOscilloscope/ofxPatchboard/Patchboard/src in the "additional include directories"
Changes to EmotiBit software dependency structure
ofxOscilloscope
Currently ofxOscillsocope contains ofxPatchboard.
But, if the Project Generator is used "as is", it does not include ofxOscilloscope/ofxPatchboard/Patchboard/src automatically into the project. It is therefore advisable to move ofxPatchBoard to another location so that updating project using Project Generator becomes easy.
EmotiBit_Xplat_Utils
This should be moved to a location that is automatically scanned and added to the project by VS solution.
Next steps
Moving ofxPatchboard and EmotiBit_XPlat_Utils to a new location
Do note that Openframeworks automatically detects nested folders in ADDON/src or ADDON/include. Therefore, it might be worth moving ofxPatchboard and EmotiBit_XPlat_Utils to a ADDON/src as a git submodule or a git sub tree.
Creating a new project file in VS 2022 for all EmotiBit applications
Testing on macOS and Linux
The text was updated successfully, but these errors were encountered:
Updating OF to 0.12
Changes in dependencies
Dev notes
Platform Toolset
V142. The pre-compiled OF12 project was created in VS2019.Test details to port to OF 0.12 (Windows+Visual Studio 2022)
Project Generator
. Open the project in VS2022.EmotiBit_XPlat_Utils
to the SolutionEmotiBit_XPlat_Utils/src
to the "additional include directories"lsl.lib
file in "Linker > Aditional library directories"lsl.dll
in bin/dataofxOscilloscope/ofxPatchboard/Patchboard/src
in the "additional include directories"Changes to EmotiBit software dependency structure
ofxOscilloscope
Project Generator
is used "as is", it does not includeofxOscilloscope/ofxPatchboard/Patchboard/src
automatically into the project. It is therefore advisable to move ofxPatchBoard to another location so that updating project using Project Generator becomes easy.EmotiBit_Xplat_Utils
Next steps
ADDON/src
orADDON/include
. Therefore, it might be worth movingofxPatchboard
andEmotiBit_XPlat_Utils
to a ADDON/src as a git submodule or a git sub tree.The text was updated successfully, but these errors were encountered: