Maximilian newly added, lots of errors on new project

I’ve just added Maximilian to openFrameworks, and when I start a new project with this add-on, it gives me a slew of errors before I even do anything to the code. Is there something that I’m not understanding about how to add this to oF? I tried both using a .zip file extracted to the Add On folder and also tried cloning it into the Add On folder using GitHub.

Severity Code Description Project File Line Suppression State
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 360
Warning C4244 ‘=’: conversion from ‘double’ to ‘short’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 278
Warning C4996 ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 348
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 360
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 360
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 366
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 366
Warning C4244 ‘=’: conversion from ‘double’ to ‘short’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 278
Warning C4244 ‘=’: conversion from ‘double’ to ‘short’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 278
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 372
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 372
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 478
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 503
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiFFT.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 504
Warning C4996 ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 348
Warning C4996 ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 348
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 360
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 360
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 366
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 366
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 372
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 372
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 360
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 360
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 366
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 366
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 372
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 372
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 478
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 478
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 503
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiGrains.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 504
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 503
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maxiAtoms.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 504
Warning C4244 ‘=’: conversion from ‘double’ to ‘short’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 278
Warning C4996 ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 348
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 360
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 366
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 366
Error C3861 ‘min’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 372
Error C3861 ‘max’: identifier not found (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 372
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 478
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 503
Warning C4244 ‘argument’: conversion from ‘double’ to ‘int’, possible loss of data (compiling source file …\Downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxMaxim\libs\maximilian.cpp) openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.h 504
Error C2491 ‘round’: definition of dllimport function not allowed openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 42
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 628
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 717
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 725
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 736
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 743
Warning C4244 ‘initializing’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 770
Warning C4244 ‘initializing’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 792
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 909
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 917
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 928
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 935
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 947
Warning C4244 ‘initializing’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 958
Warning C4244 ‘initializing’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 980
Warning C4244 ‘=’: conversion from ‘double’ to ‘long’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 1079
Warning C4244 ‘initializing’: conversion from ‘double’ to ‘float’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 1113
Warning C4244 ‘=’: conversion from ‘float’ to ‘short’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 1115
Warning C4244 ‘argument’: conversion from ‘int’ to ‘T’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 1125
Warning C4244 ‘argument’: conversion from ‘int’ to ‘T’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 1137
Error C3861 ‘min’: identifier not found openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 1160
Warning C4244 ‘=’: conversion from ‘float’ to ‘short’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 1163
Warning C4244 ‘=’: conversion from ‘float’ to ‘short’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maximilian.cpp 1164
Warning C4305 ‘initializing’: truncation from ‘double’ to ‘float’ openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 22
Warning C4244 ‘=’: conversion from ‘double’ to ‘_Ty’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 41
Warning C4244 ‘initializing’: conversion from ‘double’ to ‘float’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 60
Warning C4305 ‘*=’: truncation from ‘double’ to ‘float’ openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 78
Warning C4018 ‘<’: signed/unsigned mismatch openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 110
Error C3861 ‘min’: identifier not found openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 112
Warning C4018 ‘<’: signed/unsigned mismatch openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 191
Warning C4244 ‘argument’: conversion from ‘double’ to ‘const float’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 211
Warning C4305 ‘argument’: truncation from ‘double’ to ‘const float’ openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 211
Warning C4244 ‘argument’: conversion from ‘float’ to ‘const unsigned int’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 211
Warning C4244 ‘argument’: conversion from ‘float’ to ‘unsigned int’, possible loss of data openFrameworksApp16 c:\users\loric\downloads\of_v0.11.0_vs2017_release\of_v0.11.0_vs2017_release\addons\ofxmaxim\libs\maxiatoms.cpp 212

From something I read in another forum, it looks like this may have something to do with me not compiling and linking to the ofxmaxim library files correctly? I’m sorry if this is a totally stupid question, but I’m brand new at this and I would really appreciate it if anybody could walk me through how to get ofxmaxim working properly in my project.

@loricolbert you don’t need to compile anything but you will need to change the folder structure. You can download or clone the Maximilian repo (https://github.com/micknoise/Maximilian) somewhere on your computer - for sanity outside of the OF folder.

Then copy the ofxMaxim folder to your addons folder inside your OF folder (copy from here in the Maximilian repo - Maximilian/cpp/openFrameworks/ofxMaxim).
You will then need to copy the examples, putting them inside the ofxMaxim folder that is now inside your OF addons folder is logical as it is the way other addons work- so for me on OSX I copied the contents of Maximilian/cpp/openFrameworks/openFrameworksExamples/OSX to the ofxMaxim folder.

Next you will need to use the project generator to generate new projects for the examples - when you do this you will need to add ofxMaxim to the addons (using the dropdown menu in the project generator). Because the original examples have . in the name they will create new projects where the . is replaced with _ but these will be blank projects. You can then take the src and data folders from the examples with the . in the name and replace them with the same folders inside the newly generated projects with the _ in the name.

This is not the smoothest of processes, let me know how you go.

@fresla I ended up doing almost everything you suggested (except my Maximilian unzip is inside of the OF folder) and created a test project using the ofxMaxim addon and this tutorial video.

ofx Maximilian & openFrameworks Audio Tutorial 00- Introduction & Audio Output - YouTube

It gave me some trouble until I updated the Project, Properties, Linker, Additional Library Directories to include the ofxmaxim/lib and ofxmaxim/src. For whatever reason the Additional Library Directories were all set with those in the Project, Properties, C/C++, Additional Include Directories, but I had to do the Linker manually…I thought the OF Project Generator using the ofxmaxim addon was supposed to take care of both of those automatically?

Anyway, I finally got it compiling neatly with the exception of 1 error that I’ve seen other people say can be safely ignored.

Severity Code Description Project File Line Suppression State
Error (active) E0757 overloaded function “std::chrono::duration<_Rep, _Period>::duration [with _Rep=long long, _Period=std::nano]” is not a type name CanIMakeSound C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\chrono 195

The only catch is…my project doesn’t make the soundboard make any sound at all. Not sure what I’m still doing wrong?

Here’s my main.cpp:

#include “ofMain.h”
#include “ofApp.h”

//========================================================================
int main( ){
ofSetupOpenGL(1024,768,OF_WINDOW); // <-------- setup the GL context

// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp(new ofApp());

}

Here’s my ofApp.h:

#pragma once

#include “ofMain.h”
#include “ofxMaxim.h”

class ofApp : public ofBaseApp{

public:
	void setup();
	void update();
	void draw();

	void keyPressed(int key);
	void keyReleased(int key);
	void mouseMoved(int x, int y );
	void mouseDragged(int x, int y, int button);
	void mousePressed(int x, int y, int button);
	void mouseReleased(int x, int y, int button);
	void mouseEntered(int x, int y);
	void mouseExited(int x, int y);
	void windowResized(int w, int h);
	void dragEvent(ofDragInfo dragInfo);
	void gotMessage(ofMessage msg);

	void audioOut(float * output, int bufferSize, int nChannels);

	ofSoundStream soundStream;
	int bufferSize, sampleRate;

	ofxMaxiOsc myOsc;

};

And here’s my ofApp.cpp:

#include “ofApp.h”

//--------------------------------------------------------------
void ofApp::setup(){

bufferSize = 512;
sampleRate = 44100;

soundStream.setup(this, 2, 0, sampleRate, bufferSize, 2);

}

//--------------------------------------------------------------
void ofApp::update(){

}

//--------------------------------------------------------------
void ofApp::draw(){

}

//--------------------------------------------------------------
void ofApp::keyPressed(int key){

}

//--------------------------------------------------------------
void ofApp::keyReleased(int key){

}

//--------------------------------------------------------------
void ofApp::mouseMoved(int x, int y ){

}

//--------------------------------------------------------------
void ofApp::mouseDragged(int x, int y, int button){

}

//--------------------------------------------------------------
void ofApp::mousePressed(int x, int y, int button){

}

//--------------------------------------------------------------
void ofApp::mouseReleased(int x, int y, int button){

}

//--------------------------------------------------------------
void ofApp::mouseEntered(int x, int y){

}

//--------------------------------------------------------------
void ofApp::mouseExited(int x, int y){

}

//--------------------------------------------------------------
void ofApp::windowResized(int w, int h){

}

//--------------------------------------------------------------
void ofApp::audioOut(float * output, int bufferSize, int nChannels) {
for (int i = 0; i < bufferSize; i++) {
double mySound = myOsc.sinewave(200);

	output [i * nChannels] = mySound;
	output [i * nChannels + 1] = mySound;
}

}

//--------------------------------------------------------------
void ofApp::gotMessage(ofMessage msg){

}

//--------------------------------------------------------------
void ofApp::dragEvent(ofDragInfo dragInfo){

}

Am I missing something about turning my soundboard on??

I am not 100% sure what happened there, I did not have to do any manual linking, once I used the project generator it found all the files I needed automatically.

As for no audio, I did not test all the examples for emitting sound. But this addon uses soundstream and I am guessing the sound card you want to use is not the one being selected by the system.

Take a look at the audioOutputExample in the openframeworks examples, in the setup there are some options to list all the audio hardware connected to your system and then select the one you want to use:

soundStream.printDeviceList();

ofSoundStreamSettings settings;

// if you want to set the device id to be different than the default:

auto devices = soundStream.getDeviceList();
settings.setOutDevice(devices[2]);
settings.setOutListener( this);
settings.sampleRate = sampleRate;
settings.numOutputChannels = 2;
settings.numInputChannels = 0;
settings.bufferSize = bufferSize;

soundStream.setup(settings);

This will print a list of all the audio devices to the console with their ID’s, you can then try to select the soundcard from the list by changing the number in this line:

settings.setOutDevice(devices[2]);

To match the number of you sound card output listed in the console.

Try to get things working with the of audioOutputExample first and then you can use the same settings structure inside the app you are trying to compile.