WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Plugin Development with gcc ? (https://forum.worldviz.com/showthread.php?t=1091)

djdesmangles 05-19-2007 09:48 AM

Plugin Development with gcc ?
 
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.


All times are GMT -7. The time now is 01:19 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC