Sometimes unable to load custom plugin
Posted: Mon Mar 14, 2016 7:25 am
I've recently developed a small plugin on Windows using the Codelite 9.1 release repo, TDM 4.9.2_64-bit, and wxWidgets 3.1. Everything builds and all works fine if I use the update.bat batch file to copy my binaries to the CodeLite install directory. If I install CodeLite 9.1 fresh and copy only the plugin, then I get an error "Failed to load plugin's dll" which appears to be a wxDynamicLibrary error.
I've used the following build command to build wxWidgets:
mingw32-make -j8 -f Makefile.gcc SHARED=1 UNICODE=1 BUILD=release VENDOR=cl CXXFLAGS="-fno-keep-inline-dllexport -std=c++11" MONOLITHIC=1
Any ideas how I can load my plugin into CodeLite 9.1 without having to copy everything?
I've used the following build command to build wxWidgets:
mingw32-make -j8 -f Makefile.gcc SHARED=1 UNICODE=1 BUILD=release VENDOR=cl CXXFLAGS="-fno-keep-inline-dllexport -std=c++11" MONOLITHIC=1
Any ideas how I can load my plugin into CodeLite 9.1 without having to copy everything?