You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
radical-dev
Posts: 45 Joined: Thu Apr 24, 2008 7:54 pm
Location: Wickede, Germany
Post
by radical-dev » Wed Oct 03, 2012 10:55 am
Hi all,
i've a problem with compiling the engine with the flag _IRR_COMPILE_WITH_CG_ enabled:
Code: Select all
CD3D9Driver.cpp(3204): error C2259: 'irr::video::CD3D9CgMaterialRenderer': Instanz von abstrakter Klasse kann nicht erstellt werden
1> aufgrund folgender Member:
1> "bool irr::video::IMaterialRendererServices::setVertexShaderConstant(const irr::c8 *,const bool *,int)": ist abstrakt
1> D:\Projektordner\irrlicht-trunk\include\IMaterialRendererServices.h(69): Siehe Deklaration von 'irr::video::IMaterialRendererServices::setVertexShaderConstant'
1> "bool irr::video::IMaterialRendererServices::setPixelShaderConstant(const irr::c8 *,const bool *,int)": ist abstrakt
1> D:\Projektordner\irrlicht-trunk\include\IMaterialRendererServices.h(93): Siehe Deklaration von 'irr::video::IMaterialRendererServices::setPixelShaderConstant'
I'm using DX SDK Jun 2010 and Cg Toolkit 3.1 (same error at 3.0). Am i missing anything?
Thx in advance
radical
EDIT: Using latest revision from SVN
Nadro
Posts: 1648 Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland
Post
by Nadro » Wed Oct 03, 2012 1:34 pm
This is an engine bug. Thanks for report. I'll fix it today.
radical-dev
Posts: 45 Joined: Thu Apr 24, 2008 7:54 pm
Location: Wickede, Germany
Post
by radical-dev » Wed Oct 03, 2012 3:48 pm
Ah OK - thought i missed sth
EDIT: Happens with OGL-Driver too
Nadro
Posts: 1648 Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland
Post
by Nadro » Wed Oct 03, 2012 6:26 pm
I fixed this problem. Check the latest trunk. Thanks again for a report.
radical-dev
Posts: 45 Joined: Thu Apr 24, 2008 7:54 pm
Location: Wickede, Germany
Post
by radical-dev » Wed Oct 03, 2012 8:24 pm
Works like a charm now
Thx for fixing it so fast!
radical