Re: C++ error. undefined type 'Project'

Date : Thu, 14 Jul 2005 17:07:23 +0100
To : XSI(at)Softimage.COM
From : Alan Jones <skyphyr(at)gmail.com>
Subject : Re: C++ error. undefined type 'Project'
Thanks Andrew - I was sure I'd missed something and that was it.

Cheers,

Alan.

On 7/14/05, Andrew Skowronski <askowron(at)softimage.com> wrote:
> To keep compiler speed very fast C++ API requires that you actually include
> the header files for the particular objects that you are using.
> 
> So I think you just need to include "xsi_project.h"
> 
> -Andrew
> 
> -----Original Message-----
> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf
> Of Alan Jones
> Posted At: Thursday, July 14, 2005 11:41 AM
> Posted To: xsi
> Conversation: C++ error. undefined type 'Project'
> Subject: C++ error. undefined type 'Project'
> 
> 
> Hi All,
> 
> Any ideas why I'd be getting this error?
> 
> error C2027: use of undefined type 'Project'
>         c:\softimage\xsi_4.2\xsisdk\include\xsi_application.h(30) :
> see declaration of 'Project'
> 
> All I'm trying to do is
>         XSI::Application app;
>         XSI::Property PlayControl =
> app.GetActiveProject().GetProperties().GetItem(L"Play Control");
> 
>         float start = PlayControl.GetParameterValue(L"in");
>         float end = PlayControl.GetParameterValue(L"out");
> 
> but it seems to think (and from reading the .h it looks true enough)
> that Project isn't defined, only declared.
> 
> Is there something I've missed in my includes or setup?
> 
> Cheers,
> 
> Alan.
> 
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
> 
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
>

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.