PDA

View Full Version : Plugin Development with gcc ?


djdesmangles
05-19-2007, 09:48 AM
Hello Wizards,

Must I use Microsoft Visual C++ 2003 to compile my plugins ? Can I use Devcpp (gnu gcc compiler) instead ?

Thanks a lot,

viz.Forever,
D.

farshizzo
05-21-2007, 10:57 AM
Hi,

Both Python and Vizard are compiled using Visual Studio 2003, which means they both link to the 2003 runtime library. You will probably be able to create a Python plugin without any problem, since the API interface is mostly in pure C. However, creating a Vizard plugin might not work. Vizard uses OpenSceneGraph, which relies heavily on the C++ Standard Template Library (STL). Mixing two different runtime libraries will probably result in application errors or crashes.

I did a quick search and found the following site:
http://www.develer.com/oss/GccWinBinaries
It seems to suggest that you can link to the Visual Studio 2003 runtime library with gcc. I don't have any experience using DevCpp, but if this is possible then it might work.