User forums > Help
Custom plugin not using wx31
Aronimo:
I'm trying to compile a custom plugin to wxsmith, the only problem is that it only compiles in default mode, and this mode simply won't let me install the plugin. When I created the project for the plugin I choose to set its wx version to 31, but it never looks for this library, instead it looks for 28 or 30. Tomorrow I'll test with the 30 libraries, but is there a workaround with 31? I ve notice about a thread in the forums (https://forums.codeblocks.org/index.php?topic=24347.0) discussing the same problem, but I couldnt understand what I should do. If i wish to compile my plugin using 30 i must recompile cb in this version as well?
BlueHazzard:
Probably the plugin code generation is not up to date for wx31...
You can manualy fix this, by replacing 30 with 31 in the project file
Can you share your project file?
Aronimo:
How do I manually alter this? Here is the file:
BlueHazzard:
You have to compile the "default" target
What operating system are you using?
can you post a build log.
I will look into the script wizard script and fix it... But this can take some time...
Aronimo:
I use a Windows 10. I always have compiled it to default, but trying to install as a plugin won't work. I compiled it alone, as shown in the wxsmith tutorials.
--- Code: ---Target is up to date.
Running target post-build steps
zip -j9 MyChart.zip manifest.xml
zip -j9 MyChart.cbplugin MyChart.dll MyChart.zip
adding: manifest.xml (164 bytes security) (deflated 53%)
updating: MyChart.dll (164 bytes security)
(deflated 70%)
updating: MyChart.zip (164 bytes security) (deflated 8%)
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version