JRowe Posted October 7, 2009 Share Posted October 7, 2009 (edited) I wanted to learn how to use gcc/mingw on my system and successfully built the plug-in sdk example. I was wondering if there was anything wrong with using mingw for plug-ins, such as there being some sort of system incompatibility, etc. For those interested, install mingw, use the following to set your path (adapt if directory is different) set Path=c:\MinGw\bin;%Path% put the example.c in the au3_plugin_sdk directory, then use the following commands to build the dll in the same directory: gcc -c -DBUILD_DLL au3plugin.c gcc -c -DBUILD_DLL example.c gcc -Wall -shared -o example.dll example.o au3plugin.o I've read that mingw uses its own windows header, but I have no idea if that means conflict with AutoIt or if that fact is relatively meaningless in this context. Also, is there anything wrong with the way I built the plugin dll? Edited October 7, 2009 by JRowe [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
Administrators Jon Posted October 7, 2009 Administrators Share Posted October 7, 2009 It should be fine. I recall doing some testing with the plugins specially on mingw. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
JRowe Posted October 7, 2009 Author Share Posted October 7, 2009 Thank you I'm finding that the process is much less mystifying when I have to explicitly go through each .c file and compile the .o and then include it by hand to get my dll. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now