mcaceresb / stata-honestdid

Robust inference in difference-in-differences and event study designs (Stata version of the R package of the same name)
79 stars 18 forks source link

Failed to load OSQP plugin #12

Open mvshivaani opened 1 year ago

mvshivaani commented 1 year ago

Thanks for this great package! Using Windows10 and Stata 14.2, I followed all the steps using Cygwin to install honestdid. But I am still getting error 'Failed to load OSQP plugin' on using honestdid command in stata.

Please let me know if you need any other details.

Many thanks,

mcaceresb commented 1 year ago

@mvshivaani What is your CPU?

mvshivaani commented 1 year ago

It is intel CORE i7

mcaceresb commented 1 year ago

@mvshivaani Can you show me a log or a screenshot of the terminal output when you compile the plugin via Cygwin?

mvshivaani commented 1 year ago

Cygwin terminal says plugin compiled successfully:

Screenshot 2023-02-19 181405

Then in Stata: Screenshot 2023-02-19 181942

mcaceresb commented 1 year ago

What happens when you run this from src/build?

cap program drop honestosqp_plugin
cap program drop honestecos_plugin
program honestecos_plugin, plugin using("honestecos_windows.plugin")
program honestosqp_plugin, plugin using("honestosqp_windows.plugin")
mvshivaani commented 1 year ago

image

mcaceresb commented 1 year ago

@mvshivaani Can we just check the compilation is working? Please check out branch issue12 and from a Cygwin terminal run

cd stata-honestdid/src/issues/gh12
make

Then run test.do and LMK if it runs.

mcaceresb commented 1 year ago

@mvshivaani Just following up; LMK if you were able to debug. Thanks!