WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-19-2007, 09:48 AM
djdesmangles djdesmangles is offline
Member
 
Join Date: Nov 2006
Posts: 88
Question 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.
Reply With Quote
  #2  
Old 05-21-2007, 10:57 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:14 AM.


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