You don't have to change the header unless you need to use the class
declared in it. Instead, add this line before including the FTK:
#define _FXOPERATORCONNECTION_H
which effectively forces the contents of that header to be discarded...
Wessam Bahnassi
Microsoft DirectX MVP,
Programmer
Electronic Arts
--
In|Structurez Arabic Gamedev Community
www.instructurez.com
> -----Original Message-----
> From: owner-3dgames(at)Softimage.COM [mailto:owner-3dgames(at)Softimage.COM] On
> Behalf Of Andi "Debug" Ireland
> Sent: Saturday, August 26, 2006 3:29 PM
> To: 3dgames(at)Softimage.COM
> Subject: FTK 3.6.3 + VS 2005 compile error
>
> After muting the millions of warnings that the XSI FTK produces in
> Visual Studio 2005
>
> #pragma warning( disable: 4100 4244 4511 4505 4005 4996 )
> #include <SemanticLayer.h>
> #include <SIILPICFileDriver.h>
> #pragma warning( default: 4100 4244 4511 4505 4005 4996 )
>
> i was left with one error, is there a workaround for the following
> error, i did not want to wade into the SDK's headers and change anything
> with out an idea if it would damage things.
>
>
>
>
> ------ Build started: Project: Engyne, Configuration: Debug Win32 ------
> Compiling...
> pch.cpp
> c:\program
> files\softimage\xsiftk_3.6.3\export\h\ftk\FXNodeConnection.h(35) : error
> C2248: 'CSLScene::XSIFXOperatorCallback' : cannot access protected
> member declared in class 'CSLScene'
> c:\program
> files\softimage\xsiftk_3.6.3\export\h\ftk\Scene.h(641) : see declaration
> of 'CSLScene::XSIFXOperatorCallback'
> c:\program
> files\softimage\xsiftk_3.6.3\export\h\ftk\Scene.h(210) : see declaration
> of 'CSLScene'
> Creating browse information file...
> Microsoft Browse Information Maintenance Utility Version 8.00.50727
> Copyright (C) Microsoft Corporation. All rights reserved.
> Build Time 0:18
> Build log was saved at "file://c:\Documents and Settings\User\My
> Documents\Visual Studio 2005\Projects\Engyne\Obj\Debug\BuildLog.htm"
> Engyne - 1 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
> ==========
>
>
>
> Debug
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe 3dgames
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe 3dgames