Max External Object included OpenFrameworks code and to control OpenFrameworks directly
- Download the of_[version]_vs_release.zip.
http://openframeworks.cc/download/ - Download the MaxSDK-6.1.4.zip.
https://cycling74.com/downloads/sdk/ - Extract the downloaded files to any place you like.
- Copy
MaxSDK-6.1.4\c74support
folder toof_[version]_vs_release\libs
. - Clone the me4of~ repository into the
of_v0.8.4_vs_release\apps\myapps
.
$ git clone https://github.com/tkrworks/me4of me4of~
- Copy all dll files in
of_v0.8.4_vs_release\apps\myapps\me4of~\bin
to the following folders(both or only existing folder).
```
C:\Program Files\Cycling '74\Max 7\resources\support
C:\Program Files (x86)\Cycling '74\Max 7\resources\support
```
- Build the project. After than, Add the full path of
of_v0.8.4_vs_release\apps\myapps\me4of~\bin
to Max's File Preferences. Or copy .mxe to the existing path in File Preferences.
- same process as quickstart 1-4.
- Make new project by ProjectGenerator.exe.
- Build this project and copy all
bin\*.dll
files to the following folders.
```
[If you use Max7]
C:\Program Files\Cycling '74\Max 7\resources\support
C:\Program Files (x86)\Cycling '74\Max 7\resources\support
[If you use Max6]
C:\Program Files\Cycling '74\Max 6.1\support
C:\Program Files (x86)\Cycling '74\Max 6.1\support
```
- Modify some configurations in your project properties. The changes are as follows.
- Modify ofApp.h, ofApp.cpp and Main.cpp by reference to me4of~'s code.
- Build again and check whether .mxe is found or not in your bin folder. If you find the .mxe, your build is succeeded. Then, add the full path of
apps\myapps\[your project name]\bin
to Max's File Preferences or copy .mxe to the existing path in File Preferences.
- Configuration Properties
-
General
-> Project Defaults
Configuration Type:Dynamic Library(.dll)
Character Set:Use Multi-Byte Character Set
-> General
Target Extension:.mxe
-
C/C++
-> General
Additional Include Directories:..\..\..\libs\c74support\max-includes ..\..\..\libs\c74support\msp-includes ..\..\..\libs\c74support\jit-includes
-> Preprocessor
Preprocessor Definitions:WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;
-
Linker
-> General
Output File:$(OutDir)$(ProjectName).mxe
Additional Library Directories:..\..\..\libs\c74support\max-includes ..\..\..\libs\c74support\msp-includes ..\..\..\libs\c74support\jit-includes
-> Input
Additional Dependencies:MaxAPI.lib MaxAudio.lib Jitlib.lib
-