math2d plugin can't be found

Getting this error when trying to run simulator on a project my friend made using math2d…

Module ‘plugin_math2d’ not found:

no field package.preload[‘plugin_math2d’]

no file ‘/Users/Austin/Library/Application Support/Corona/Simulator/Plugins/plugin_math2d.lua’

no file ‘/Users/Austin/Documents/Avoid/plugin_math2d.lua’

no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin_math2d.lua’

no file ‘/Users/Austin/Library/Application Support/Corona/Simulator/Plugins/plugin_math2d.dylib’

no file ‘./plugin_math2d.dylib’

no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin_math2d.dylib’

Hi there,

I ran into this the other day - have you activated their plug-in for your Corona account?

If you go to the Math2D page, and the plug-in to your cart, you’ll be able to activate the plug-in, then you should be able to include it in your project and run it successfully.

Based on the error messages you copied into your post, it looks like you might be requiring the plugin as “plugin_math2d” - if that’s the case, then make sure you are requiring it 

local math2d = require "plugin.math2d" -- replace underscore(\_) with period(.)

And double-check the documentation at http://roaminggamer.com/math2d/ to make sure it’s being utilized correctly. Good luck!

Hi there,

I ran into this the other day - have you activated their plug-in for your Corona account?

If you go to the Math2D page, and the plug-in to your cart, you’ll be able to activate the plug-in, then you should be able to include it in your project and run it successfully.

Based on the error messages you copied into your post, it looks like you might be requiring the plugin as “plugin_math2d” - if that’s the case, then make sure you are requiring it 

local math2d = require "plugin.math2d" -- replace underscore(\_) with period(.)

And double-check the documentation at http://roaminggamer.com/math2d/ to make sure it’s being utilized correctly. Good luck!