error

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
ErUs
Posts: 165
Joined: Thu Oct 07, 2004 6:13 pm

error

Post by ErUs »

when i try and have

Code: Select all

IVideoDriver *driver;
as a member of a __gc class i get these errors:

Code: Select all

error C3377: 'Irrlicht::Video::IVideoDriver::.ctor' : cannot import method - a parameter type or the return type is inaccessible

error C3635: 'irr.video::IVideoDriver': undefined native type used in 'Irrlicht::Video::IVideoDriver'; imported native types must be defined in the importing source code
THIS IS IN C++ .net BTW


namespaces are correct
im #using irrlicht


any idea why im getting these errors? :(
ErUs
Posts: 165
Joined: Thu Oct 07, 2004 6:13 pm

Post by ErUs »

Code: Select all

device->get_VideoDriver()->BeginScene( true, true, Color( 255, 0, 0, 0 );
device->get_VideoDriver()->EndScene();
also returns the same errors. :/

is C++ .net not able to use the Irrlicht.NET.dll ?

this is a pain...
ErUs
Posts: 165
Joined: Thu Oct 07, 2004 6:13 pm

Post by ErUs »

gently caress it, im re-writing without .net :P
Locked